Retrieve a list of status labels

get/statuslabels

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/statuslabels
  • Auth
    none required

Query parameters

namestring
limitinteger

Number of records to return

offsetinteger

Offset to use when retrieving results (useful in pagination)

searchstring

String to search on

sortstring

Field to order by

orderstring

Sort order (asc or desc)

status_type'deployable' | 'undeployable' | 'pending' | 'archived'

Response

200

totalinteger

Example response

{
  "total": 5,
  "rows": [
    {
      "id": 8,
      "name": "API TEST",
      "type": "deployable",
      "created_at": {
        "datetime": "2017-11-22 10:37:07",
        "formatted": "Wed Nov 22, 2017 10:37AM"
      },
      "updated_at": {
        "datetime": "2017-11-22 10:37:07",
        "formatted": "Wed Nov 22, 2017 10:37AM"
      },
      "available_actions": {
        "update": true,
        "delete": true
      }
    }
  ]
}

Changes