Skip to content

How to bulk update the contents of an organisation? #213

Discussion options

You must be logged in to vote

@komalm We don't have a bulk update API to handle this process. Direct updates to the database will not reflect in ECAR until the contents are re-published.
Please follow the steps below to achieve this:

  1. Ensure none of the contents are in Draft status.
  2. Use the search API to find the list of content do_ids (identifiers).
  3. With the content do_ids, use the system update API to update the primary category and BMGS one by one. Consider writing a script (using Node.js) to automate this process.
  4. After successfully updating the metadata, publish the contents using the publish API.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@pallakartheekreddy
Comment options

Answer selected by nidhikachhawa24
@nidhikachhawa24
Comment options

@nidhikachhawa24
Comment options

@pallakartheekreddy
Comment options

@nidhikachhawa24
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants