Retrieve a single fleet file with its metadata.
UUID of the fleet file.
Fleet File.
const response = await fetch('https://cloud-api.calyptia.com/v1/fleet_files/{fleetFileID}', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "contents": "Ynl0ZXM=", "createdAt": "2024-12-02T19:34:33.978Z", "updatedAt": "2024-12-02T19:34:33.978Z", "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" }
Delete a single fleet file by its ID.
Deleted.
const response = await fetch('https://cloud-api.calyptia.com/v1/fleet_files/{fleetFileID}', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
Update a fleet file.
Updated.
const response = await fetch('https://cloud-api.calyptia.com/v1/fleet_files/{fleetFileID}', { method: 'PATCH', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();