Authorizations
Your unique Avido API key
Path Parameters
The unique identifier of the document
Example:
"123e4567-e89b-12d3-a456-426614174000"
The version number
Required range:
x > 0
Example:
2
Body
application/json
Fields to update in the document version
Request body for updating a specific document version. Only version-specific fields can be updated.
Updated title for the version
Example:
"Updated API Documentation v2"
Updated content for the version
Example:
"This updated document describes the API endpoints..."
Updated metadata for the version
Updated array of original sentences from the source
Example:
[
"This is the updated first sentence.",
"This is the updated second sentence."
]
Updated status for the version Status of the document. Valid options: DRAFT, REVIEW, APPROVED, ARCHIVED.
Available options:
DRAFT
, REVIEW
, APPROVED
, ARCHIVED
Example:
"APPROVED"
Response
Document version updated successfully