Files
Add Label to File
Changed onAdd a label to a File.
Example CURL:
curl -X POST 'https://api.lilt.com/v2/files/labels?key=API_KEY&id=1'
--header 'Content-Type: application/json' \
--data-raw '{
"name": "label_name"
}'
post/v2/files/labels
Request
- Base URLhttps://api.lilt.com
- URLhttps://api.lilt.com/v2/files/labels
- AuthHTTP basic
Query parameters
idstring required
A File id.
Request body
Example request
{
"name": "label_name"
}Response
A success response.
Changes
- breaking
added the new required
queryrequest parameterid - breaking
added required request body
- info
api operation id
addLabelwas added - info
added the non-success response with the status
- info
added the success response with the status
- breaking