This is the documentation for Dispatch API v0.2b, which is no longer actively maintained. For up-to-date documentation, see the latest version (v1.0).
Retrieve a depot
GET
The playground uses your live account
Requests are sent with your real API key, so creating, updating or deleting here changes your production data.
BasicAuthheader
AuthorizationBasic <token>Use the API key as the username and leave the password empty.
depotId*stringThe depot id
Match
^[a-zA-Z0-9---_]{1,50}$The requested depot
application/json- response
The requested depot
id*stringThe depot id, in the format depots/<id>
Match
^depots\/[a-zA-Z0-9---_]{1,50}$name*stringThe name of the depot.
curl -X GET 'https://api.spoke.com/public/v0.2b/depots/string'Example Response
{ "id": "string", "name": "string"}