Get Tags

GET /api/v1.0/labels

This endpoint fetch list of all the tag based on given query parameters.

Query parameters

  • limit number

    No of records per page

  • offset number

    Record Offset

  • type string

    Label Type

    Values are others or member.

Responses

  • 200

    Success Response

    Hide response attributes Show response attributes object
    • hasMore boolean

      True if there are more record else false

      Default value is false.

    • items array[object] Required

      List of Label records

      Hide items attributes Show items attributes
  • 401

    The client request has not been completed because it lacks valid authentication credentials for the requested resource.

  • 403

    The client does not have access rights to the content.

  • 405

    The request method is known by the server but is not supported by the target resource.

GET /api/v1.0/labels
curl \
 -X GET https://openapi.niftypm.com/api/v1.0/labels \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "hasMore": false,
  "items": [
    {
      "id": "string",
      "name": "string",
      "color": "string",
      "type": "string",
      "created_by": "string",
      "team": "string",
      "default": "string"
    }
  ]
}
Response examples (200)
{
  "hasMore": false,
  "items": [
    {
      "id": "string",
      "name": "string",
      "color": "string",
      "type": "string",
      "created_by": "string",
      "team": "string",
      "default": "string"
    }
  ]
}