Skip to content

Cycling Tests

get

curl https://app.rejoule.io/cycling/tests/ \
    -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
battery string battery
device string device
status string status
project string project
recipe string recipe
created string created
updated string updated

post

Member Role required

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

curl https://app.rejoule.io/cycling/tests/ \
    -X POST \
    -H "Authorization: User <token>" \
    -F "organization=6" \
    -F "battery=13" \
    -F "device=16" \
    -F "recipe=14"

get

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

The response object contains the following fields:

Name Type Description
id integer
organization integer
battery integer
device integer
status string
projects array
ongoing_recipe_index integer
recipe_index_to_run integer
ongoing_recipe_mode string
recipe integer
eis_keys object
bms_keys string
dcir_values object
imbalance_results object
external_devices object
notes string
created_at string
updated_at string
created_by string
max_discharge_capacity number
max_charge_capacity number
device_software_version string The free-form version of this model. Versions are limited to 64 characters in length.

put

Member Role required

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

curl https://app.rejoule.io/cycling/tests/{id}/ \
    -X PUT \
    -H "Authorization: User <token>" \
    -F "organization=15" \
    -F "battery=10" \
    -F "device=7" \
    -F "recipe=3"

delete

Owner Role required

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

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

get

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