Skip to content

Cycling Recipes

get

curl https://app.rejoule.io/cycling/recipes/ \
    -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
name string name
is_characterization string is_characterization
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/recipes/ \
    -X POST \
    -H "Authorization: User <token>" \
    -F "organization=19" \
    -F "name=hello-world"

get

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

The response object contains the following fields:

Name Type Description
id integer
organization integer
name string
recipe object
notes string
is_characterization boolean Boolean field to determine if a recipe is a full cycling characterization.
created_at string
updated_at string

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/recipes/{id}/ \
    -X PUT \
    -H "Authorization: User <token>" \
    -F "organization=3" \
    -F "name=hello-world"

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/recipes/{id}/ \
    -X DELETE \
    -H "Authorization: User <token>"