GET v1/organisations/{id}/tags
200 OK | Successfully listed the tags |
---|---|
403 Not Authorised | You aren't allowed to list the tags (not in that organisation) |
An array of tags. See "Get a tag" for the fields. Note that there won't be a number_of_articles
or number_of_images
field, which is only available when getting a particular tag by ID.
POST v1/organisations/{id}/tags
field | required | type | description |
---|---|---|---|
name | yes | string | The tag name |
description | no | string | The tag description |
{
"name": "Sport",
"description": "All the sport at the College"
}
201 Created | The tag was created successfully |
---|---|
403 Not Authorised | You aren't allowed to create the tag |
The newly created tag object. See "Get a tag" for the fields.