v4
latestOpenAPI 3.0.22026-07-3188146256.6 KBEntities
applyChangeset
Applies the proposed value from a pending changeset to the entity attribute and removes the changeset. Used for human approval of pending changes.
post/v1/entity/{slug}/{id}/changesets/{attribute}:apply
Path parameters
slugstring required
URL-friendly identifier for the entity schema
Example:contact
Entity Type
idstring uuid required
Entity id
attributestring required
Attribute name of the changeset to apply
Response
Changeset applied successfully — returns updated entity
Example response
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"_org": "123",
"_owners": [
{
"org_id": "123",
"user_id": "123"
}
],
"_schema": "contact",
"_tags": [
"example",
"mock"
],
"_created_at": "2021-02-09T12:41:43.662Z",
"_updated_at": "2021-02-09T12:41:43.662Z",
"_acl": {
"view": [
"org:456",
"org:789"
],
"edit": [
"org:456"
],
"delete": [
"org:456"
]
},
"_manifest": [
"123e4567-e89b-12d3-a456-426614174000"
]
}