v1

latestOpenAPI 3.0.02026-08-06194226589.8 KB
Contents

Change status of a content item.

You can read the generated documentation for your app at /api/content/{appName}/docs.

put/api/content/{app}/{schema}/{id}/status

Path parameters

appstring required

The name of the app.

schemastring required

The name of the schema.

idstring required

The ID of the content item to change.

Headers

X-Unpublishedboolean

Return unpublished content items.

X-Languagesstring

The list of languages to resolve (comma-separated).

Request body

statusstring required

The new status.

dueTimestring date-time nullable

The due time.

checkReferrersboolean

True to check referrers of this content.

Response

Content status changed.

_linksobject required

The links.

idstring required

The if of the content item.

createdBystring required

The user that has created the content item.

lastModifiedBystring required

The user that has updated the content item.

{"stackTrail":"components:schemas:ContentDto:allOf:properties:data","oasType":"schema","type":"unknown","description":"The data of the content item."}
referenceDataContentData
createdstring date-time required

The date and time when the content item has been created.

lastModifiedstring date-time required

The date and time when the content item has been modified last.

statusstring required

The status of the content.

newStatusstring nullable

The new status of the content.

statusColorstring required

The color of the status.

newStatusColorstring nullable

The color of the new status.

editTokenstring nullable

The UI token.

schemaIdstring required

The ID of the schema.

schemaNamestring nullable

The name of the schema.

schemaDisplayNamestring nullable

The display name of the schema.

isDeletedboolean required

Indicates whether the content is deleted.

versioninteger required

The version of the content.