Get File

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Use the hub_url received in the registration response as your base URL.

📘

This API requires the device to authenticate, see Device Authentication.

Xyte allows manufacturers to attach various types of files to different device models (firmware, manuals, etc.). Using this API, a device can get information about a single file attached to its model by the manufacturer.

Return Data

NameTypeDescription
idstringUnique ID for this device file
namestringUnique name for this file
urlstringStorage URL for this file
descstringDescription for this file
file_typestringType/category of the file
versionstringVersion of this configuration
checksumstringOptional checksum field provided during file upload
signaturestringOptional signature field provided during file upload
created_atdatetimeDate & time when this file was created
public_notesstringInformation about the file shown to the End User.

Return Sample

{
  "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "name": "foo 1",
  "url": "https://s3.amazonaws.com/myfile.txt",
  "desc": "Foo test",
  "file_type": "firmware",
  "version": "1.0.1",
  "created_at": "2022-08-11T14:38:36.930Z"
}
❗️

When uploading firmware files on the partner's side, the version must be in SemVer format. Non-firmware files and files uploaded directly by organizations do not have this requirement.

Path Params
string
required
string
required
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json