Retrieve the list of fleet files.
/v1/fleets/{fleetID}/files
Unique ID for the Fleet.
Fleet files before the given cursor.
Last fleet files.
curl -L \ --url 'https://cloud-api.calyptia.com/v1/fleets/{fleetID}/files' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[ { "contents": "text", "createdAt": "2025-03-12T03:46:22.149Z", "updatedAt": "2025-03-12T03:46:22.149Z", "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" } ]
Create a new Fleet File.
curl -L \ --request POST \ --url 'https://cloud-api.calyptia.com/v1/fleets/{fleetID}/files' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "name": "text", "contents": "text" }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-03-12T03:46:22.149Z" }