GET /v1.1/facility
Returns a paginated list of all cabin facility descriptions, with their related company data included.
Request
GET /v1.1/facility
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
page[number] | integer | 1 | Page number (one-indexed) |
page[size] | integer | 10 | Items per page (max 1000) |
Example Request
curl -X GET "https://api.rccl.ro/v1.1/facility?page[number]=1&page[size]=10" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"
Response
200 OK
Returns an array of facility resources with related company objects included.
Response body:
{
"data": [
{
"type": "facility",
"id": "1a3f91fe-ad97-397b-9a96-d6104ad339f6",
"attributes": {
"title": "CELEBRITY CRUISES - CABINE CU BALCON CONCIERGE CLASS",
"description": "<h4><b>Cabinele cu balcon CONCIERGE CLASS® includ urmatoarele facilitati</b>:</h4>..."
},
"relationships": {
"company": {
"links": {
"related": "/v1.1/company/43e5ba84-528c-38bc-87a9-34ece4c4aa03"
},
"data": {
"type": "company",
"id": "43e5ba84-528c-38bc-87a9-34ece4c4aa03"
}
}
},
"links": {
"self": "/v1.1/facility/1a3f91fe-ad97-397b-9a96-d6104ad339f6"
}
},
{
"type": "facility",
"id": "2912eb1f-d9c2-3a37-91be-b36b724db541",
"attributes": {
"title": "CELEBRITY CRUISES - APARTAMENTE GALAPAGOS FLORA",
"description": "<h4><b>Apartamentele de pe mega-iahtul Celebrity Flora includ urmatoarele facilitati si beneficii:</b></h4>..."
},
"relationships": {
"company": {
"links": {
"related": "/v1.1/company/43e5ba84-528c-38bc-87a9-34ece4c4aa03"
},
"data": {
"type": "company",
"id": "43e5ba84-528c-38bc-87a9-34ece4c4aa03"
}
}
},
"links": {
"self": "/v1.1/facility/2912eb1f-d9c2-3a37-91be-b36b724db541"
}
}
],
"links": {
"self": "/v1.1/facility",
"first": "/v1.1/facility?page[number]=1&page[size]=10",
"next": "/v1.1/facility?page[number]=2&page[size]=10"
},
"meta": {
"count": 23
},
"included": [
{
"type": "company",
"id": "43e5ba84-528c-38bc-87a9-34ece4c4aa03",
"attributes": {
"code": "CEL",
"title": "Celebrity Cruises®",
"description": "Celebrity Cruises® este o companie premium de croaziere..."
},
"links": {
"self": "/v1.1/company/43e5ba84-528c-38bc-87a9-34ece4c4aa03"
}
}
],
"jsonapi": {
"version": "1.0"
}
}
Facility Attributes
| Field | Type | Description |
|---|---|---|
title | string | Facility title |
description | string | Facility description (HTML) |
Relationships
| Relationship | Type | Description |
|---|---|---|
company | company | The cruise line this facility belongs to |
Included Resources
The response includes related company objects. See GET /v1.1/company for company attribute details.
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — missing or invalid API key |
500 | Internal Server Error — upstream query failure |