/snippets
List of extenal (non-dvidshub) live events
Example request:
GET /snippets?max_results=2&api_key=key-XXXXXXXXXXXXX HTTP/1.1
Host: api.dvidshub.net
Accept-encoding: gzip, deflate
Accept: application/json, text/javascript
Referer: https://api.dvidshub.net
Example response:
HTTP/1.1 200 OK
Content-type: application/json
Content-length: 2
Server: Apache
Access-control-allow-origin: *
Expires: Sat, 04 Feb 2023 18:04:00 GMT
Cache-control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sat, 04 Feb 2023 18:04:00 GMT
Connection: keep-alive
Set-cookie: PHPSESSID=8e8d5e87bda25bb1ba50e9c232078723; path=/; domain=.dvidshub.net; secure; HttpOnly
[
]
/snippets/{id}
Get additional details about external event
Example request:
GET /snippets/5?api_key=key-XXXXXXXXXXXXX HTTP/1.1
Host: api.dvidshub.net
Accept-encoding: gzip, deflate
Accept: application/json, text/javascript
Referer: https://api.dvidshub.net
Example response:
HTTP/1.1 400 Bad Request
Content-type: application/json
Content-length: 75
Server: Apache
Access-control-allow-origin: *
Expires: Sat, 04 Feb 2023 18:04:00 GMT
Cache-control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sat, 04 Feb 2023 18:04:00 GMT
Connection: keep-alive
Set-cookie: PHPSESSID=71e7a06ae681338ce2e56c330e3157aa; path=/; domain=.dvidshub.net; secure; HttpOnly
{
"error":0,
"message":"Dvids_Model_Snippet with params (id => 5) not found"
}