cURL
curl --request GET \ --url https://v1.api.flux-os.com/facilities/types \ --header 'x-api-key: <api-key>' \ --header 'x-user-id: <api-key>'
{ "data": [ { "name": "<string>", "code": "<string>", "id": "<string>", "model": "Terminal" } ], "meta": { "current_page": 123, "total_pages": 123, "total_items": 123, "per_page": 123 } }
Retrieve a list of facility types with pagination and filtering options.
Page number for pagination
x >= 1
Filter by facility type code
Filter by facility model type
Terminal
Station
Plant
Battery
System
Pipeline
A paginated list of facility types.
Show child attributes
Rail Line