GET /v2/taggings.json
will return taggings.
[
{
"id": 4,
"feed_id": 1,
"name": "Tech"
},
{
"id": 5,
"feed_id": 2,
"name": "News"
}
]
Status Codes
200 OK
will be returned
GET /v2/taggings/4.json
will return the tagging with an id of4
{
"id": 4,
"feed_id": 1,
"name": "Tech"
}
Status Codes
200 OK
will be returned if found403 Forbidden
will be returned if the user does not own this tagging
POST /v2/taggings.json
will create a new tagging
Request
{
"feed_id": 1,
"name": "Design"
}
Parameter | Required |
---|---|
feed_id: number |
true |
name: string |
true |
Status Codes
201 Created
will be returned if tagging is successful, theLocation
header will have the URL to the newly created tagging302 Found
will be returned if tagging exists, theLocation
header will have the URL to the tagging
DELETE /v2/taggings/4.json
will delete the tagging with and id of 4
Status Codes
204 No Content
will be returned if the request was successful403 Forbidden
will be returned if the user does not own this tagging