/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: Tue, 05 Jul 2022 05:54:54 GMT
Cache-control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Tue, 05 Jul 2022 05:54:54 GMT
Connection: keep-alive
Set-cookie: PHPSESSID=405c89c86e2729b42da18092704db4e8; 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: Tue, 05 Jul 2022 05:54:55 GMT
Cache-control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Tue, 05 Jul 2022 05:54:55 GMT
Connection: keep-alive
Set-cookie: PHPSESSID=d0d3f6b2bf39af20e5c474bc8fca6987; path=/; domain=.dvidshub.net; secure; HttpOnly
{
"error":0,
"message":"Dvids_Model_Snippet with params (id => 5) not found"
}