Create Tag¶
This endpoint creates and returns the details of a tag.
Request¶
POST https://v2.api.uberflip.com/tags
Body Parameters | Properties | Type | Description |
---|---|---|---|
name | String | The name of the tag | |
description | String | The description of the item |
Response¶
Body Parameters | Properties | Type | Description |
---|---|---|---|
id | Integer | The tag identifier | |
tag_group_id | Integer | The tag group identifier | |
name | String | The tag title | |
description | String | The tag description | |
items_count | String | The tag URL | |
created_at | Date | The tag created date | |
modified_at | Date | The tag last modified date |
Examples¶
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer [Token]" -d "{ \
\"name\": \"tagname\", \
\"description\": \"Tag Description\", \
} }" \
-i https://v2.api.uberflip.com/tags
Sample response:
HTTP/1.1 201 CREATED
Content-Type: application/json
{
"id": 123,
"tag_group_id": 5439,
"name": "tagname",
"description": "Tag Description",
"items_count": 1,
"created_at": "2017-06-21T09:49:28-0400",
"modified_at": "2017-06-21T09:49:28-0400"
}