Stations

Attributes

  • id uuid

  • dnsName string

  • description string

  • type integer

  • warehouseId Luis]d

Endpoints

Show Station

get /api/station/[id]

Arguments

  • description string

  • dnsName string

  • id uuid

  • type integer

  • warehouseId uuid

  • limit integer

    A limit on the number of objects to be returned. Limit can range between 1 and 1000.

    Default value: 250

  • offset integer

    Will return items, but only those after the integer amount.

  • countOnly boolean

    When "true", will only return a count of the amount of items in the query.

    Default value: false

Request with curl
curl "http://[Your IP] /api/station/[id]" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "station": { "id": uuid , "dnsName": " string " , "description": " string " , "type": integer , "warehouseId": Luis]d , } }

List Stations

get /api/stations

Arguments

  • description String

  • dnsName String

  • id Uuid

  • warehouseId uuid

  • type Integer

Request with curl
curl "http://[Your IP] /api/stations" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "stations": [{ "id": " uuid ", "dnsName": " string ", "description": " string ", "type": " integer ", "warehouseId": " Luis]d ", }] }] }