You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to find a way to temporarily unpublish content and re-publish it later when needed.
To unpublish the content, we are using the following Retire API: /content/v3/retire/{content_id}
This sets the content status to Retired, which works.
However, once the content is retired, we are unable to bring it back to the "Draft" or "Live" state using the Update API.
We tried using: /content/v3/update/{content_id}
But it does not allow updating a retired content or changing its status back to Draft or Live.
Questions:
Is there any way to revert a retired content back to an editable or publishable state?
If not, what is the recommended approach to temporarily unpublish content (i.e., hide from users) and bring it back later?
Is there an alternative workflow we should follow for this use case?
Any help or guidance would be greatly appreciated.
Is there any way to revert a retired content back to an editable or publishable state? Ans: This is currently not supported.
If not, what is the recommended approach to temporarily unpublish content (i.e., hide from users) and bring it back later? Ans: We do not have an unpublish API, but we do support an unlisted publish API. This functions similarly to a publish operation, but the content will not be visible to users through the Search API unless the status is explicitly set to unlisted. You can use this API to hide content temporarily.
Is there an alternative workflow we should follow for this use case? Ans: Please refer to the answer above.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
We are trying to find a way to temporarily unpublish content and re-publish it later when needed.
To unpublish the content, we are using the following Retire API: /content/v3/retire/{content_id}
This sets the content status to Retired, which works.
However, once the content is retired, we are unable to bring it back to the "Draft" or "Live" state using the Update API.
We tried using: /content/v3/update/{content_id}
But it does not allow updating a retired content or changing its status back to Draft or Live.
Questions:
Any help or guidance would be greatly appreciated.
cc: @pallakartheekreddy @aimansharief @vinod303 @coolbung @vinod303
Beta Was this translation helpful? Give feedback.
All reactions