Search documentation
karat

+

K

User Documentation ↗

Apply Action Batch

POST/api/v2/ontologies/{ontology}/actions/{action}/applyBatch

Applies multiple actions (of the same Action Type) using the given parameters. Changes to the Ontology are eventually consistent and may take some time to be visible.

Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not call Functions may receive a higher limit.

Note that notifications are not currently supported by this endpoint.

Third-party applications using this endpoint via OAuth2 must request the following operation scopes: api:ontologies-read api:ontologies-write.

Path parameters

ontology
string

The API name of the ontology. To find the API name, use the List ontologies endpoint or check the Ontology Manager.

action
string

The API name of the action to apply. To find the API name for your action, use the List action types endpoint or check the Ontology Manager.

Query parameters

artifactRepository
string
optional

The repository associated with a marketplace installation.

packageName
string
optional

The package name of the generated SDK.

Request body

BatchApplyActionRequestV2
object
Hide child attributes

Hide child attributes

options
object
optional
Show child attributes

Show child attributes

requests
list<BatchApplyActionRequestItem>
optional
Show child attributes

Show child attributes

Response body

BatchApplyActionResponseV2
object

Success response.

Hide child attributes

Hide child attributes

edits
union
optional
Show child attributes

Show child attributes

Examples

Request

Copied!
1 2 3 4 5 curl -X POST \ -H "Content-type: application/json" \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/ontologies/palantir/actions/rename-employee/applyBatch" \ -d '{"requests":[{"parameters":{"id":80060,"newName":"Anna Smith-Doe"}},{"parameters":{"id":80061,"newName":"Joe Bloggs"}}]}'

Response

Copied!
1 {}