Appearance
OpenAPI Spec
List UploadCategories
GET
/v1/upload-categories
List UploadCategories
Authorizations
apiKey
TypeHTTP (bearer)
Parameters
Query Parameters
page
Typenumber
Minimum
0
Default
0
size
Typenumber
Minimum
1
Maximum
20
Default
10
deactivatedAt
Responses
List response
application/json
{
"page": 0,
"pages": 0,
"size": 10,
"items": [
{
"id": 0,
"name": "string",
"color": "string",
"order": 1,
"deactivatedAt": "string",
"roleIds": [
0
],
"additionalProperties": "string"
}
]
}
Create a new UploadCategory
POST
/v1/upload-categories
Create a new UploadCategory
Authorizations
apiKey
TypeHTTP (bearer)
Request Body
application/json
{
"name": "string",
"color": "string",
"order": 1,
"roleIds": [
0
]
}
Responses
UploadCategory found
application/json
{
"id": 0,
"name": "string",
"color": "string",
"order": 1,
"deactivatedAt": "string",
"roleIds": [
0
],
"additionalProperties": "string"
}
Get a UploadCategory
GET
/v1/upload-categories/{uploadCategoryId}
Get a UploadCategory by ID
Authorizations
apiKey
TypeHTTP (bearer)
Parameters
Path Parameters
uploadCategoryId*
Typeinteger
RequiredFormat
"int32"
Responses
UploadCategory found
application/json
{
"id": 0,
"name": "string",
"color": "string",
"order": 1,
"deactivatedAt": "string",
"roleIds": [
0
],
"additionalProperties": "string"
}
Update a UploadCategory
PATCH
/v1/upload-categories/{uploadCategoryId}
Update a UploadCategory by ID
Authorizations
apiKey
TypeHTTP (bearer)
Parameters
Path Parameters
uploadCategoryId*
Typeinteger
RequiredFormat
"int32"
Request Body
application/json
{
"name": "string",
"color": "string",
"order": 1,
"deactivatedAt": "string",
"roleIds": [
0
]
}
Responses
UploadCategory found
application/json
{
"id": 0,
"name": "string",
"color": "string",
"order": 1,
"deactivatedAt": "string",
"roleIds": [
0
],
"additionalProperties": "string"
}