Tags
API ▸ EndpointsOverview
Tags are added to items and are a great way to organize items across many collections.
List all tags
Endpoint
GET https://api.dropmark.com/v1/tags
Response
Status: 200 OK
[
{
"items_total_count": 1,
"name": "clever"
}
]
Create a tag
Endpoint
POST https://api.dropmark.com/v1/items/:item_id/tags
Input
Name | Type | Desc |
---|---|---|
name |
String |
The tag name (required) |
Example
{
"name": "clever"
}
Response
Status: 201 Created
{
"id": 100,
"name": "clever"
}
Delete a tag
Endpoint
DELETE https://api.dropmark.com/v1/tags/:tag_id
Response
Status: 200 OK
{
"code": "deleted",
"message": "Tag deleted"
}