GET /functions/jobs/{job_id}
Read a function job
Read a Functions deploy or delete job. Use when a deploy or delete job was accepted. Before: deploy_function or delete_function (they need functions deploy access). Returns the job: status, error code, revision and public url. Scope: job:read.
API key (Bearer), on the public API endpoint.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
job_id | path | string · required | Job id from deploy_function or delete_function (they need functions deploy access). |
Responses
| Status | Description | Body |
|---|---|---|
2XX | Success: the JSON body the route returns (see the description for its fields). | object |
401 | Key missing or invalid | Error |
4XX | Refused: act on detail.code, then follow detail.next_action (404 not_found while the service is not open to the account). | Error |
Examples
curl
curl -X GET "$GALON_API_BASE/functions/jobs/<job_id>" \
-H "Authorization: Bearer $GALON_API_KEY"