Get Custom fields

GET /api/v1.0/fields

This endpoint provides list of all the custom fields in the project.

Query parameters

  • If project_id parameter is not passed it will return team level all the custom fields.

  • limit string

    No of records per page

  • offset string

    Record Offset

Responses

  • 200

    Success Response

    Hide response attributes Show response attributes array[object]
  • 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/fields
curl \
 -X GET https://openapi.niftypm.com/api/v1.0/fields \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": "string",
    "name": "string",
    "description": "string",
    "type": "string",
    "currency": "string",
    "tracking_type": "string",
    "cost_per_hour": 42.0,
    "associations": [
      "string"
    ],
    "hidden": [
      "string"
    ],
    "options": [
      {
        "id": "string",
        "value": "string",
        "color": "string"
      }
    ],
    "projects": [
      "string"
    ],
    "in_library": true
  }
]