Skip to content

Make changes to documents

PATCH
/v1/documents/{id}
id
required
string

The document slug

Example
cybergov-charter
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
Allowed values: selected_option
value
required

Contains the id of the selected option

string
node_id
required

The id of the document item that was changed. this is the PK of the doc_item_reference table.

string

Documents updated

object
created
required

A common attribute of several structs that identifies a person and time where information is utilized in some capacity

object
by
One of:
null
date
required
string format: date-time
id
required
integer format: int32
proposal
required
integer format: int32
updated_date
string | null format: date-time