Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |api_url

work/run::|api_url


Usage

|api_url()

Return

↴ Option<string>


Return the address of the run on api.melodium.tech, to call its endpoints.

It is <MELODIUM_API_URL>/execution/run/<MELODIUM_RUN_ID>, as api.melodium.tech workers are configured, such as https://api.melodium.tech/0.1/execution/run/<id>, and none elsewhere. Requests to it carry the token of the run, api-run:token, in their secret headers.

The address is not a credential.