Skip to content

Commit

Permalink
Merge pull request #3809 from hashicorp/cv-docs-unrock-nomad
Browse files Browse the repository at this point in the history
Changed `nomad.rocks` to `localhost:4646` to align with defaults.  Closes #3808
  • Loading branch information
angrycub committed Jan 29, 2018
2 parents f0929a8 + a6c3144 commit 172bea2
Show file tree
Hide file tree
Showing 21 changed files with 107 additions and 107 deletions.
8 changes: 4 additions & 4 deletions website/source/api/acl-policies.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/acl/policies
https://localhost:4646/v1/acl/policies
```

### Sample Response
Expand Down Expand Up @@ -91,7 +91,7 @@ The table below shows this endpoint's support for
$ curl \
--request POST \
--data @payload.json \
https://nomad.rocks/v1/acl/policy/my-policy
https://localhost:4646/v1/acl/policy/my-policy
```

## Read Policy
Expand All @@ -116,7 +116,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/acl/policy/foo
https://localhost:4646/v1/acl/policy/foo
```

### Sample Response
Expand Down Expand Up @@ -157,6 +157,6 @@ The table below shows this endpoint's support for
```text
$ curl \
--request DELETE \
https://nomad.rocks/v1/acl/policy/foo
https://localhost:4646/v1/acl/policy/foo
```

14 changes: 7 additions & 7 deletions website/source/api/acl-tokens.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/acl/bootstrap
https://localhost:4646/v1/acl/bootstrap
```

### Sample Response
Expand Down Expand Up @@ -75,7 +75,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/acl/tokens
https://localhost:4646/v1/acl/tokens
```

### Sample Response
Expand Down Expand Up @@ -139,7 +139,7 @@ The table below shows this endpoint's support for
$ curl \
--request POST \
--data @payload.json \
https://nomad.rocks/v1/acl/token
https://localhost:4646/v1/acl/token
```

### Sample Response
Expand Down Expand Up @@ -205,7 +205,7 @@ The table below shows this endpoint's support for
$ curl \
--request POST \
--data @payload.json \
https://nomad.rocks/v1/acl/token/aa534e09-6a07-0a45-2295-a7f77063d429
https://localhost:4646/v1/acl/token/aa534e09-6a07-0a45-2295-a7f77063d429
```

### Sample Response
Expand Down Expand Up @@ -247,7 +247,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/acl/token/aa534e09-6a07-0a45-2295-a7f77063d429
https://localhost:4646/v1/acl/token/aa534e09-6a07-0a45-2295-a7f77063d429
```

### Sample Response
Expand Down Expand Up @@ -290,7 +290,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--header "X-Nomad-Token: 8176afd3-772d-0b71-8f85-7fa5d903e9d4" \
https://nomad.rocks/v1/acl/token/self
https://localhost:4646/v1/acl/token/self
```

### Sample Response
Expand Down Expand Up @@ -337,6 +337,6 @@ The table below shows this endpoint's support for
```text
$ curl \
--request DELETE \
https://nomad.rocks/v1/acl/token/aa534e09-6a07-0a45-2295-a7f77063d429
https://localhost:4646/v1/acl/token/aa534e09-6a07-0a45-2295-a7f77063d429
```

14 changes: 7 additions & 7 deletions website/source/api/agent.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/agent/members
https://localhost:4646/v1/agent/members
```

### Sample Response
Expand Down Expand Up @@ -94,7 +94,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/agent/servers
https://localhost:4646/v1/agent/servers
```

### Sample Response
Expand Down Expand Up @@ -132,7 +132,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/agent/servers?address=1.2.3.4:4647&addres=5.6.7.8:4647
https://localhost:4646/v1/agent/servers?address=1.2.3.4:4647&addres=5.6.7.8:4647
```

## Query Self
Expand All @@ -155,7 +155,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/agent/self
https://localhost:4646/v1/agent/self
```

### Sample Response
Expand Down Expand Up @@ -414,7 +414,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/agent/join?address=1.2.3.4&address=5.6.7.8
https://localhost:4646/v1/agent/join?address=1.2.3.4&address=5.6.7.8
```

### Sample Response
Expand Down Expand Up @@ -453,7 +453,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/agent/force-leave?node=client-ab2e23dc
https://localhost:4646/v1/agent/force-leave?node=client-ab2e23dc
```

## Health
Expand All @@ -480,7 +480,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/agent/health
https://localhost:4646/v1/agent/health
```

### Sample Response
Expand Down
6 changes: 3 additions & 3 deletions website/source/api/allocations.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/allocations
https://localhost:4646/v1/allocations
```

```text
$ curl \
https://nomad.rocks/v1/allocations?prefix=a8198d79
https://localhost:4646/v1/allocations?prefix=a8198d79
```

### Sample Response
Expand Down Expand Up @@ -173,7 +173,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/allocation/5456bd7a-9fc0-c0dd-6131-cbee77f57577
https://localhost:4646/v1/allocation/5456bd7a-9fc0-c0dd-6131-cbee77f57577
```

### Sample Response
Expand Down
20 changes: 10 additions & 10 deletions website/source/api/client.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/stats
https://localhost:4646/v1/client/stats
```

### Sample Response
Expand Down Expand Up @@ -161,7 +161,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/allocation/5fc98185-17ff-26bc-a802-0c74fa471c99/stats
https://localhost:4646/v1/client/allocation/5fc98185-17ff-26bc-a802-0c74fa471c99/stats
```

### Sample Response
Expand Down Expand Up @@ -265,12 +265,12 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/fs/cat/5fc98185-17ff-26bc-a802-0c74fa471c99
https://localhost:4646/v1/client/fs/cat/5fc98185-17ff-26bc-a802-0c74fa471c99
```

```text
$ curl \
https://nomad.rocks/v1/client/fs/cat/5fc98185-17ff-26bc-a802-0c74fa471c99?path=alloc/file.json
https://localhost:4646/v1/client/fs/cat/5fc98185-17ff-26bc-a802-0c74fa471c99?path=alloc/file.json
```

### Sample Response
Expand Down Expand Up @@ -316,7 +316,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/fs/readat/5fc98185-17ff-26bc-a802-0c74fa471c99?path=/alloc/foo&offset=1323&limit=19303
https://localhost:4646/v1/client/fs/readat/5fc98185-17ff-26bc-a802-0c74fa471c99?path=/alloc/foo&offset=1323&limit=19303
```

### Sample Response
Expand Down Expand Up @@ -360,7 +360,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/fs/stream/5fc98185-17ff-26bc-a802-0c74fa471c99?path=/alloc/logs/redis.log
https://localhost:4646/v1/client/fs/stream/5fc98185-17ff-26bc-a802-0c74fa471c99?path=/alloc/logs/redis.log
```

### Sample Response
Expand Down Expand Up @@ -433,7 +433,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/fs/logs/5fc98185-17ff-26bc-a802-0c74fa471c99
https://localhost:4646/v1/client/fs/logs/5fc98185-17ff-26bc-a802-0c74fa471c99
```

### Sample Response
Expand Down Expand Up @@ -493,7 +493,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/fs/ls/5fc98185-17ff-26bc-a802-0c74fa471c99
https://localhost:4646/v1/client/fs/ls/5fc98185-17ff-26bc-a802-0c74fa471c99
```

### Sample Response
Expand Down Expand Up @@ -546,7 +546,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/fs/stat/5fc98185-17ff-26bc-a802-0c74fa471c99
https://localhost:4646/v1/client/fs/stat/5fc98185-17ff-26bc-a802-0c74fa471c99
```

### Sample Response
Expand Down Expand Up @@ -583,5 +583,5 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/client/gc
https://localhost:4646/v1/client/gc
```
16 changes: 8 additions & 8 deletions website/source/api/deployments.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/deployments
https://localhost:4646/v1/deployments
```

```text
$ curl \
https://nomad.rocks/v1/deployments?prefix=25ba81c
https://localhost:4646/v1/deployments?prefix=25ba81c
```

### Sample Response
Expand Down Expand Up @@ -97,7 +97,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/deployment/70638f62-5c19-193e-30d6-f9d6e689ab8e
https://localhost:4646/v1/deployment/70638f62-5c19-193e-30d6-f9d6e689ab8e
```

### Sample Response
Expand Down Expand Up @@ -153,7 +153,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/deployment/allocations/5456bd7a-9fc0-c0dd-6131-cbee77f57577
https://localhost:4646/v1/deployment/allocations/5456bd7a-9fc0-c0dd-6131-cbee77f57577
```

### Sample Response
Expand Down Expand Up @@ -290,7 +290,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/deployment/fail/5456bd7a-9fc0-c0dd-6131-cbee77f57577
https://localhost:4646/v1/deployment/fail/5456bd7a-9fc0-c0dd-6131-cbee77f57577
```

### Sample Response
Expand Down Expand Up @@ -344,7 +344,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/deployment/pause/5456bd7a-9fc0-c0dd-6131-cbee77f57577
https://localhost:4646/v1/deployment/pause/5456bd7a-9fc0-c0dd-6131-cbee77f57577
```

### Sample Response
Expand Down Expand Up @@ -408,7 +408,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/deployment/promote/5456bd7a-9fc0-c0dd-6131-cbee77f57577
https://localhost:4646/v1/deployment/promote/5456bd7a-9fc0-c0dd-6131-cbee77f57577
```

### Sample Response
Expand Down Expand Up @@ -474,7 +474,7 @@ The table below shows this endpoint's support for
```text
$ curl \
--request POST \
https://nomad.rocks/v1/deployment/allocation-health/5456bd7a-9fc0-c0dd-6131-cbee77f57577
https://localhost:4646/v1/deployment/allocation-health/5456bd7a-9fc0-c0dd-6131-cbee77f57577
```

### Sample Response
Expand Down
8 changes: 4 additions & 4 deletions website/source/api/evaluations.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/evaluations
https://localhost:4646/v1/evaluations
```

```text
$ curl \
https://nomad.rocks/v1/evaluations?prefix=25ba81c
https://localhost:4646/v1/evaluations?prefix=25ba81c
```

### Sample Response
Expand Down Expand Up @@ -102,7 +102,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/evaluation/5456bd7a-9fc0-c0dd-6131-cbee77f57577
https://localhost:4646/v1/evaluation/5456bd7a-9fc0-c0dd-6131-cbee77f57577
```

### Sample Response
Expand Down Expand Up @@ -163,7 +163,7 @@ The table below shows this endpoint's support for

```text
$ curl \
https://nomad.rocks/v1/evaluation/5456bd7a-9fc0-c0dd-6131-cbee77f57577/allocations
https://localhost:4646/v1/evaluation/5456bd7a-9fc0-c0dd-6131-cbee77f57577/allocations
```

### Sample Response
Expand Down
Loading

0 comments on commit 172bea2

Please sign in to comment.