Retrieve the list of fleet 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": "Ynl0ZXM=", "createdAt": "2025-03-20T18:58:16.394Z", "updatedAt": "2025-03-20T18:58:16.394Z", "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": "Ynl0ZXM=" }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-03-20T18:58:16.394Z" }