Delete a single fleet file by its ID.
UUID of the fleet file.
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();
Retrieve a single fleet file with its metadata.
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-10-06T09:50:34.035Z", "updatedAt": "2024-10-06T09:50:34.035Z", "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" }