Equipment Documents
The following endpoints allow you to manage documents related to your equipments, including uploading, updating, and deleting documents.
Retrieve a list of documents for the specified equipment.
The unique identifier of the equipment.
The number of items to skip before starting to collect the result set
0
The number of items to return
10
A paginated list of documents for the equipment
Missing parameters or invalid parameters
Unable to authenticate the token
Resource not found
GET /v2/fleet/equipments/{id}/documents HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
{
"total": 1,
"offset": 1,
"limit": 1,
"rows": [
{
"id": 1,
"name": "text",
"shareable": true,
"isPublic": true,
"expirationDate": "2025-08-20",
"fileInfos": {
"size": 3.56,
"contentType": "application/pdf",
"uploadDate": "2025-08-20T06:37:56.104Z"
}
}
]
}
Upload a document to be associated with the specified equipment.
The unique identifier of the equipment.
The name of the document.
The document file to be uploaded. The document must be one of the following types PDF, JPEG, PNG, GIF, TIFF, CSV, Excel, or Word documents. File size should not exceed 10MB (10,485,760 bytes).
Indicates whether the document can be shared along with the related equipment. If true, the document will be shared automatically when the equipment is shared; if false, the document remains private.
false
Indicates whether the document can be publicly accessible.
false
Date when the document becomes invalid, formatted as 'YYYY-MM-DD' in UTC.
/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/
Document successfully uploaded
Missing parameters or invalid parameters
Unable to authenticate the token
Insufficient permissions to access the resource
Resource not found
Conflict with existing document metadata (e.g., duplicate name)
Payload Too Large. File should not exceeds 10MB
Unsupported Media Type
POST /v2/fleet/equipments/{id}/documents HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 96
{
"name": "text",
"file": "binary",
"shareable": false,
"isPublic": false,
"expirationDate": "2025-08-20"
}
{
"id": 1,
"name": "text",
"shareable": true,
"isPublic": true,
"expirationDate": "2025-08-20",
"fileInfos": {
"size": 3.56,
"contentType": "application/pdf",
"uploadDate": "2025-08-20T06:37:56.104Z"
}
}
Deletes a specific document associated with the specified equipment.
The unique identifier of the equipment.
The unique identifier of the document.
Document successfully deleted
Unable to authenticate the token
Insufficient permissions to access the resource
Resource not found
DELETE /v2/fleet/equipments/{id}/documents/{documentId} HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
No content
Update the metadata (e.g., name, isPublic) of a specific document associated with the specified equipment.
The unique identifier of the equipment.
The unique identifier of the document.
The name of the document.
Date when the document becomes invalid, formatted as 'YYYY-MM-DD' in UTC.
/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/
Document metadata successfully updated
Missing parameters or invalid parameters
Unable to authenticate the token
Insufficient permissions to access the resource
Resource not found
Conflict with existing document metadata (e.g., duplicate name)
PATCH /v2/fleet/equipments/{id}/documents/{documentId} HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"name": "text",
"expirationDate": "2025-08-20"
}
{
"id": 1,
"name": "text",
"shareable": true,
"isPublic": true,
"expirationDate": "2025-08-20",
"fileInfos": {
"size": 3.56,
"contentType": "application/pdf",
"uploadDate": "2025-08-20T06:37:56.104Z"
}
}
Allows the user to download a specific document associated with the specified equipment.
The unique identifier of the equipment.
The unique identifier of the document.
Document successfully downloaded
Unable to authenticate the token
Resource not found
GET /v2/fleet/equipments/{id}/documents/{documentId}/download HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
binary
Was this helpful?