Skip to content

Commit

Permalink
Merge pull request #727 from amazonlinux/tx-docs
Browse files Browse the repository at this point in the history
Fix remaining docs for /tx APIs
  • Loading branch information
tjkirch authored Feb 12, 2020
2 parents 70a8415 + c42e039 commit 8875d9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ If you're using a custom control container, or want to make the API calls direct

```
apiclient -u /settings -m PATCH -d '{"host-containers": {"admin": {"enabled": true}}}'
apiclient -u /settings/commit_and_apply -m POST
apiclient -u /tx/commit_and_apply -m POST
```

Once you're in the admin container, you can run `sheltie` to get a full root shell in the Thar host.
Expand Down Expand Up @@ -306,7 +306,7 @@ As long as you define the three fields above -- `source` with a URI, and `enable
Here's an example of adding a custom host container:
```
apiclient -u /settings -X PATCH -d '{"host-containers": {"custom": {"source": "MY-CONTAINER-URI", "enabled": true, "superpowered": false}}}'
apiclient -u /settings/commit_and_apply -X POST
apiclient -u /tx/commit_and_apply -X POST
```

If the `enabled` flag is `true`, it will be started automatically.
Expand Down
2 changes: 1 addition & 1 deletion workspaces/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ paths:
type: array
items:
type: string
# `style: form` and `explode: false` format parameters as such: /settings/apply?keys=settings.foo,settings.bar
# `style: form` and `explode: false` format parameters as such: /tx/apply?keys=settings.foo,settings.bar
style: form
explode: false
required: false
Expand Down

0 comments on commit 8875d9f

Please sign in to comment.