Reference data
List Communes
The communes of a wilaya, with their IDs.
GET
https://rassmi.com/api/v1/reference/wilayas/{code}/communes
Authorization
-
Authorizationheaderrequired
Bearer rsk_…: the store's API key, from API Key in your Rassmi dashboard.
Path parameters
-
code string required
The wilaya code, 1 to 58.
Responses
| Status | Meaning |
|---|---|
200 | Success. The body is shown on the right. |
404 | No such resource in this store. |
401 | Missing, unknown, paused or expired API key. |
429 | More than 60 requests in a minute. See Rate limits. |