Add Root Category
Endpoint for adding categories in root.
Request
URI
POST
https://{api_host}/vco/api/categories
COPY
Request Body
category-context
of type(s)
application/json
Optional
{
"type": "string",
"name": "string",
"description": "string"
}
Responses
200
successful operation
Returns
category
of type(s)
application/json
"category Object"
string
href
Optional
href
object
relations
Optional
relations
string
id
Optional
id
string
name
Optional
name
string
description
Optional
description
string
path
Optional
path
string
type
Optional
type
Possible values are :
ResourceElementCategory,
ConfigurationElementCategory,
WorkflowCategory,
ScriptModuleCategory,
201
The request is successful
Operation doesn't return any data structure
400
Category name must be specified
Operation doesn't return any data structure
401
User is not authorized
Operation doesn't return any data structure
404
Cannot find a category with the specified name
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vco/api/categories
Category Service Operations
GET
List Categories
POST
Add Root Category
GET
Get Category
POST
Add Child Category
DELETE
Delete Category
GET
Get Permissions For Object
POST
Insert Permissions For Object
DELETE
Delete Permissions For Object
GET
Get Permission Rule
PUT
Update Permission Rule
DELETE
Delete Permission Rule