fix markdown and typos in API docs

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2016-01-05 16:33:32 +01:00
parent b2d00e312b
commit 72472f5639
1 changed files with 7 additions and 11 deletions

View File

@ -862,9 +862,10 @@ This endpoint returns a live stream of a container's resource usage statistics.
"total_usage" : 36488948,
"usage_in_kernelmode" : 20000000
},
 "system_cpu_usage" : 20091722000000000,
"system_cpu_usage" : 20091722000000000,
"throttling_data" : {}
} }
}
}
Query Parameters:
@ -923,7 +924,7 @@ Start the container `id`
Query Parameters:
- **detacheys** Override the key sequence for detaching a
- **detachKeys** Override the key sequence for detaching a
container. Format is a single character `[a-Z]` or `ctrl-<value>`
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
@ -1138,7 +1139,7 @@ Attach to the container `id`
Query Parameters:
- **detacheys** Override the key sequence for detaching a
- **detachKeys** Override the key sequence for detaching a
container. Format is a single character `[a-Z]` or `ctrl-<value>`
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
- **logs** 1/True/true or 0/False/false, return logs. Default `false`.
@ -1221,7 +1222,7 @@ Implements websocket protocol handshake according to [RFC 6455](http://tools.iet
Query Parameters:
- **detacheys** Override the key sequence for detaching a
- **detachKeys** Override the key sequence for detaching a
container. Format is a single character `[a-Z]` or `ctrl-<value>`
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
- **logs** 1/True/true or 0/False/false, return logs. Default `false`.
@ -2501,7 +2502,7 @@ Json Parameters:
- **AttachStdin** - Boolean value, attaches to `stdin` of the `exec` command.
- **AttachStdout** - Boolean value, attaches to `stdout` of the `exec` command.
- **AttachStderr** - Boolean value, attaches to `stderr` of the `exec` command.
- **Detacheys** Override the key sequence for detaching a
- **DetachKeys** Override the key sequence for detaching a
container. Format is a single character `[a-Z]` or `ctrl-<value>`
where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
- **Tty** - Boolean value to allocate a pseudo-TTY.
@ -2973,11 +2974,6 @@ Create a network
**Example request**:
```
Create a network
**Example request**:
```
POST /networks/create HTTP/1.1
Content-Type: application/json