Create a new object schema.
The object schema to create.
string
Requiredstring
Requiredstring
Returns the newly created object schema.
1
2
3
4
5
6
7
8
9
curl --request POST \
--url 'http://{baseurl}/rest/assets/1.0/objectschema/create' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"objectSchemaKey": "<string>",
"description": "<string>"
}'
1
2
3
4
5
6
7
8
9
10
11
12
{
"id": 2154,
"name": "<string>",
"objectSchemaKey": "<string>",
"status": "<string>",
"description": "<string>",
"created": "<string>",
"updated": "<string>",
"objectCount": 2154,
"archivedObjectCount": 2154,
"objectTypeCount": 2154
}
Get a single object schema.
string
RequiredReturns the object schema.
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/assets/1.0/objectschema/{id}' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
{
"id": 2154,
"name": "<string>",
"objectSchemaKey": "<string>",
"status": "<string>",
"description": "<string>",
"created": "<string>",
"updated": "<string>",
"objectCount": 2154,
"archivedObjectCount": 2154,
"objectTypeCount": 2154
}
Update an object schema.