VolundOS
Referência da APIOntologia

Editar objeto

Muda nome, ícone, valores (fundidos chave a chave), a mãe e o acesso. Exige nível de edição no objeto. Para o Sobre em markdown, use `PUT /v1/ontology/objects/{objectId}/about`. Exige o escopo ontology:write.

Atualizado em 27 de novembro de 2026
PATCH
/v1/ontology/objects/{objectId}

Authorization

chaveDeApi
AuthorizationBearer <token>

Chave de API da organização, criada nas configurações. Envie-a em Authorization: Bearer <sua chave>.

In: header

Path Parameters

objectId*string

Identificador do objeto.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/ontology/objects/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "object": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "type_id": "d9779ea4-ba95-4824-86d7-4f1ac083a564",    "name": "string",    "icon": "string",    "values": {},    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",    "external_id": "string",    "updated_at": "2019-08-24T14:15:22Z",    "level": 0,    "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",    "about": {},    "about_rev": 0,    "follows_type_access": true,    "general_access": "none",    "created_at": "2019-08-24T14:15:22Z",    "neighbors": [      {}    ],    "attachments": [      {        "drive_item_id": "aef3fd39-4bd9-4daf-a725-28ff1fa5d2e3",        "name": "string",        "kind": "string",        "mime_type": "string",        "restricted": true      }    ],    "guardian": {      "source": "object",      "agent": {        "type": "user",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "frequency": "daily",      "can_fix_fields": true,      "can_link": true,      "can_attach": true,      "questions_user": {        "type": "user",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "on_behalf_user": {        "type": "user",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "last_review_at": "2019-08-24T14:15:22Z",      "last_review_summary": "string"    },    "activity": [      {}    ]  }}