Request
ప్రయత్నించండి
Planned: it answers with a typed refusal · No credits
GET/v1/webhooks/{id}/deliveries
curl -s "https://api.risksindex.com/v1/webhooks/<id>/deliveries"const res = await fetch("https://api.risksindex.com/v1/webhooks/<id>/deliveries");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/webhooks/<id>/deliveries")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"provenance": [
{
"repository": "string",
"commit": "string",
"path": "string",
"sha256": "string",
"licence": "string"
}
]
} Deliveries with state, attempts and last status; newest first, the latest 50 (a limit of up to 200 is accepted; the log is not paged). Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).
Parameters
Parameters
idrequiredpath · string
Webhook id (uuid)
stateoptionalquery · string
pending, delivered or dead. Default when omitted: every state.
Answers
Responses
- 200
An OGC API document (raw OGC shape, not the envelope)
- 304
Not modified: If-None-Match matched the snapshot digest
- 400Problem, RFC 9457
Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK
- 401Problem, RFC 9457
Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID
- 403Problem, RFC 9457
Insufficient scope. Codes: INSUFFICIENT_SCOPE
- 404Problem, RFC 9457
Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND
- 409Problem, RFC 9457
Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT
- 413Problem, RFC 9457
Body too large. Codes: BODY_TOO_LARGE
- 414
- 422Problem, RFC 9457
Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED
- 429Problem, RFC 9457
Rate limited. Codes: RATE_LIMITED
- 500Problem, RFC 9457
Internal error. Codes: INTERNAL
- 503Problem, RFC 9457
Webhooks off. Codes: WEBHOOKS_OFF
Get started
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.