GET /v1.1/region/:id
Returns a single region by its ID.
Request
GET /v1.1/region/:id
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The region ID |
Example Request
curl -X GET "https://api.rccl.ro/v1.1/region/71412a48-9107-3f71-97bd-e59ae27a206e" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"
Response
200 OK
Returns a single region resource.
Response body:
{
"data": {
"type": "region",
"id": "71412a48-9107-3f71-97bd-e59ae27a206e",
"attributes": {
"code": "AFRCA",
"title": "Africa",
"image_url": "https://ik.imagekit.io/worldtravel/wp-content/uploads/croaziere-in-africa-capul-verde-mindelo-hero-1920x800-il-aza-01.jpg"
},
"links": {
"self": "/v1.1/region/71412a48-9107-3f71-97bd-e59ae27a206e"
}
},
"links": {
"self": "/v1.1/region/71412a48-9107-3f71-97bd-e59ae27a206e"
},
"jsonapi": {
"version": "1.0"
}
}
Region Attributes
| Field | Type | Description |
|---|---|---|
code | string | Unique region code |
title | string | Region name |
image_url | string | Region image URL |
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — missing or invalid API key |
500 | Internal Server Error — region not found or upstream query failure |