વિકાસકર્તાઓ
GET_v1_n_subsite_obligations_id_
NXS Risk Policy and Governance API
GET /v1/n/{subsite}/obligations/{id} EServed
One obligation in the subsite scope
An obligation by id (404 when it is outside the subsite scope). State: exists.
Parameters
| નામ | In | પ્રકાર | તે શું કરે છે |
|---|---|---|---|
subsite required | path | string (ai-digital-governance, capital, climate-nature-governance, diplomacy, disaster-crisis-governance, foresight, governance, health-biosecurity-governance, information-integrity, innovation, policy, research) | A GRF subsite |
id required | path | string | Obligation id (CURIE, legacy or local) |
asOf optional | query | string | Date for staleness |
Responses
- 200 Records with provenance
- 304 Not modified: If-None-Match matches the current ETag
- 400 BAD_PAGE, BAD_QUERY, BAD_ID or BAD_DIMENSION (an unknown or malformed industry, jurisdiction, region, regime, hazard, domain, topic, status or date) (a problem, RFC 9457)
- 404 NOT_FOUND (an unknown id or subsite), or NOT_YET_PUBLISHED where no record exists (a problem, RFC 9457)
- 429 RATE_LIMITED: open-tier limit; Retry-After says when to retry (a problem, RFC 9457)
- 500 INTERNAL (a problem, RFC 9457)
- 501 STEP_NOT_BUILT: a designed solution step answers this with what it needs (a problem, RFC 9457)
- 502 UPSTREAM_ERROR: the backend answered an error or not JSON (a problem, RFC 9457)
- 503 BACKEND_CONNECTION_OFF (a problem, RFC 9457)
- 504 UPSTREAM_TIMEOUT (a problem, RFC 9457)