Lists the action types for the given Ontology.
Each page may be smaller than the requested page size. However, it is guaranteed that if there are more results available, at least one result will be present in the response.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:ontologies-read
.
string
The unique Resource Identifier (RID) of the Ontology that contains the action types. To look up your Ontology RID, please use the List ontologies endpoint or check the Ontology Manager.
integer
The desired size of the page to be returned. Defaults to 500. See page sizes for details.
string
The page token indicates where to start paging. This should be omitted from the first page's request.
To fetch the next page, clients should take the value from the nextPageToken
field of the previous response
and use it to populate the pageToken
field of the next request.
object
Success response.
string
The page token indicates where to start paging. This should be omitted from the first page's request.
To fetch the next page, clients should take the value from the nextPageToken
field of the previous response
and use it to populate the pageToken
field of the next request.
list<ActionType>
1
2
3
curl \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v1/ontologies/ri.ontology.main.ontology.c61d9ab5-2919-4127-a0a1-ac64c0ce6367/actionTypes"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"nextPageToken": "v1.QnVpbGQgdGhlIEZ1dHVyZTogaHR0cHM6Ly93d3cucGFsYW50aXIuY29tL2NhcmVlcnMvP2xldmVyLXNvdXJjZSU1YiU1ZD1BUElEb2NzI29wZW4tcG9zaXRpb25z",
"data": [
{
"apiName": "promote-employee",
"description": "Update an employee's title and compensation",
"parameters": {
"employeeId": {
"baseType": "Integer"
},
"newTitle": {
"baseType": "String"
},
"newCompensation": {
"baseType": "Decimal"
}
},
"rid": "ri.ontology.main.action-type.7ed72754-7491-428a-bb18-4d7296eb2167"
},
{
"apiName": "move-office",
"description": "Update an office's physical location",
"parameters": {
"officeId": {
"baseType": "String"
},
"newAddress": {
"description": "The office's new physical address (not necessarily shipping address)",
"baseType": "String"
},
"newCapacity": {
"description": "The maximum seated-at-desk capacity of the new office (maximum fire-safe capacity may be higher)",
"baseType": "Integer"
}
},
"rid": "ri.ontology.main.action-type.9f84017d-cf17-4fa8-84c3-8e01e5d594f2"
}
]
}