Categories
Upload a category file
Changed onUploads a file for the category identified by the specified slug.
post/category/{category_slug}/upload
Request
- Base URLhttps://api.us.cr4ce.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept'application/vnd.Creative Force.v2.3+json' | 'application/vnd.Creative Force.v2.3+xml' required
Defines the response type.
Request body
Example request
{
"filename": "logo.png",
"data": "aGVsbG8gd29ybGQ="
}Response
Category file uploaded.
Example response
{
"filename": "example.pdf",
"token": "AbCdEfGhIjKlMnOp",
"link": "https://api.au.cr4ce.com/file/AbCdEfGhIjKlMnOp"
}Changes
- info
api tag
Categoriesadded - info
api tag
Categoryremoved
- info
- info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status
- info