Return a listing of assets

get/hardware

Request

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

Query parameters

limitinteger

Specify the number of results you wish to return. Defaults to 50, but we have it set to 2 by default so the API explorer doesn't scroll forever.

offsetinteger

Offset to use

searchstring

A text string to search the assets data for

order_numberstring

Return only assets associated with a specific order number

sortstring

Specify the column name you wish to sort by

orderstring

Specify the order (asc or desc) you wish to order by on your sort column

model_idinteger

Optionally restrict asset results to this asset model ID

category_idinteger

Optionally restrict asset results to this status label ID

manufacturer_idinteger

Optionally restrict asset results to this asset model ID

company_idinteger

Optionally restrict asset results to this company ID

location_idinteger

Optionally restrict asset results to this location ID

statusstring

Optionally restrict asset results to one of these status types: RTD, Deployed, Undeployable, Deleted, Archived, Requestable

status_idinteger

Optionally restrict asset results to this status label ID

assigned_tointeger
assigned_type'App\Models\Asset' | 'App\Models\Accessory' | 'App\Models\User'
filterstring json

Key value pair of the field you want to search on and the value, for example: {"name":"hello","asset_tag":"12345"}

Response

200

namestring required

Changes