Retrieve the list of fleet files.
/v1/fleets/{fleetID}/files
Unique ID for the Fleet.
Fleet files before the given cursor.
Last fleet files.
OK
curl -L \ --url 'https://cloud-api.calyptia.com/v1/fleets/{fleetID}/files' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[ { "contents": "text", "createdAt": "2025-02-09T20:40:21.324Z", "updatedAt": "2025-02-09T20:40:21.324Z", "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" } ]
Create a new Fleet File.
Updated.
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-02-09T20:40:21.324Z" }