Retrieve a single fleet file with its metadata.
UUID of the fleet file.
Fleet File.
Delete a single fleet file by its ID.
Deleted.
Update a fleet file.
Updated.
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-21T13:16:35.540Z", "updatedAt": "2024-12-21T13:16:35.540Z", "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" }
const response = await fetch('https://cloud-api.calyptia.com/v1/fleet_files/{fleetFileID}', { method: 'DELETE', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
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();