diff --git a/website/content/api-docs/jobs.mdx b/website/content/api-docs/jobs.mdx index 94310569b..d9f65e8ec 100644 --- a/website/content/api-docs/jobs.mdx +++ b/website/content/api-docs/jobs.mdx @@ -290,6 +290,8 @@ The table below shows this endpoint's support for - `:job_id` `(string: )` - Specifies the ID of the job (as specified in the job file during submission). This is specified as part of the path. +- `namespace` `(string: "default")` - Specifies the namespace of the job. If not specified, + defaults to "default". This is specified as a URL query parameter. ### Sample Request @@ -298,11 +300,17 @@ $ curl \ https://localhost:4646/v1/job/my-job ``` +```shell-session +$ curl \ + https://localhost:4646/v1/job/my-job?namespace=apps +``` + ### Sample Response ```json { "Region": "global", + "Namespace": "apps", "ID": "example", "ParentID": "", "Name": "example",