cURL
curl --request GET \ --url https://api.example.com/api/collections/{collection_id}
{ "id": "<string>", "name": "<string>", "description": "<string>", "openapi_spec": {}, "created_by": "<string>", "created_at": "<string>" }
Get a specific collection with its OpenAPI spec
Bearer <firebase_id_token>
curl https://api.sari-platform.com/api/collections/550e8400-e29b-41d4-a716-446655440000 \ -H "Authorization: Bearer <token>"
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Stripe Payment API", "description": "Payment processing API", "openapi_spec": { "openapi": "3.0.0", "info": { "title": "Stripe Payment API", "version": "1.0.0" }, "servers": [ {"url": "https://api.stripe.com"} ], "paths": { ... } }, "created_by": "admin-uuid", "created_at": "2024-01-10T08:00:00Z" }