Skip to content

Reports

Report a data error, follow its status, decide (maintainers). Answers 503 until the form is open (CDP declaration).

Try it from this page

The "Try" button calls the API from your browser. Without a key, the call counts against the anonymous quota (100 calls per day and per IP address); with a key in the Authorization field, the quota rises to 1,000. The key stays in your browser. Get a key
POST
/v1/signalements

Header Parameters

Idempotency-Key*string

One value per report: resending with the same key returns the same report.

Length8 <= length <= 100

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/signalements" \  -H "Idempotency-Key: 6f1c1f0e-8a4b-4e8e-9d3c-2b7c1a0e5f42" \  -H "Content-Type: application/json" \  -d '{    "current_value": "Département : Pikine",    "dataset": "geographie",    "email": "[email protected]",    "expected_value": "Département : Keur Massar",    "place": "Keur Massar",    "source": "https://www.ansd.sn/",    "turnstile_token": "string"  }'
{  "created_at": "2019-08-24T14:15:22Z",  "dataset": "string",  "decided_at": "2019-08-24T14:15:22Z",  "issue_url": "string",  "numero": "SIG-7K3M9X2P",  "status": "recu"}
GET
/v1/signalements/{numero}

Path Parameters

numero*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/signalements/SIG-7K3M9X2P"
{  "created_at": "2019-08-24T14:15:22Z",  "dataset": "string",  "decided_at": "2019-08-24T14:15:22Z",  "issue_url": "string",  "numero": "SIG-7K3M9X2P",  "status": "recu"}