Partially updates an existing File. Only provided fields will be updated.
Security
bearer
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/file/{fileId}
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/file/{fileId}
curl -i -X PATCH \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/file/{fileId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"downloadUrl": "https://example.com",
"extensions": {},
"isActive": true,
"mimeType": "example",
"name": "Example Name",
"notes": "Example description",
"sizeBytes": 1.23
}'File updated successfully
Timestamp when the file record was created.
Example:"2025-01-01T00:00:00.000Z"
URL that can be used to download the file content.
Example:"https://example.com"
Canonical identifier for the file.
Example:"123e4567-e89b-12d3-a456-426614174000"
Response
{ "createdAt": "2025-01-01T00:00:00.000Z", "downloadUrl": "https://example.com", "extensions": {}, "fileId": "123e4567-e89b-12d3-a456-426614174000", "isActive": true, "mimeType": "example", "name": "Example Name", "notes": "Example description", "sizeBytes": 1.23, "updatedAt": "2025-01-01T00:00:00.000Z" }