From 07e3bed923ecd7c8b0e77146380263d0bf227be0 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Tue, 8 Aug 2017 10:47:24 +0100 Subject: [PATCH] Update job.html read most recent deployment sample The sample request incorrectly used `https://nomad.rocks/v1/job/my-job/deployments` which listed all deployments for the specified job. The sample request has therefore been updated to use the correct endpoint which returns only the jobs most recent deployment. --- website/source/api/jobs.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/api/jobs.html.md b/website/source/api/jobs.html.md index 856e75102..a8addac14 100644 --- a/website/source/api/jobs.html.md +++ b/website/source/api/jobs.html.md @@ -921,7 +921,7 @@ The table below shows this endpoint's support for ```text $ curl \ - https://nomad.rocks/v1/job/my-job/deployments + https://nomad.rocks/v1/job/my-job/deployment ``` ### Sample Response