Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please refer to this document to run the command (Only Step 3 and Step 4 needs to be run) https://github.com/manzarul/sunbird.org-docs/blob/e6caf3226dbe8173c93becf6679529ba850c3900/developer-docs/configuring_sunbird/elasticsearch_static_mapping_course_batch.md


User course sync:

Please run this command also after previous step

curl -X POST \
  {{lms-base-url}}/api/data/v1/index/sync \
  -H 'accept: application/json' \
  -H 'authorization: Bearer {{api-key}}' \
  -H 'content-type: application/json' \
  -d '{"request":{"objectType":"user_course","objectIds":[]}}'