v1
Add labels to a Niche
Changed onPuts the Niche in the given labels, from GET /v1/labels. A delta: labels you do not list are left as they are, and so are assignee tags. Ids already attached are counted in added / alreadyPresent, never errors.
All or nothing: if any id is not a label of your organization the call fails with 404 and unknownIds, and nothing changes. The acting member needs Manage access to the Niche; x-api-key calls act as the owner.
Rate limited to 2 requests per minute per Niche.
post/v1/niches/{nicheId}/labels
Request
- Base URLhttps://api.datadive.tools
- URLhttps://api.datadive.tools/v1/niches/{nicheId}/labels
- AuthAPI key in header x-api-key
Path parameters
nicheIdstring required
The unique identifier of the Niche
Request body
Example request
{
"labelIds": [
7,
9
]
}Response
Example response
{
"data": {
"added": 1,
"alreadyPresent": 1
}
}Changes
- breaking
removed the media type
application/jsonfor the response with the status
- breaking
- info
endpoint added
- info