Skip to content

BMS Files

List BMS Files

curl https://app.rejoule.io/bms/files/ \
    -H "Authorization: User <token>"

The following query parameters are available:

Name Type Description
limit integer Number of results to return per page.
offset integer The initial index from which to return the results.
id string id
organization string organization
bms_test string bms_test
project string project
created string created
updated string updated

Create a BMS File

Member Role required

Editing requires an Member role in the organization the resource belongs to. Find out more.

curl https://app.rejoule.io/bms/files/ \
    -X POST \
    -H "Authorization: User <token>" \
    -F "organization=4" \
    -F "bms_test=16"

Get a single BMS File

curl https://app.rejoule.io/bms/files/{id}/ \
    -H "Authorization: User <token>"

The response object contains the following fields:

Name Type Description
id integer
organization integer
bms_test integer The test from which this file was produced.
file integer The file reference that is storing this BMS file.
latest_batch string
projects array
notes string
created_at string
updated_at string

Update a BMS File

Member Role required

Editing requires an Member role in the organization the resource belongs to. Find out more.

curl https://app.rejoule.io/bms/files/{id}/ \
    -X PUT \
    -H "Authorization: User <token>" \
    -F "organization=20" \
    -F "bms_test=3"

Delete a BMS File

Owner Role required

Deleting requires an Owner role in the organization the resource belongs to. Find out more.

curl https://app.rejoule.io/bms/files/{id}/ \
    -X DELETE \
    -H "Authorization: User <token>"

Download a BMS File

curl https://app.rejoule.io/bms/files/{id}/download/ \
    -H "Authorization: User <token>"