Get Category Metadata Schema
Get the schema definition for category metadata fields.
Endpoint
GET /v1/workspaces/{workspaceId}/category/metadata-schemaRequest
curl -X GET \
'https://api.sharely.ai/v1/workspaces/{workspaceId}/category/metadata-schema' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'organizationid: your-organization-id'Response
{
"schema": {
"type": "object",
"properties": {
"color": {
"type": "string",
"description": "Category color for UI display"
},
"icon": {
"type": "string",
"description": "Icon identifier"
},
"displayOrder": {
"type": "number",
"description": "Sort order"
}
}
}
}