Update a category
Update a category.
Authorizations:Token
Query Parameters
category_id required | stringResource identifier |
Request Body Schema:
The updated Category resource og_meta_tags_type | stringDefault: "A" Enum: "A" "C" Example: "A" |
og_meta_tags | string |
enabled | booleanDefault: true Example: true |
show_title | booleanDefault: true Example: true |
position | integer |
memberships | Array of strings |
parent | integer or nullExample: "null" |
clean_url | string |
name | string[1 .. 255] charactersExample: "Category name" |
description | stringExample: "Description" |
meta_tags | string |
meta_description_type | stringDefault: "A" Enum: "A" "C" Example: "A" |
meta_description | string |
meta_title | string |
Responses
200Category resource updated
Response schema:
Category resource updated og_meta_tags | string | ||||||||||
id | integer | ||||||||||
enabled | boolean | ||||||||||
show_title | boolean | ||||||||||
position | integer | ||||||||||
memberships | Array of objects | ||||||||||
Array
| |||||||||||
parent | integer or null | ||||||||||
clean_url | string | ||||||||||
name | string | ||||||||||
description | string | ||||||||||
meta_tags | string | ||||||||||
meta_description | string | ||||||||||
meta_title | string | ||||||||||
icon | object or null | ||||||||||
| |||||||||||
banner | object or null | ||||||||||
|
400Invalid input
404Resource not found
422Unprocessable entity