Fetches all fleets in the project
GET http://localhost:8080/core/api/v1/projects/:project_id/fleets
Fetches all fleets in the project.
Path Parameters
- project_id string required
Project ID
Responses
- 200
- 400
- 401
- 403
Success" {"ok":1,"data":{"fleets":[{"id":"<fleet_id>","name":"<fleet_name>","description":"<fleet_description>","created_at":"<fleet_created_at>","updated_at":"<fleet_updated_at>"}]}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Bad Request" {"ok":0,"error":{"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Unauthorized" {"ok":0,"error":{"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Forbidden" {"ok":0,"error":{"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Request
Request
curl / cURL
curl -L -X GET 'http://localhost:8080/core/api/v1/projects/:project_id/fleets' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'http://localhost:8080/core/api/v1/projects/:project_id/fleets' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'http://localhost:8080/core/api/v1/projects/:project_id/fleets' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'http://localhost:8080/core/api/v1/projects/:project_id/fleets' \
-H 'Accept: application/json'