There are four statuses for the content as follows:
The behavior of the API and the automatically assigned values for the content differ depending on each status.
Here is an explanation of each status.
When the status is published, you can retrieve the content's details via the API.
The status code will be 200.
If the status is "End of Publication," you cannot retrieve the content via the API.
The status code will be 404.
However, if the API key has been granted the permission for "Retrieve All End of Publication Content", you can retrieve the content.
When the status is drafting, the content cannot be retrieved via the API.
The status code will be 404.
However, if you request with the draftKey or grant the API key the permission for Retrieve All Draft Content, you can retrieve the content.
When the status is both published and in draft, you can only retrieve the content of published items via the API.
The status code will be 200.
However, if you request with the draftKey or if your API key has the Retrieve All Drafts permission, you can retrieve the content of draft items.