Browse code

Merge pull request #19090 from thaJeztah/fix-api-markdown

fix markdown and typos in API docs

Sebastiaan van Stijn authored on 2016/01/07 16:32:01
Showing 1 changed files
... ...
@@ -862,9 +862,10 @@ This endpoint returns a live stream of a container's resource usage statistics.
862 862
                "total_usage" : 36488948,
863 863
                "usage_in_kernelmode" : 20000000
864 864
             },
865
-            "system_cpu_usage" : 20091722000000000,
865
+            "system_cpu_usage" : 20091722000000000,
866 866
             "throttling_data" : {}
867
-         }      }
867
+         }
868
+      }
868 869
 
869 870
 Query Parameters:
870 871
 
... ...
@@ -923,7 +924,7 @@ Start the container `id`
923 923
 
924 924
 Query Parameters:
925 925
 
926
--   **detacheys** – Override the key sequence for detaching a
926
+-   **detachKeys** – Override the key sequence for detaching a
927 927
         container. Format is a single character `[a-Z]` or `ctrl-<value>`
928 928
         where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
929 929
 
... ...
@@ -1138,7 +1139,7 @@ Attach to the container `id`
1138 1138
 
1139 1139
 Query Parameters:
1140 1140
 
1141
--   **detacheys** – Override the key sequence for detaching a
1141
+-   **detachKeys** – Override the key sequence for detaching a
1142 1142
         container. Format is a single character `[a-Z]` or `ctrl-<value>`
1143 1143
         where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
1144 1144
 -   **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
1221 1221
 
1222 1222
 Query Parameters:
1223 1223
 
1224
--   **detacheys** – Override the key sequence for detaching a
1224
+-   **detachKeys** – Override the key sequence for detaching a
1225 1225
         container. Format is a single character `[a-Z]` or `ctrl-<value>`
1226 1226
         where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
1227 1227
 -   **logs** – 1/True/true or 0/False/false, return logs. Default `false`.
... ...
@@ -2501,7 +2502,7 @@ Json Parameters:
2501 2501
 -   **AttachStdin** - Boolean value, attaches to `stdin` of the `exec` command.
2502 2502
 -   **AttachStdout** - Boolean value, attaches to `stdout` of the `exec` command.
2503 2503
 -   **AttachStderr** - Boolean value, attaches to `stderr` of the `exec` command.
2504
--   **Detacheys** – Override the key sequence for detaching a
2504
+-   **DetachKeys** – Override the key sequence for detaching a
2505 2505
         container. Format is a single character `[a-Z]` or `ctrl-<value>`
2506 2506
         where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
2507 2507
 -   **Tty** - Boolean value to allocate a pseudo-TTY.
... ...
@@ -2974,11 +2975,6 @@ Create a network
2974 2974
 **Example request**:
2975 2975
 
2976 2976
 ```
2977
-Create a network
2978
-
2979
-**Example request**:
2980
-
2981
-```
2982 2977
 POST /networks/create HTTP/1.1
2983 2978
 Content-Type: application/json
2984 2979