/warehouses/{id}/ping
endpoint¶
The /warehouses/{id}/ping
endpoint accepts a GET
request, tests the adapter credentials of the warehouse with that id
, and returns HTTP 204
if they successfully authenticate.
Test warehouse credentials¶
Endpoint | /warehouses/{warehouse_id}/ping |
---|---|
Method | GET |
Auth | JWT |
Success status | HTTP 204 |
Example
curl -H "Authorization: Bearer $JWT_TOKEN" \
https://api.getdropstream.com/warehouses/1234/ping
Response, if the credentials for that warehouse are currently valid:
HTTP/1.1 204 No Content