Documents

Write a Flow document

The full write. This is the non-interactive substitute for the editor autosave, which is deliberately not on this API - it is the same ownership check and the same model.

put/v1/documents/{uuid}

Request

  • Base URL: https://contentmaschine.ai/api
  • URL: https://contentmaschine.ai/api/v1/documents/{uuid}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)

Path parameters

uuidstring uuid required

The document uuid, as returned when it was created or listed.

Request body

titlestring

New title.

contentstring

New content.

statusstring

New status.

Response

The updated document.

successboolean
timestampstring date-time

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.