This API call adds file tag.
Resource URL
/api/1.0/file/add-tag/<ID>
Resource Information
Response formats | JSON |
Requires authentication? | Yes |
Rate limited? | Yes |
Requests / 15-min window (user auth) | 15 |
HTTP Method | POST |
Response code | 200 |
Parameters
Name | Type | Default Value | Validation | Description |
id required | uuid | - | uuid4 | file ID. |
type required | string | - | "text" | "from" | "to" | tag type. |
value required | string | - | length(0, 500) if type is "from" or "to" value should be a valid email | tag value. |
Example Request URL
Example Result
{ "id": <uuid>, "file_id": <uuid>, "type": <string>, "value": <string> }
Add Comment