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