Artifacts
An Artifact is a single file or binary for a particular Hardware Version that is installed onto a Device. A single Release object will contain many Artifacts.
Request Schema
NOTE: This data is passed in as
form-data, notJSON
| Field | Type | Description |
|---|---|---|
type Required | String | Type of Artifact. Choices: firmware, symbols. |
hardware_version Required | String | Hardware Version for the Device Example: "hwrev1" |
build_id | Text | Build Unique Identifier set by the customer Example: "8be26a9f3b9127bc898f34e05a30a9a2c706cf43" |
filename | JSON | Filename of the object being uploaded Example: "firmware_1.2.3_hwrev1.bin" |
Query Parameters
The following parameters can be used to filter Releases.
| Query Parameter | Type | Description |
|---|---|---|
types | String[,] | Type of the Artifact Example: "firmware" |
sort | String | Sort keys (listed below) Example: -created_date |
Sort Parameters
| Sort Parameter | Type | Description |
|---|---|---|
created_date | DateTime | Date the object was created |
Response Schema
{
"data": {
"id": 1,
"created_date": "2019-01-19T05:01:13.000000+00:00",
"updated_date": "2019-01-19T05:01:13.000000+00:00",
"type": "firmware",
"hardware_version": "hwrev1",
"build_id": "8be26a9f3b9127bc898f34e05a30a9a2c706cf43",
"filename": "firmware_1.2.3_hwrev1.bin",
"url": "<some_s3_link>",
"md5": "54d0fdc208dfef97243c7eadce32797b"
}
}
Upload Artifact for Release
Upload an **Artifact** for the given **Release** and *Hardware Revision*
List Software Types
List all **Software Types** for a given **Project**.
Create Software Type
Create a **Software Type** for a given **Project**.
Retrieve a Software Type
Retrieve a single **Software Type** for a given **Project**.
List Software Versions
List all **Software Versions** for a given **Software Type** and **Project**.
Create Software Version
Create a **Software Version** for a given **Software Type** and **Project**.
Retrieve a Software Version
Retrieve a **Software Version** for a given **Software Type** and **Project**.
Attach SBOM
Attach a Software Bill of Materials (SBOM) to a **Project**.
Download SBOM
Download a previously attached SBOM for a given **Project**.
Upload Symbol File
Process a **Symbol File** for a given **Project** after it has been uploaded using
Get Symbol File by GNU Build ID
Download a previously uploaded ELF **Symbol File** given its GNU Build ID from `files.memfault.com`.
Get Symbol File by Qualcomm ADK Build ID
Download a previously uploaded ELF **Symbol File** given its Qualcomm ADK Build ID Number from `files.memfault.com`.