Make changes to documents
PATCH /v1/documents/{id}
PATCH
/v1/documents/{id}
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
The document slug
Example
cybergov-charterRequest Body required
Section titled “Request Body required ”Array
Defines some form of selection/edit that a user has made for a document item.
object
One of:
Contains the id of the selected option
object
node_type
required
string
value
required
Contains the id of the selected option
string
object
node_type
required
string
value
required
string
node_id
required
The id of the document item that was changed. this is the PK of the doc_item_reference table.
string
Responses
Section titled “ Responses ”Documents updated
object
created
required
id
required
integer format: int32
proposal
required
integer format: int32
updated_date
string | null format: date-time