Solved

Best way to move all entires/assets into a release?

  • 20 September 2022
  • 3 replies
  • 45 views

Userlevel 3
Badge

Hi there,

 

We have a bunch of entries/assets (1000+) that we want to move into a release. We are launching from development/staging to our first prod launch. What is the best way to do this? Certainly its not one at a time adding to a release?

icon

Best answer by Sachin 21 September 2022, 08:33

View original

3 replies

Userlevel 2

Hi @Tyler , as of now you can add entries individually in a Release and there is no provision to add all at a time, however we would recommend you to perform this with the help of a script and by using our Add multiple items to a Release API call which will allow you to add a minimum of 25 entries at a time but this process can be re-iterated and you can add multiple items by creating multiple releases.

https://www.contentstack.com/docs/developers/apis/content-management-api/#add-multiple-items-to-a-release

Userlevel 3
Badge

@Sachin Is there a way I can add with references via one API call? Or do I have to add all entries and all asset uids?

Userlevel 2

Hi @Tyler ,

As of now, we do not support add with references and every entry and asset uids needs to be added in the release individually.

 

Regards,

Sachin.

Reply