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

  • warehouseId uuid

  • type Integer

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", }] }] }