Applies an action using the given parameters.
Changes to objects or links stored in Object Storage V1 are eventually consistent and may take some time to be visible. Edits to objects or links in Object Storage V2 will be visible immediately after the action completes.
Note that a 200 HTTP status code only indicates that the request was received and processed by the server. See the validation result in the response body to determine if the action was applied successfully.
Note that parameter default values 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.
stringThe API name or RID of the Ontology. To find the API name or RID, use the List Ontologies endpoint or check the Ontology Manager.
stringThe 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.
stringThe package rid of the generated SDK.
stringThe version of the generated SDK.
stringThe Foundry branch to apply the action against. If not specified, the default branch is used. Branches are an experimental feature and not all workflows are supported.
objectobjectmap<ParameterId, DataValue>objectSuccess response.
objectunion1
2
3
4
5
curl -X POST \
\t-H "Content-type: application/json" \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/actions/rename-employee/apply?branch=ri.branch..branch.d827184f-ee0e-4351-8b70-efbe51e07252" \
-d '{"parameters":{"id":80060,"newName":"Anna Smith-Doe"}}'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"validation": {
"result": "VALID"
},
"parameters": {
"id": {
"evaluatedConstraints": [],
"result": "VALID",
"required": true
},
"newName": {
"evaluatedConstraints": [],
"result": "VALID",
"required": true
}
}
}