Browse code

Merge pull request #74 from ncdc/image-api-docs

Merged by openshift-bot

OpenShift Bot authored on 2014/09/13 04:09:58
Showing 10 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,86 @@
0
+{
1
+    "dockerImageRepository": "localhost:5000/someproject/somerepo",
2
+    "image": {
3
+        "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
4
+        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
5
+        "metadata": {
6
+            "Size": 0,
7
+            "architecture": "amd64",
8
+            "config": {
9
+                "AttachStderr": false,
10
+                "AttachStdin": false,
11
+                "AttachStdout": false,
12
+                "Cmd": [
13
+                    "/bin/sh"
14
+                ],
15
+                "CpuShares": 0,
16
+                "Cpuset": "",
17
+                "Domainname": "",
18
+                "Entrypoint": null,
19
+                "Env": [
20
+                    "c=e",
21
+                    "b=2",
22
+                    "a=1",
23
+                    "HOME=/",
24
+                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
25
+                ],
26
+                "ExposedPorts": null,
27
+                "Hostname": "",
28
+                "Image": "",
29
+                "Memory": 0,
30
+                "MemorySwap": 0,
31
+                "NetworkDisabled": false,
32
+                "OnBuild": null,
33
+                "OpenStdin": false,
34
+                "PortSpecs": null,
35
+                "StdinOnce": false,
36
+                "Tty": false,
37
+                "User": "",
38
+                "Volumes": null,
39
+                "WorkingDir": ""
40
+            },
41
+            "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
42
+            "container_config": {
43
+                "AttachStderr": true,
44
+                "AttachStdin": false,
45
+                "AttachStdout": true,
46
+                "Cmd": [
47
+                    "/bin/sh"
48
+                ],
49
+                "CpuShares": 0,
50
+                "Cpuset": "",
51
+                "Domainname": "",
52
+                "Entrypoint": null,
53
+                "Env": [
54
+                    "c=e",
55
+                    "b=2",
56
+                    "a=1",
57
+                    "HOME=/",
58
+                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
59
+                ],
60
+                "ExposedPorts": null,
61
+                "Hostname": "6b03c2dda0f8",
62
+                "Image": "localhost:5000/someproject/somerepo",
63
+                "Memory": 0,
64
+                "MemorySwap": 0,
65
+                "NetworkDisabled": false,
66
+                "OnBuild": null,
67
+                "OpenStdin": false,
68
+                "PortSpecs": null,
69
+                "StdinOnce": false,
70
+                "Tty": false,
71
+                "User": "",
72
+                "Volumes": null,
73
+                "WorkingDir": ""
74
+            },
75
+            "created": "2014-09-04T17:43:39.863545902Z",
76
+            "docker_version": "1.1.2",
77
+            "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
78
+            "os": "linux",
79
+            "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
80
+        }
81
+    },
82
+    "kind": "ImageRepositoryMapping",
83
+    "tag": "latest",
84
+    "version": "v1beta1"
85
+}
0 86
new file mode 100644
... ...
@@ -0,0 +1,12 @@
0
+{
1
+    "apiVersion": "v1beta1",
2
+    "dockerImageRepository": "openshift/ruby-19-centos",
3
+    "id": "test",
4
+    "kind": "ImageRepository",
5
+    "labels": {
6
+        "color": "blue"
7
+    },
8
+    "tags": {
9
+        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
10
+    }
11
+}
... ...
@@ -1,22 +1,64 @@
1 1
 {
2
-  "data":
3
-  {
4
-    "url":"https://registry.hub.docker.com/u/library/nginx",
5
-    "env": [
6
-      {
7
-        "name": "name1",
8
-        "value": "value1"
9
-      },
10
-      {
11
-        "name": "name2",
12
-        "value": "value2"
13
-      }
14
-    ],
15
-    "networkPorts": [
16
-      {
17
-        "hostPort": 8080,
18
-        "containerPort": 80
19
-      }
20
-    ]
21
-  }
2
+    "apiVersion": "v1beta1",
3
+    "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
4
+    "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
5
+    "kind": "Image",
6
+    "metadata": {
7
+        "Size": 0,
8
+        "architecture": "amd64",
9
+        "config": {
10
+            "AttachStderr": false,
11
+            "AttachStdin": false,
12
+            "AttachStdout": false,
13
+            "Cmd": null,
14
+            "CpuShares": 0,
15
+            "Dns": null,
16
+            "Domainname": "",
17
+            "Entrypoint": null,
18
+            "Env": null,
19
+            "ExposedPorts": null,
20
+            "Hostname": "",
21
+            "Image": "",
22
+            "Memory": 0,
23
+            "MemorySwap": 0,
24
+            "NetworkDisabled": false,
25
+            "OpenStdin": false,
26
+            "PortSpecs": null,
27
+            "StdinOnce": false,
28
+            "Tty": false,
29
+            "User": "",
30
+            "Volumes": null,
31
+            "VolumesFrom": "",
32
+            "WorkingDir": ""
33
+        },
34
+        "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
35
+        "containerconfig": {
36
+            "AttachStderr": false,
37
+            "AttachStdin": false,
38
+            "AttachStdout": false,
39
+            "Cmd": null,
40
+            "CpuShares": 0,
41
+            "Dns": null,
42
+            "Domainname": "",
43
+            "Entrypoint": null,
44
+            "Env": null,
45
+            "ExposedPorts": null,
46
+            "Hostname": "",
47
+            "Image": "",
48
+            "Memory": 0,
49
+            "MemorySwap": 0,
50
+            "NetworkDisabled": false,
51
+            "OpenStdin": false,
52
+            "PortSpecs": null,
53
+            "StdinOnce": false,
54
+            "Tty": false,
55
+            "User": "",
56
+            "Volumes": null,
57
+            "VolumesFrom": "",
58
+            "WorkingDir": ""
59
+        },
60
+        "created": "0001-01-01T00:00:00Z",
61
+        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
62
+        "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
63
+    },
22 64
 }
... ...
@@ -1,27 +1,30 @@
1 1
 {
2
-  "list":
3
-  [
4
-    {
5
-      "visibility": "public",
6
-      "domain": "domain",
7
-      "name": "server/domain/nginx",
8
-      "env": [
2
+    "apiVersion": "v1beta1",
3
+    "creationTimestamp": null,
4
+    "items": [
9 5
         {
10
-          "name": "VAR1",
11
-          "value": "value1"
6
+            "creationTimestamp": "2014-09-10T12:23:01-04:00",
7
+            "dockerImageRepository": "localhost:5000/someproject/somerepo",
8
+            "id": "somerepo",
9
+            "resourceVersion": 17,
10
+            "tags": {
11
+                "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
12
+                "latest": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b"
13
+            }
12 14
         },
13 15
         {
14
-          "name": "VAR2",
15
-          "value": "value2"
16
+            "creationTimestamp": "2014-09-10T09:33:42-04:00",
17
+            "dockerImageRepository": "openshift/ruby-19-centos",
18
+            "id": "test",
19
+            "labels": {
20
+                "color": "blue"
21
+            },
22
+            "resourceVersion": 14,
23
+            "tags": {
24
+                "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
25
+            }
16 26
         }
17
-      ],
18
-      "networkPorts": [
19
-        {
20
-          "hostPort": 8080,
21
-          "containerPort": 80
22
-        }
23
-      ],
24
-      "latest":"v5"
25
-    }
26
-  ]
27
+    ],
28
+    "kind": "ImageRepositoryList",
29
+    "resourceVersion": 22
27 30
 }
... ...
@@ -1,25 +1,14 @@
1 1
 {
2
-  "data":
3
-  {
4
-    "visibility": "public",
5
-    "domain": "domain",
6
-    "name": "server/domain/nginx",
7
-    "env": [
8
-      {
9
-        "name": "name1",
10
-        "value": "value1"
11
-      },
12
-      {
13
-        "name": "name2",
14
-        "value": "value2"
15
-      }
16
-    ],
17
-    "networkPorts": [
18
-      {
19
-        "hostPort": 8080,
20
-        "containerPort": 80
21
-      }
22
-    ],
23
-    "latest":"v4"
24
-  }
2
+    "apiVersion": "v1beta1",
3
+    "creationTimestamp": "2014-09-10T09:33:42-04:00",
4
+    "dockerImageRepository": "openshift/ruby-19-centos",
5
+    "id": "test",
6
+    "kind": "ImageRepository",
7
+    "labels": {
8
+        "color": "blue"
9
+    },
10
+    "resourceVersion": 14,
11
+    "tags": {
12
+        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
13
+    }
25 14
 }
... ...
@@ -1,29 +1,66 @@
1 1
 {
2
-  "data":
3
-  {
4
-    "id": "53c4249f076573c0f4000001",
5
-    "name": "nginx-19273412433342",
6
-    "image-stream": "server/domain/nginx",
7
-    "env": [
8
-      {
9
-        "name": "name1",
10
-        "value": "value1"
11
-      },
12
-      {
13
-        "name": "name2",
14
-        "value": "value2"
15
-      }
16
-    ],
17
-    "networkPorts": [
18
-      {
19
-        "hostPort": 8080,
20
-        "containerPort": 80
21
-      }
22
-    ],
23
-    "commands": [
24
-      {
25
-        "memory-dump": "/bin/dump"
26
-      }
27
-    ]
28
-  }
2
+    "apiVersion": "v1beta1",
3
+    "creationTimestamp": "2014-09-10T12:23:24-04:00",
4
+    "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
5
+    "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
6
+    "kind": "Image",
7
+    "metadata": {
8
+        "Size": 0,
9
+        "architecture": "amd64",
10
+        "config": {
11
+            "AttachStderr": false,
12
+            "AttachStdin": false,
13
+            "AttachStdout": false,
14
+            "Cmd": null,
15
+            "CpuShares": 0,
16
+            "Dns": null,
17
+            "Domainname": "",
18
+            "Entrypoint": null,
19
+            "Env": null,
20
+            "ExposedPorts": null,
21
+            "Hostname": "",
22
+            "Image": "",
23
+            "Memory": 0,
24
+            "MemorySwap": 0,
25
+            "NetworkDisabled": false,
26
+            "OpenStdin": false,
27
+            "PortSpecs": null,
28
+            "StdinOnce": false,
29
+            "Tty": false,
30
+            "User": "",
31
+            "Volumes": null,
32
+            "VolumesFrom": "",
33
+            "WorkingDir": ""
34
+        },
35
+        "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
36
+        "containerconfig": {
37
+            "AttachStderr": false,
38
+            "AttachStdin": false,
39
+            "AttachStdout": false,
40
+            "Cmd": null,
41
+            "CpuShares": 0,
42
+            "Dns": null,
43
+            "Domainname": "",
44
+            "Entrypoint": null,
45
+            "Env": null,
46
+            "ExposedPorts": null,
47
+            "Hostname": "",
48
+            "Image": "",
49
+            "Memory": 0,
50
+            "MemorySwap": 0,
51
+            "NetworkDisabled": false,
52
+            "OpenStdin": false,
53
+            "PortSpecs": null,
54
+            "StdinOnce": false,
55
+            "Tty": false,
56
+            "User": "",
57
+            "Volumes": null,
58
+            "VolumesFrom": "",
59
+            "WorkingDir": ""
60
+        },
61
+        "created": "0001-01-01T00:00:00Z",
62
+        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
63
+        "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
64
+    },
65
+    "resourceVersion": 18
29 66
 }
... ...
@@ -1,31 +1,108 @@
1 1
 {
2
-  "data":
3
-  [
4
-    {
5
-      "id": "53c4249f076573c0f4000001",
6
-      "name": "nginx-19273412433342",
7
-      "image-stream": "server/domain/nginx",
8
-      "env": [
2
+    "apiVersion": "v1beta1",
3
+    "creationTimestamp": null,
4
+    "items": [
9 5
         {
10
-          "name": "name1",
11
-          "value": "value1"
6
+            "creationTimestamp": "2014-09-10T09:33:43-04:00",
7
+            "dockerImageReference": "openshift/ruby-19-centos:latest",
8
+            "id": "abcd1234",
9
+            "metadata": {
10
+                "Size": 0,
11
+                "containerconfig": {
12
+                    "AttachStderr": false,
13
+                    "AttachStdin": false,
14
+                    "AttachStdout": false,
15
+                    "Cmd": null,
16
+                    "CpuShares": 0,
17
+                    "Dns": null,
18
+                    "Domainname": "",
19
+                    "Entrypoint": null,
20
+                    "Env": null,
21
+                    "ExposedPorts": null,
22
+                    "Hostname": "",
23
+                    "Image": "",
24
+                    "Memory": 0,
25
+                    "MemorySwap": 0,
26
+                    "NetworkDisabled": false,
27
+                    "OpenStdin": false,
28
+                    "PortSpecs": null,
29
+                    "StdinOnce": false,
30
+                    "Tty": false,
31
+                    "User": "",
32
+                    "Volumes": null,
33
+                    "VolumesFrom": "",
34
+                    "WorkingDir": ""
35
+                },
36
+                "created": "0001-01-01T00:00:00Z",
37
+                "id": ""
38
+            },
39
+            "resourceVersion": 15
12 40
         },
13 41
         {
14
-          "name": "name2",
15
-          "value": "value2"
42
+            "creationTimestamp": "2014-09-10T12:23:24-04:00",
43
+            "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
44
+            "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
45
+            "metadata": {
46
+                "Size": 0,
47
+                "architecture": "amd64",
48
+                "config": {
49
+                    "AttachStderr": false,
50
+                    "AttachStdin": false,
51
+                    "AttachStdout": false,
52
+                    "Cmd": null,
53
+                    "CpuShares": 0,
54
+                    "Dns": null,
55
+                    "Domainname": "",
56
+                    "Entrypoint": null,
57
+                    "Env": null,
58
+                    "ExposedPorts": null,
59
+                    "Hostname": "",
60
+                    "Image": "",
61
+                    "Memory": 0,
62
+                    "MemorySwap": 0,
63
+                    "NetworkDisabled": false,
64
+                    "OpenStdin": false,
65
+                    "PortSpecs": null,
66
+                    "StdinOnce": false,
67
+                    "Tty": false,
68
+                    "User": "",
69
+                    "Volumes": null,
70
+                    "VolumesFrom": "",
71
+                    "WorkingDir": ""
72
+                },
73
+                "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
74
+                "containerconfig": {
75
+                    "AttachStderr": false,
76
+                    "AttachStdin": false,
77
+                    "AttachStdout": false,
78
+                    "Cmd": null,
79
+                    "CpuShares": 0,
80
+                    "Dns": null,
81
+                    "Domainname": "",
82
+                    "Entrypoint": null,
83
+                    "Env": null,
84
+                    "ExposedPorts": null,
85
+                    "Hostname": "",
86
+                    "Image": "",
87
+                    "Memory": 0,
88
+                    "MemorySwap": 0,
89
+                    "NetworkDisabled": false,
90
+                    "OpenStdin": false,
91
+                    "PortSpecs": null,
92
+                    "StdinOnce": false,
93
+                    "Tty": false,
94
+                    "User": "",
95
+                    "Volumes": null,
96
+                    "VolumesFrom": "",
97
+                    "WorkingDir": ""
98
+                },
99
+                "created": "0001-01-01T00:00:00Z",
100
+                "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
101
+                "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
102
+            },
103
+            "resourceVersion": 18
16 104
         }
17
-      ],
18
-      "networkPorts": [
19
-        {
20
-          "hostPort": 8080,
21
-          "containerPort": 80
22
-        }
23
-      ],
24
-      "commands": [
25
-        {
26
-          "memory-dump": "/bin/dump"
27
-        }
28
-      ]
29
-    }
30
-  ]
105
+    ],
106
+    "kind": "ImageList",
107
+    "resourceVersion": 22
31 108
 }
32 109
new file mode 100644
... ...
@@ -0,0 +1,6 @@
0
+{
1
+    "apiVersion": "v1beta1",
2
+    "creationTimestamp": null,
3
+    "kind": "Status",
4
+    "status": "success"
5
+}
... ...
@@ -1,20 +1,20 @@
1
-<!DOCTYPE HTML>
2
-<html>
3
-<head>
4
-    <title>OpenShiftV3 API documentation</title>
5
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
-    <meta name="generator" content="https://github.com/kevinrenskers/raml2html 0.27.0">
8
-
9
-    <script type="text/javascript">
10
-        var protocol = ((document.location.protocol === 'https:') ? 'https:': 'http:');
11
-        document.write('<link rel="stylesheet" href="' + protocol + '//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">');
12
-        document.write('<link rel="stylesheet" href="' + protocol + '//yandex.st/highlightjs/8.0/styles/github.min.css">');
13
-        document.write('<script type="text/javascript" src="' + protocol + '//code.jquery.com/jquery-1.11.0.min.js"><\/sc' + 'ript>');
14
-        document.write('<script type="text/javascript" src="' + protocol + '//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"><\/sc' + 'ript>');
15
-    </script>
16
-
17
-    <style>
1
+<!DOCTYPE HTML><html><head><title>OpenShiftV3 -- Draft API documentation</title><meta http-equiv=X-UA-Compatible content="IE=edge"><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=generator content="https://github.com/kevinrenskers/raml2html 1.0.2"><link rel=stylesheet href=http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css><link rel=stylesheet href=http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/default.min.css><script type=text/javascript src=http://code.jquery.com/jquery-1.11.0.min.js></script><script type=text/javascript src=http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js></script><script type=text/javascript src=http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/highlight.min.js></script><script type=text/javascript>
2
+        $(document).ready(function() {
3
+            $('.page-header pre code, .top-resource-description pre code').each(function(i, block) {
4
+                hljs.highlightBlock(block);
5
+            });
6
+
7
+            $('[data-toggle]').click(function() {
8
+                var selector = $(this).data('target') + ' pre code';
9
+                $(selector).each(function(i, block) {
10
+                    hljs.highlightBlock(block);
11
+                });
12
+            });
13
+        });
14
+    </script><style>
15
+        .hljs {
16
+            background: transparent;
17
+        }
18 18
         .parent {
19 19
             color: #999;
20 20
         }
... ...
@@ -22,7 +22,7 @@
22 22
             float: none;
23 23
             margin-right: 6px;
24 24
         }
25
-        .panel-title > .block > .methods {
25
+        .panel-title > .methods {
26 26
             float: right;
27 27
         }
28 28
         .badge {
... ...
@@ -33,12 +33,6 @@
33 33
             color: #f3f3f6;
34 34
             line-height: normal;
35 35
         }
36
-        .block .badge {
37
-            visibility: hidden;
38
-        }
39
-        .block.collapsed .badge {
40
-            visibility: visible;
41
-        }
42 36
         .badge_get {
43 37
             background-color: #63a8e2;
44 38
         }
... ...
@@ -51,9 +45,6 @@
51 51
         .badge_delete {
52 52
             background-color: #d26460;
53 53
         }
54
-        .block {
55
-            display: block;
56
-        }
57 54
         .list-group, .panel-group {
58 55
             margin-bottom: 0;
59 56
         }
... ...
@@ -92,12 +83,18 @@
92 92
         #sidebar {
93 93
             margin-top: 30px;
94 94
         }
95
-        .resource-description {
95
+        .top-resource-description {
96 96
             border-bottom: 1px solid #ddd;
97 97
             background: #fcfcfc;
98 98
             padding: 15px 15px 0 15px;
99 99
             margin: -15px -15px 10px -15px;
100 100
         }
101
+        .resource-description {
102
+            border-bottom: 1px solid #fcfcfc;
103
+            background: #fcfcfc;
104
+            padding: 15px 15px 0 15px;
105
+            margin: -15px -15px 10px -15px;
106
+        }
101 107
         .list-group .badge {
102 108
             float: left;
103 109
         }
... ...
@@ -107,8390 +104,1857 @@
107 107
         .method_description p:last-child {
108 108
             margin: 0;
109 109
         }
110
-    </style>
111
-</head>
112
-
113
-<body data-spy="scroll" data-target="#sidebar">
114
-    <div class="container">
115
-        <div class="row">
116
-            <div class="col-md-9" role="main">
117
-                <div class="page-header">
118
-                    <h1>OpenShiftV3 API documentation <small>version alpha1</small></h1>
119
-                    <p>http://server/broker/rest</p>
120
-
121
-                    
122
-                        <h3 id="Overview"><a href="#Overview">Overview</a></h3>
123
-                        <p>The 3.x model attempts to expose underlying Docker and Google models as
124
-accurately as possible, with a focus on easy composition of applications
125
-by a developer (install Ruby, push code, add MySQL). Unlike 2.x, more
126
-flexibility of configuration is exposed after creation in all aspects
127
-of the model. Terminology is still being weighed, but the concept of an
128
-application as a separate object is being removed in favor of more flexible
129
-composition of &quot;services&quot; - allowing two web containers to reuse a DB,
130
-or expose a DB directly to the edge of the network.
131
-The existing API will continue to be supported through 3.x,
132
-with concepts mapped as closely as possible to the new model.</p>
133
-
134
-                    
135
-                </div>
136
-
137
-                
138
-                    <div class="panel panel-default">
139
-                        <div class="panel-heading">
140
-                            <h3 id="_projects" class="panel-title">/projects</h3>
141
-                        </div>
142
-
143
-                        <div class="panel-body">
144
-                            
145
-
146
-                            <div class="panel-group">
147
-                                <div class="panel panel-white">
148
-    <div class="panel-heading">
149
-        <h4 class="panel-title">
150
-            <a class="block collapsed" data-toggle="collapse" href="#panel__projects">
151
-                <span class="methods">
152
-                    
153
-                        <span class="badge badge_get">get</span>
154
-                    
155
-                        <span class="badge badge_post">post</span>
156
-                    
157
-                </span>
158
-                <span class="parent"></span>/projects
159
-            </a>
160
-        </h4>
161
-    </div>
162
-    <div id="panel__projects" class="panel-collapse collapse">
163
-        <div class="panel-body">
164
-            <div class="list-group">
165
-                
166
-                    <a href="#" data-toggle="modal" data-target="#_projects_get" class="list-group-item">
167
-                        <span class="badge badge_get">get</span>
168
-                        <div class="method_description">
169
-                            <p>List all projects for your account.</p>
170
-<p>Projects are a similar concept to v2 domains. A project is a grouping of services 
171
-with shared access control and resource limits. Applications can be assembled 
172
-from services in a project by linking them together via service endpoints.</p>
173
-
174
-                        </div>
175
-                        <div class="clearfix"></div>
176
-                    </a>
177
-                
178
-                    <a href="#" data-toggle="modal" data-target="#_projects_post" class="list-group-item">
179
-                        <span class="badge badge_post">post</span>
180
-                        <div class="method_description">
181
-                            <p>Create a new project</p>
182
-
183
-                        </div>
184
-                        <div class="clearfix"></div>
185
-                    </a>
186
-                
187
-            </div>
188
-        </div>
189
-    </div>
190
-
191
-    
192
-        <div class="modal fade" tabindex="0" id="_projects_get">
193
-            <div class="modal-dialog">
194
-                <div class="modal-content">
195
-                    <div class="modal-header">
196
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
197
-                        <h4 class="modal-title" id="myModalLabel">
198
-                            <span class="badge badge_get">get</span>
199
-                            <span class="parent"></span>/projects
200
-                        </h4>
201
-                    </div>
202
-                    <div class="modal-body">
203
-                        <div class="alert alert-info"><p>List all projects for your account.</p>
204
-<p>Projects are a similar concept to v2 domains. A project is a grouping of services 
205
-with shared access control and resource limits. Applications can be assembled 
206
-from services in a project by linking them together via service endpoints.</p>
207
-</div>
208
-
209
-                        <!-- Nav tabs -->
210
-                        <ul class="nav nav-tabs">
211
-                            <li class="active">
212
-                                <a href="#_projects_get_request" data-toggle="tab">Request</a>
213
-                            </li>
214
-                            
215
-                                <li>
216
-                                    <a href="#_projects_get_response" data-toggle="tab">Response</a>
217
-                                </li>
218
-                            
219
-                        </ul>
220
-
221
-                        <!-- Tab panes -->
222
-                        <div class="tab-content">
223
-                            <div class="tab-pane active" id="_projects_get_request">
224
-                                
225
-
226
-                                
227
-
228
-                                
229
-
230
-                                
231
-                            </div>
232
-
233
-                            
234
-                                <div class="tab-pane" id="_projects_get_response">
235
-                                    
236
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
237
-                                        
238
-
239
-                                        
240
-
241
-                                        
242
-                                            <h3>Body</h3>
243
-                                            
244
-                                                <p><strong>Type: application/json</strong></p>
245
-
246
-                                                
247
-
248
-                                                
249
-                                                    <p>
250
-                                                        <small>
251
-                                                            <strong>Example</strong>:
252
-                                                            <pre>{
253
-  "<span class="hljs-attribute">data</span>":
254
-  <span class="hljs-value">[
110
+    </style></head><body data-spy=scroll data-target=#sidebar><div class=container><div class=row><div class=col-md-9 role=main><div class=page-header><h1>OpenShiftV3 -- Draft API documentation <small>version alpha</small></h1><p>http://server/broker/rest</p><h3 id=Overview><a href=#Overview>Overview</a></h3><p>The 3.x model attempts to expose underlying Docker and Google models as accurately as possible, with a focus on easy composition of applications by a developer (install Ruby, push code, add MySQL). Unlike 2.x, more flexibility of configuration is exposed after creation in all aspects of the model. Terminology is still being weighed, but the concept of an application as a separate object is being removed in favor of more flexible composition of "services" - allowing two web containers to reuse a DB, or expose a DB directly to the edge of the network. The existing API will continue to be supported through 3.x, with concepts mapped as closely as possible to the new model.</p></div><div class="panel panel-default"><div class=panel-heading><h3 id=_projects class=panel-title>/projects</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__projects><span class=parent></span>/projects</a> <span class=methods><a href=# data-toggle=modal data-target=#_projects_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_projects_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__projects class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_projects_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all projects for your account.</p><p>Projects are a similar concept to v2 domains. A project is a grouping of services with shared access control and resource limits. Applications can be assembled from services in a project by linking them together via service endpoints.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_projects_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new project</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_projects_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/projects</h4></div><div class=modal-body><div class="alert alert-info"><p>List all projects for your account.</p><p>Projects are a similar concept to v2 domains. A project is a grouping of services with shared access control and resource limits. Applications can be assembled from services in a project by linking them together via service endpoints.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_projects_get_request data-toggle=tab>Request</a></li><li><a href=#_projects_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_projects_get_request></div><div class=tab-pane id=_projects_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
111
+  "data":
112
+  [
255 113
     {
256
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
257
-      "<span class="hljs-attribute">suffix</span>": <span class="hljs-value"><span class="hljs-string">"dev.rhcloud.com"</span></span>,
258
-      "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"mydomain"</span></span>,
259
-      "<span class="hljs-attribute">members</span>": <span class="hljs-value">[
114
+      "id": "53c4249f076573c0f4000001",
115
+      "suffix": "dev.rhcloud.com",
116
+      "name": "mydomain",
117
+      "members": [
260 118
          {
261
-           "<span class="hljs-attribute">login</span>": <span class="hljs-value"><span class="hljs-string">"adminuser"</span></span>,
262
-           "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"admin"</span></span>,
263
-           "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"user"</span></span>,
264
-           "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
265
-         </span>}
119
+           "login": "adminuser",
120
+           "role": "admin",
121
+           "type": "user",
122
+           "owner": true
123
+         }
266 124
       ]
267
-    </span>},
125
+    },
268 126
     {
269
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"54c4259f076573c0f4000023"</span></span>,
270
-      "<span class="hljs-attribute">suffix</span>": <span class="hljs-value"><span class="hljs-string">"dev.rhcloud.com"</span></span>,
271
-      "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"appdomain"</span></span>,
272
-      "<span class="hljs-attribute">members</span>": <span class="hljs-value">[
127
+      "id": "54c4259f076573c0f4000023",
128
+      "suffix": "dev.rhcloud.com",
129
+      "name": "appdomain",
130
+      "members": [
273 131
          {
274
-           "<span class="hljs-attribute">login</span>": <span class="hljs-value"><span class="hljs-string">"adminuser"</span></span>,
275
-           "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"admin"</span></span>,
276
-           "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"user"</span></span>,
277
-           "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
278
-         </span>}
132
+           "login": "adminuser",
133
+           "role": "admin",
134
+           "type": "user",
135
+           "owner": true
136
+         }
279 137
       ]
280
-    </span>}
138
+    }
281 139
   ]
282
-</span>}
283
-</pre>
284
-                                                        </small>
285
-                                                    </p>
286
-                                                
287
-                                            
288
-                                        
289
-                                    
290
-                                </div>
291
-                            
292
-                        </div>
293
-                    </div>
294
-                </div>
295
-            </div>
296
-        </div>
297
-    
298
-        <div class="modal fade" tabindex="0" id="_projects_post">
299
-            <div class="modal-dialog">
300
-                <div class="modal-content">
301
-                    <div class="modal-header">
302
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
303
-                        <h4 class="modal-title" id="myModalLabel">
304
-                            <span class="badge badge_post">post</span>
305
-                            <span class="parent"></span>/projects
306
-                        </h4>
307
-                    </div>
308
-                    <div class="modal-body">
309
-                        <div class="alert alert-info"><p>Create a new project</p>
310
-</div>
311
-
312
-                        <!-- Nav tabs -->
313
-                        <ul class="nav nav-tabs">
314
-                            <li class="active">
315
-                                <a href="#_projects_post_request" data-toggle="tab">Request</a>
316
-                            </li>
317
-                            
318
-                        </ul>
319
-
320
-                        <!-- Tab panes -->
321
-                        <div class="tab-content">
322
-                            <div class="tab-pane active" id="_projects_post_request">
323
-                                
324
-
325
-                                
326
-
327
-                                
328
-
329
-                                
330
-                                    <h3>Body</h3>
331
-                                    
332
-                                        <p><strong>Type: application/json</strong></p>
333
-                                        
334
-
335
-                                        
336
-
337
-                                        
338
-                                            <p>
339
-                                                <small>
340
-                                                    <strong>Example</strong>:
341
-                                                    <pre>{
342
-  "<span class="hljs-attribute">data</span>":
343
-  <span class="hljs-value">{
344
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
345
-    "<span class="hljs-attribute">suffix</span>": <span class="hljs-value"><span class="hljs-string">"dev.rhcloud.com"</span></span>,
346
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"myproject"</span></span>,
347
-    "<span class="hljs-attribute">members</span>": <span class="hljs-value">[
140
+}
141
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_projects_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/projects</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new project</p></div><ul class="nav nav-tabs"><li class=active><a href=#_projects_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_projects_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
142
+  "data":
143
+  {
144
+    "id": "53c4249f076573c0f4000001",
145
+    "suffix": "dev.rhcloud.com",
146
+    "name": "myproject",
147
+    "members": [
348 148
        {
349
-         "<span class="hljs-attribute">login</span>": <span class="hljs-value"><span class="hljs-string">"adminuser"</span></span>,
350
-         "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"admin"</span></span>,
351
-         "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"user"</span></span>,
352
-         "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
353
-       </span>}
149
+         "login": "adminuser",
150
+         "role": "admin",
151
+         "type": "user",
152
+         "owner": true
153
+       }
354 154
     ]
355
-  </span>}
356
-</span>}
357
-</pre>
358
-                                                </small>
359
-                                            </p>
360
-                                        
361
-                                    
362
-                                
363
-                            </div>
364
-
365
-                            
366
-                        </div>
367
-                    </div>
368
-                </div>
369
-            </div>
370
-        </div>
371
-    
372
-</div>
373
-
374
-
375
-
376
-                            </div>
377
-                        </div>
378
-                    </div>
379
-                
380
-                    <div class="panel panel-default">
381
-                        <div class="panel-heading">
382
-                            <h3 id="_project__projectID_" class="panel-title">/project/{projectID}</h3>
383
-                        </div>
384
-
385
-                        <div class="panel-body">
386
-                            
387
-
388
-                            <div class="panel-group">
389
-                                <div class="panel panel-white">
390
-    <div class="panel-heading">
391
-        <h4 class="panel-title">
392
-            <a class="block collapsed" data-toggle="collapse" href="#panel__project__projectID_">
393
-                <span class="methods">
394
-                    
395
-                        <span class="badge badge_get">get</span>
396
-                    
397
-                        <span class="badge badge_put">put</span>
398
-                    
399
-                        <span class="badge badge_delete">delete</span>
400
-                    
401
-                        <span class="badge badge_post">post</span>
402
-                    
403
-                </span>
404
-                <span class="parent"></span>/project/{projectID}
405
-            </a>
406
-        </h4>
407
-    </div>
408
-    <div id="panel__project__projectID_" class="panel-collapse collapse">
409
-        <div class="panel-body">
410
-            <div class="list-group">
411
-                
412
-                    <a href="#" data-toggle="modal" data-target="#_project__projectID__get" class="list-group-item">
413
-                        <span class="badge badge_get">get</span>
414
-                        <div class="method_description">
415
-                            <p>Get a specific project</p>
416
-
417
-                        </div>
418
-                        <div class="clearfix"></div>
419
-                    </a>
420
-                
421
-                    <a href="#" data-toggle="modal" data-target="#_project__projectID__put" class="list-group-item">
422
-                        <span class="badge badge_put">put</span>
423
-                        <div class="method_description">
424
-                            <p>Update a project</p>
425
-
426
-                        </div>
427
-                        <div class="clearfix"></div>
428
-                    </a>
429
-                
430
-                    <a href="#" data-toggle="modal" data-target="#_project__projectID__delete" class="list-group-item">
431
-                        <span class="badge badge_delete">delete</span>
432
-                        <div class="method_description">
433
-                            <p>Delete a project</p>
434
-
435
-                        </div>
436
-                        <div class="clearfix"></div>
437
-                    </a>
438
-                
439
-                    <a href="#" data-toggle="modal" data-target="#_project__projectID__post" class="list-group-item">
440
-                        <span class="badge badge_post">post</span>
441
-                        <div class="method_description">
442
-                            <p>Instantiate a template in the given project</p>
443
-
444
-                        </div>
445
-                        <div class="clearfix"></div>
446
-                    </a>
447
-                
448
-            </div>
449
-        </div>
450
-    </div>
451
-
452
-    
453
-        <div class="modal fade" tabindex="0" id="_project__projectID__get">
454
-            <div class="modal-dialog">
455
-                <div class="modal-content">
456
-                    <div class="modal-header">
457
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
458
-                        <h4 class="modal-title" id="myModalLabel">
459
-                            <span class="badge badge_get">get</span>
460
-                            <span class="parent"></span>/project/{projectID}
461
-                        </h4>
462
-                    </div>
463
-                    <div class="modal-body">
464
-                        <div class="alert alert-info"><p>Get a specific project</p>
465
-</div>
466
-
467
-                        <!-- Nav tabs -->
468
-                        <ul class="nav nav-tabs">
469
-                            <li class="active">
470
-                                <a href="#_project__projectID__get_request" data-toggle="tab">Request</a>
471
-                            </li>
472
-                            
473
-                                <li>
474
-                                    <a href="#_project__projectID__get_response" data-toggle="tab">Response</a>
475
-                                </li>
476
-                            
477
-                        </ul>
478
-
479
-                        <!-- Tab panes -->
480
-                        <div class="tab-content">
481
-                            <div class="tab-pane active" id="_project__projectID__get_request">
482
-                                
483
-                                    <h3>URI Parameters</h3>
484
-                                    <ul>
485
-                                        
486
-                                            <li>
487
-                                                <strong>projectID</strong>:
488
-                                                <em>
489
-                                                    
490
-                                                        required
491
-                                                    
492
-                                                    (string)
493
-                                                </em>
494
-
495
-                                                
496
-                                            </li>
497
-                                        
498
-                                    </ul>
499
-                                
500
-
501
-                                
502
-
503
-                                
504
-
505
-                                
506
-                            </div>
507
-
508
-                            
509
-                                <div class="tab-pane" id="_project__projectID__get_response">
510
-                                    
511
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
512
-                                        
513
-
514
-                                        
515
-
516
-                                        
517
-                                            <h3>Body</h3>
518
-                                            
519
-                                                <p><strong>Type: application/json</strong></p>
520
-
521
-                                                
522
-
523
-                                                
524
-                                                    <p>
525
-                                                        <small>
526
-                                                            <strong>Example</strong>:
527
-                                                            <pre>{
528
-  "<span class="hljs-attribute">data</span>":
529
-  <span class="hljs-value">{
530
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
531
-    "<span class="hljs-attribute">suffix</span>": <span class="hljs-value"><span class="hljs-string">"dev.rhcloud.com"</span></span>,
532
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"myproject"</span></span>,
533
-    "<span class="hljs-attribute">members</span>": <span class="hljs-value">[
155
+  }
156
+}
157
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_project__projectID_ class=panel-title>/project/{projectID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__project__projectID_><span class=parent></span>/project/{projectID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_project__projectID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_project__projectID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_project__projectID__delete><span class="badge badge_delete">delete</span></a> <a href=# data-toggle=modal data-target=#_project__projectID__post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__project__projectID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_project__projectID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific project</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_project__projectID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a project</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_project__projectID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a project</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_project__projectID__post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Instantiate a template in the given project</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_project__projectID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/project/{projectID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific project</p></div><ul class="nav nav-tabs"><li class=active><a href=#_project__projectID__get_request data-toggle=tab>Request</a></li><li><a href=#_project__projectID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_project__projectID__get_request><h3>URI Parameters</h3><ul><li><strong>projectID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_project__projectID__get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
158
+  "data":
159
+  {
160
+    "id": "53c4249f076573c0f4000001",
161
+    "suffix": "dev.rhcloud.com",
162
+    "name": "myproject",
163
+    "members": [
534 164
        {
535
-         "<span class="hljs-attribute">login</span>": <span class="hljs-value"><span class="hljs-string">"adminuser"</span></span>,
536
-         "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"admin"</span></span>,
537
-         "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"user"</span></span>,
538
-         "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
539
-       </span>}
165
+         "login": "adminuser",
166
+         "role": "admin",
167
+         "type": "user",
168
+         "owner": true
169
+       }
540 170
     ]
541
-  </span>}
542
-</span>}
543
-</pre>
544
-                                                        </small>
545
-                                                    </p>
546
-                                                
547
-                                            
548
-                                        
549
-                                    
550
-                                </div>
551
-                            
552
-                        </div>
553
-                    </div>
554
-                </div>
555
-            </div>
556
-        </div>
557
-    
558
-        <div class="modal fade" tabindex="0" id="_project__projectID__put">
559
-            <div class="modal-dialog">
560
-                <div class="modal-content">
561
-                    <div class="modal-header">
562
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
563
-                        <h4 class="modal-title" id="myModalLabel">
564
-                            <span class="badge badge_put">put</span>
565
-                            <span class="parent"></span>/project/{projectID}
566
-                        </h4>
567
-                    </div>
568
-                    <div class="modal-body">
569
-                        <div class="alert alert-info"><p>Update a project</p>
570
-</div>
571
-
572
-                        <!-- Nav tabs -->
573
-                        <ul class="nav nav-tabs">
574
-                            <li class="active">
575
-                                <a href="#_project__projectID__put_request" data-toggle="tab">Request</a>
576
-                            </li>
577
-                            
578
-                        </ul>
579
-
580
-                        <!-- Tab panes -->
581
-                        <div class="tab-content">
582
-                            <div class="tab-pane active" id="_project__projectID__put_request">
583
-                                
584
-                                    <h3>URI Parameters</h3>
585
-                                    <ul>
586
-                                        
587
-                                            <li>
588
-                                                <strong>projectID</strong>:
589
-                                                <em>
590
-                                                    
591
-                                                        required
592
-                                                    
593
-                                                    (string)
594
-                                                </em>
595
-
596
-                                                
597
-                                            </li>
598
-                                        
599
-                                    </ul>
600
-                                
601
-
602
-                                
603
-
604
-                                
605
-
606
-                                
607
-                                    <h3>Body</h3>
608
-                                    
609
-                                        <p><strong>Type: application/json</strong></p>
610
-                                        
611
-
612
-                                        
613
-
614
-                                        
615
-                                            <p>
616
-                                                <small>
617
-                                                    <strong>Example</strong>:
618
-                                                    <pre>{
619
-  "<span class="hljs-attribute">data</span>":
620
-  <span class="hljs-value">{
621
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
622
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"newproject-name"</span>
623
-  </span>}
624
-</span>}
625
-</pre>
626
-                                                </small>
627
-                                            </p>
628
-                                        
629
-                                    
630
-                                
631
-                            </div>
632
-
633
-                            
634
-                        </div>
635
-                    </div>
636
-                </div>
637
-            </div>
638
-        </div>
639
-    
640
-        <div class="modal fade" tabindex="0" id="_project__projectID__delete">
641
-            <div class="modal-dialog">
642
-                <div class="modal-content">
643
-                    <div class="modal-header">
644
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
645
-                        <h4 class="modal-title" id="myModalLabel">
646
-                            <span class="badge badge_delete">delete</span>
647
-                            <span class="parent"></span>/project/{projectID}
648
-                        </h4>
649
-                    </div>
650
-                    <div class="modal-body">
651
-                        <div class="alert alert-info"><p>Delete a project</p>
652
-</div>
653
-
654
-                        <!-- Nav tabs -->
655
-                        <ul class="nav nav-tabs">
656
-                            <li class="active">
657
-                                <a href="#_project__projectID__delete_request" data-toggle="tab">Request</a>
658
-                            </li>
659
-                            
660
-                                <li>
661
-                                    <a href="#_project__projectID__delete_response" data-toggle="tab">Response</a>
662
-                                </li>
663
-                            
664
-                        </ul>
665
-
666
-                        <!-- Tab panes -->
667
-                        <div class="tab-content">
668
-                            <div class="tab-pane active" id="_project__projectID__delete_request">
669
-                                
670
-                                    <h3>URI Parameters</h3>
671
-                                    <ul>
672
-                                        
673
-                                            <li>
674
-                                                <strong>projectID</strong>:
675
-                                                <em>
676
-                                                    
677
-                                                        required
678
-                                                    
679
-                                                    (string)
680
-                                                </em>
681
-
682
-                                                
683
-                                            </li>
684
-                                        
685
-                                    </ul>
686
-                                
687
-
688
-                                
689
-
690
-                                
691
-
692
-                                
693
-                            </div>
694
-
695
-                            
696
-                                <div class="tab-pane" id="_project__projectID__delete_response">
697
-                                    
698
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
699
-                                        
700
-
701
-                                        
702
-
703
-                                        
704
-                                            <h3>Body</h3>
705
-                                            
706
-                                                <p><strong>Type: application/json</strong></p>
707
-
708
-                                                
709
-
710
-                                                
711
-                                                    <p>
712
-                                                        <small>
713
-                                                            <strong>Example</strong>:
714
-                                                            <pre>{
715
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
716
-</span>}
717
-</pre>
718
-                                                        </small>
719
-                                                    </p>
720
-                                                
721
-                                            
722
-                                        
723
-                                    
724
-                                </div>
725
-                            
726
-                        </div>
727
-                    </div>
728
-                </div>
729
-            </div>
730
-        </div>
731
-    
732
-        <div class="modal fade" tabindex="0" id="_project__projectID__post">
733
-            <div class="modal-dialog">
734
-                <div class="modal-content">
735
-                    <div class="modal-header">
736
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
737
-                        <h4 class="modal-title" id="myModalLabel">
738
-                            <span class="badge badge_post">post</span>
739
-                            <span class="parent"></span>/project/{projectID}
740
-                        </h4>
741
-                    </div>
742
-                    <div class="modal-body">
743
-                        <div class="alert alert-info"><p>Instantiate a template in the given project</p>
744
-</div>
745
-
746
-                        <!-- Nav tabs -->
747
-                        <ul class="nav nav-tabs">
748
-                            <li class="active">
749
-                                <a href="#_project__projectID__post_request" data-toggle="tab">Request</a>
750
-                            </li>
751
-                            
752
-                        </ul>
753
-
754
-                        <!-- Tab panes -->
755
-                        <div class="tab-content">
756
-                            <div class="tab-pane active" id="_project__projectID__post_request">
757
-                                
758
-                                    <h3>URI Parameters</h3>
759
-                                    <ul>
760
-                                        
761
-                                            <li>
762
-                                                <strong>projectID</strong>:
763
-                                                <em>
764
-                                                    
765
-                                                        required
766
-                                                    
767
-                                                    (string)
768
-                                                </em>
769
-
770
-                                                
771
-                                            </li>
772
-                                        
773
-                                    </ul>
774
-                                
775
-
776
-                                
777
-
778
-                                
779
-
780
-                                
781
-                                    <h3>Body</h3>
782
-                                    
783
-                                        <p><strong>Type: application/json</strong></p>
784
-                                        
785
-
786
-                                        
787
-
788
-                                        
789
-                                            <p>
790
-                                                <small>
791
-                                                    <strong>Example</strong>:
792
-                                                    <pre>{
793
-  "<span class="hljs-attribute">templateId</span>": <span class="hljs-value"><span class="hljs-string">"the-template-id"</span>
794
-</span>}
795
-</pre>
796
-                                                </small>
797
-                                            </p>
798
-                                        
799
-                                    
800
-                                
801
-                            </div>
802
-
803
-                            
804
-                        </div>
805
-                    </div>
806
-                </div>
807
-            </div>
808
-        </div>
809
-    
810
-</div>
811
-
812
-
813
-
814
-                            </div>
815
-                        </div>
816
-                    </div>
817
-                
818
-                    <div class="panel panel-default">
819
-                        <div class="panel-heading">
820
-                            <h3 id="_image_repositories" class="panel-title">/image-repositories</h3>
821
-                        </div>
822
-
823
-                        <div class="panel-body">
824
-                            
825
-
826
-                            <div class="panel-group">
827
-                                <div class="panel panel-white">
828
-    <div class="panel-heading">
829
-        <h4 class="panel-title">
830
-            <a class="block collapsed" data-toggle="collapse" href="#panel__image_repositories">
831
-                <span class="methods">
832
-                    
833
-                        <span class="badge badge_get">get</span>
834
-                    
835
-                        <span class="badge badge_post">post</span>
836
-                    
837
-                </span>
838
-                <span class="parent"></span>/image-repositories
839
-            </a>
840
-        </h4>
841
-    </div>
842
-    <div id="panel__image_repositories" class="panel-collapse collapse">
843
-        <div class="panel-body">
844
-            <div class="list-group">
845
-                
846
-                    <a href="#" data-toggle="modal" data-target="#_image_repositories_get" class="list-group-item">
847
-                        <span class="badge badge_get">get</span>
848
-                        <div class="method_description">
849
-                            <p>Lists all image repositories that you have access to.</p>
850
-<p>An image repository is a collection of images that share the same metadata. It contains 
851
-multiple versions of an image as it evolves over time with new builds of the codebase. 
852
-An image repository may be associated with a build which can be triggered by an event such
853
-as a commit to a source repository. The build will then push a new image on to the repository.</p>
854
-
855
-                        </div>
856
-                        <div class="clearfix"></div>
857
-                    </a>
858
-                
859
-                    <a href="#" data-toggle="modal" data-target="#_image_repositories_post" class="list-group-item">
860
-                        <span class="badge badge_post">post</span>
861
-                        <div class="method_description">
862
-                            <p>Create a new image repository</p>
863
-
864
-                        </div>
865
-                        <div class="clearfix"></div>
866
-                    </a>
867
-                
868
-            </div>
869
-        </div>
870
-    </div>
871
-
872
-    
873
-        <div class="modal fade" tabindex="0" id="_image_repositories_get">
874
-            <div class="modal-dialog">
875
-                <div class="modal-content">
876
-                    <div class="modal-header">
877
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
878
-                        <h4 class="modal-title" id="myModalLabel">
879
-                            <span class="badge badge_get">get</span>
880
-                            <span class="parent"></span>/image-repositories
881
-                        </h4>
882
-                    </div>
883
-                    <div class="modal-body">
884
-                        <div class="alert alert-info"><p>Lists all image repositories that you have access to.</p>
885
-<p>An image repository is a collection of images that share the same metadata. It contains 
886
-multiple versions of an image as it evolves over time with new builds of the codebase. 
887
-An image repository may be associated with a build which can be triggered by an event such
888
-as a commit to a source repository. The build will then push a new image on to the repository.</p>
889
-</div>
890
-
891
-                        <!-- Nav tabs -->
892
-                        <ul class="nav nav-tabs">
893
-                            <li class="active">
894
-                                <a href="#_image_repositories_get_request" data-toggle="tab">Request</a>
895
-                            </li>
896
-                            
897
-                                <li>
898
-                                    <a href="#_image_repositories_get_response" data-toggle="tab">Response</a>
899
-                                </li>
900
-                            
901
-                        </ul>
902
-
903
-                        <!-- Tab panes -->
904
-                        <div class="tab-content">
905
-                            <div class="tab-pane active" id="_image_repositories_get_request">
906
-                                
907
-
908
-                                
909
-
910
-                                
911
-                                    <h3>Query Parameters</h3>
912
-                                    <ul>
913
-                                        
914
-                                            <li>
915
-                                                <strong>projectId</strong>
916
-                                                <em>
917
-                                                    
918
-                                                    
919
-                                                        (string)
920
-                                                    
921
-                                                </em>
922
-
923
-                                                <p>Filter list by project</p>
924
-
925
-
926
-                                                
927
-
928
-                                                
929
-                                            </li>
930
-                                        
931
-                                            <li>
932
-                                                <strong>visibility</strong>
933
-                                                <em>
934
-                                                    
935
-                                                    
936
-                                                        (string)
937
-                                                    
938
-                                                </em>
939
-
940
-                                                <p>Filter by visibility (public, private)</p>
941
-
942
-
943
-                                                
944
-
945
-                                                
946
-                                            </li>
947
-                                        
948
-                                    </ul>
949
-                                
950
-
951
-                                
952
-                            </div>
953
-
954
-                            
955
-                                <div class="tab-pane" id="_image_repositories_get_response">
956
-                                    
957
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
958
-                                        
959
-
960
-                                        
961
-
962
-                                        
963
-                                            <h3>Body</h3>
964
-                                            
965
-                                                <p><strong>Type: application/json</strong></p>
966
-
967
-                                                
968
-
969
-                                                
970
-                                                    <p>
971
-                                                        <small>
972
-                                                            <strong>Example</strong>:
973
-                                                            <pre>{
974
-  "<span class="hljs-attribute">list</span>":
975
-  <span class="hljs-value">[
976
-    {
977
-      "<span class="hljs-attribute">visibility</span>": <span class="hljs-value"><span class="hljs-string">"public"</span></span>,
978
-      "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain"</span></span>,
979
-      "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/nginx"</span></span>,
980
-      "<span class="hljs-attribute">environment</span>": 
981
-      <span class="hljs-value">{
982
-        "<span class="hljs-attribute">VAR1</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span></span>,
983
-        "<span class="hljs-attribute">VAR2</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span>
984
-      </span>}</span>,
985
-      "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
171
+  }
172
+}
173
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_project__projectID__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent></span>/project/{projectID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a project</p></div><ul class="nav nav-tabs"><li class=active><a href=#_project__projectID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_project__projectID__put_request><h3>URI Parameters</h3><ul><li><strong>projectID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
174
+  "data":
175
+  {
176
+    "id": "53c4249f076573c0f4000001",
177
+    "name": "newproject-name"
178
+  }
179
+}
180
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_project__projectID__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/project/{projectID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a project</p></div><ul class="nav nav-tabs"><li class=active><a href=#_project__projectID__delete_request data-toggle=tab>Request</a></li><li><a href=#_project__projectID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_project__projectID__delete_request><h3>URI Parameters</h3><ul><li><strong>projectID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_project__projectID__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
181
+    "apiVersion": "v1beta1",
182
+    "creationTimestamp": null,
183
+    "kind": "Status",
184
+    "status": "success"
185
+}
186
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_project__projectID__post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/project/{projectID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Instantiate a template in the given project</p></div><ul class="nav nav-tabs"><li class=active><a href=#_project__projectID__post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_project__projectID__post_request><h3>URI Parameters</h3><ul><li><strong>projectID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
187
+  "templateId": "the-template-id"
188
+}
189
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_imageRepositories class=panel-title>/imageRepositories</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__imageRepositories><span class=parent></span>/imageRepositories</a> <span class=methods><a href=# data-toggle=modal data-target=#_imageRepositories_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_imageRepositories_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__imageRepositories class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_imageRepositories_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Lists all image repositories.</p><p>An image repository is a collection of images that share the same metadata. It may reference a Docker image repository on a Docker registry, but this is optional. An image repository also contains a mapping of tags to images.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_imageRepositories_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new image repository</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_imageRepositories_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/imageRepositories</h4></div><div class=modal-body><div class="alert alert-info"><p>Lists all image repositories.</p><p>An image repository is a collection of images that share the same metadata. It may reference a Docker image repository on a Docker registry, but this is optional. An image repository also contains a mapping of tags to images.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_imageRepositories_get_request data-toggle=tab>Request</a></li><li><a href=#_imageRepositories_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_imageRepositories_get_request></div><div class=tab-pane id=_imageRepositories_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
190
+    "apiVersion": "v1beta1",
191
+    "creationTimestamp": null,
192
+    "items": [
986 193
         {
987
-          "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
988
-          "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
989
-        </span>}
990
-      ]</span>,
991
-      "<span class="hljs-attribute">latest</span>":<span class="hljs-value"><span class="hljs-string">"v5"</span>
992
-    </span>}
993
-  ]
994
-</span>}
995
-</pre>
996
-                                                        </small>
997
-                                                    </p>
998
-                                                
999
-                                            
1000
-                                        
1001
-                                    
1002
-                                </div>
1003
-                            
1004
-                        </div>
1005
-                    </div>
1006
-                </div>
1007
-            </div>
1008
-        </div>
1009
-    
1010
-        <div class="modal fade" tabindex="0" id="_image_repositories_post">
1011
-            <div class="modal-dialog">
1012
-                <div class="modal-content">
1013
-                    <div class="modal-header">
1014
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1015
-                        <h4 class="modal-title" id="myModalLabel">
1016
-                            <span class="badge badge_post">post</span>
1017
-                            <span class="parent"></span>/image-repositories
1018
-                        </h4>
1019
-                    </div>
1020
-                    <div class="modal-body">
1021
-                        <div class="alert alert-info"><p>Create a new image repository</p>
1022
-</div>
1023
-
1024
-                        <!-- Nav tabs -->
1025
-                        <ul class="nav nav-tabs">
1026
-                            <li class="active">
1027
-                                <a href="#_image_repositories_post_request" data-toggle="tab">Request</a>
1028
-                            </li>
1029
-                            
1030
-                        </ul>
1031
-
1032
-                        <!-- Tab panes -->
1033
-                        <div class="tab-content">
1034
-                            <div class="tab-pane active" id="_image_repositories_post_request">
1035
-                                
1036
-
1037
-                                
1038
-
1039
-                                
1040
-
1041
-                                
1042
-                                    <h3>Body</h3>
1043
-                                    
1044
-                                        <p><strong>Type: application/json</strong></p>
1045
-                                        
1046
-
1047
-                                        
1048
-
1049
-                                        
1050
-                                            <p>
1051
-                                                <small>
1052
-                                                    <strong>Example</strong>:
1053
-                                                    <pre>{
1054
-  "<span class="hljs-attribute">data</span>":
1055
-  <span class="hljs-value">{
1056
-    "<span class="hljs-attribute">visibility</span>": <span class="hljs-value"><span class="hljs-string">"public"</span></span>,
1057
-    "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain"</span></span>,
1058
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/nginx"</span></span>,
1059
-    "<span class="hljs-attribute">environment</span>": 
1060
-    <span class="hljs-value">{
1061
-      "<span class="hljs-attribute">name1</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span></span>,
1062
-      "<span class="hljs-attribute">name2</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span>
1063
-    </span>}</span>,
1064
-    "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
1065
-      {
1066
-        "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
1067
-        "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
1068
-      </span>}
1069
-    ]</span>,
1070
-    "<span class="hljs-attribute">latest</span>":<span class="hljs-value"><span class="hljs-string">"v4"</span>
1071
-  </span>}
1072
-</span>}
1073
-</pre>
1074
-                                                </small>
1075
-                                            </p>
1076
-                                        
1077
-                                    
1078
-                                
1079
-                            </div>
1080
-
1081
-                            
1082
-                        </div>
1083
-                    </div>
1084
-                </div>
1085
-            </div>
1086
-        </div>
1087
-    
1088
-</div>
1089
-
1090
-
1091
-
1092
-                            </div>
1093
-                        </div>
1094
-                    </div>
1095
-                
1096
-                    <div class="panel panel-default">
1097
-                        <div class="panel-heading">
1098
-                            <h3 id="_image_repository__repositoryID_" class="panel-title">/image-repository/{repositoryID}</h3>
1099
-                        </div>
1100
-
1101
-                        <div class="panel-body">
1102
-                            
1103
-
1104
-                            <div class="panel-group">
1105
-                                <div class="panel panel-white">
1106
-    <div class="panel-heading">
1107
-        <h4 class="panel-title">
1108
-            <a class="block collapsed" data-toggle="collapse" href="#panel__image_repository__repositoryID_">
1109
-                <span class="methods">
1110
-                    
1111
-                        <span class="badge badge_get">get</span>
1112
-                    
1113
-                        <span class="badge badge_put">put</span>
1114
-                    
1115
-                        <span class="badge badge_delete">delete</span>
1116
-                    
1117
-                </span>
1118
-                <span class="parent"></span>/image-repository/{repositoryID}
1119
-            </a>
1120
-        </h4>
1121
-    </div>
1122
-    <div id="panel__image_repository__repositoryID_" class="panel-collapse collapse">
1123
-        <div class="panel-body">
1124
-            <div class="list-group">
1125
-                
1126
-                    <a href="#" data-toggle="modal" data-target="#_image_repository__repositoryID__get" class="list-group-item">
1127
-                        <span class="badge badge_get">get</span>
1128
-                        <div class="method_description">
1129
-                            <p>Get information about an image repository</p>
1130
-
1131
-                        </div>
1132
-                        <div class="clearfix"></div>
1133
-                    </a>
1134
-                
1135
-                    <a href="#" data-toggle="modal" data-target="#_image_repository__repositoryID__put" class="list-group-item">
1136
-                        <span class="badge badge_put">put</span>
1137
-                        <div class="method_description">
1138
-                            <p>Update an image repository</p>
1139
-
1140
-                        </div>
1141
-                        <div class="clearfix"></div>
1142
-                    </a>
1143
-                
1144
-                    <a href="#" data-toggle="modal" data-target="#_image_repository__repositoryID__delete" class="list-group-item">
1145
-                        <span class="badge badge_delete">delete</span>
1146
-                        <div class="method_description">
1147
-                            <p>Delete an image repository</p>
1148
-
1149
-                        </div>
1150
-                        <div class="clearfix"></div>
1151
-                    </a>
1152
-                
1153
-            </div>
1154
-        </div>
1155
-    </div>
1156
-
1157
-    
1158
-        <div class="modal fade" tabindex="0" id="_image_repository__repositoryID__get">
1159
-            <div class="modal-dialog">
1160
-                <div class="modal-content">
1161
-                    <div class="modal-header">
1162
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1163
-                        <h4 class="modal-title" id="myModalLabel">
1164
-                            <span class="badge badge_get">get</span>
1165
-                            <span class="parent"></span>/image-repository/{repositoryID}
1166
-                        </h4>
1167
-                    </div>
1168
-                    <div class="modal-body">
1169
-                        <div class="alert alert-info"><p>Get information about an image repository</p>
1170
-</div>
1171
-
1172
-                        <!-- Nav tabs -->
1173
-                        <ul class="nav nav-tabs">
1174
-                            <li class="active">
1175
-                                <a href="#_image_repository__repositoryID__get_request" data-toggle="tab">Request</a>
1176
-                            </li>
1177
-                            
1178
-                        </ul>
1179
-
1180
-                        <!-- Tab panes -->
1181
-                        <div class="tab-content">
1182
-                            <div class="tab-pane active" id="_image_repository__repositoryID__get_request">
1183
-                                
1184
-                                    <h3>URI Parameters</h3>
1185
-                                    <ul>
1186
-                                        
1187
-                                            <li>
1188
-                                                <strong>repositoryID</strong>:
1189
-                                                <em>
1190
-                                                    
1191
-                                                        required
1192
-                                                    
1193
-                                                    (string)
1194
-                                                </em>
1195
-
1196
-                                                
1197
-                                            </li>
1198
-                                        
1199
-                                    </ul>
1200
-                                
1201
-
1202
-                                
1203
-
1204
-                                
1205
-
1206
-                                
1207
-                                    <h3>Body</h3>
1208
-                                    
1209
-                                        <p><strong>Type: application/json</strong></p>
1210
-                                        
1211
-
1212
-                                        
1213
-
1214
-                                        
1215
-                                            <p>
1216
-                                                <small>
1217
-                                                    <strong>Example</strong>:
1218
-                                                    <pre>{
1219
-  "<span class="hljs-attribute">data</span>":
1220
-  <span class="hljs-value">{
1221
-    "<span class="hljs-attribute">visibility</span>": <span class="hljs-value"><span class="hljs-string">"public"</span></span>,
1222
-    "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain"</span></span>,
1223
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/nginx"</span></span>,
1224
-    "<span class="hljs-attribute">environment</span>": 
1225
-    <span class="hljs-value">{
1226
-      "<span class="hljs-attribute">name1</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span></span>,
1227
-      "<span class="hljs-attribute">name2</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span>
1228
-    </span>}</span>,
1229
-    "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
1230
-      {
1231
-        "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
1232
-        "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
1233
-      </span>}
1234
-    ]</span>,
1235
-    "<span class="hljs-attribute">latest</span>":<span class="hljs-value"><span class="hljs-string">"v4"</span>
1236
-  </span>}
1237
-</span>}
1238
-</pre>
1239
-                                                </small>
1240
-                                            </p>
1241
-                                        
1242
-                                    
1243
-                                
1244
-                            </div>
1245
-
1246
-                            
1247
-                        </div>
1248
-                    </div>
1249
-                </div>
1250
-            </div>
1251
-        </div>
1252
-    
1253
-        <div class="modal fade" tabindex="0" id="_image_repository__repositoryID__put">
1254
-            <div class="modal-dialog">
1255
-                <div class="modal-content">
1256
-                    <div class="modal-header">
1257
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1258
-                        <h4 class="modal-title" id="myModalLabel">
1259
-                            <span class="badge badge_put">put</span>
1260
-                            <span class="parent"></span>/image-repository/{repositoryID}
1261
-                        </h4>
1262
-                    </div>
1263
-                    <div class="modal-body">
1264
-                        <div class="alert alert-info"><p>Update an image repository</p>
1265
-</div>
1266
-
1267
-                        <!-- Nav tabs -->
1268
-                        <ul class="nav nav-tabs">
1269
-                            <li class="active">
1270
-                                <a href="#_image_repository__repositoryID__put_request" data-toggle="tab">Request</a>
1271
-                            </li>
1272
-                            
1273
-                        </ul>
1274
-
1275
-                        <!-- Tab panes -->
1276
-                        <div class="tab-content">
1277
-                            <div class="tab-pane active" id="_image_repository__repositoryID__put_request">
1278
-                                
1279
-                                    <h3>URI Parameters</h3>
1280
-                                    <ul>
1281
-                                        
1282
-                                            <li>
1283
-                                                <strong>repositoryID</strong>:
1284
-                                                <em>
1285
-                                                    
1286
-                                                        required
1287
-                                                    
1288
-                                                    (string)
1289
-                                                </em>
1290
-
1291
-                                                
1292
-                                            </li>
1293
-                                        
1294
-                                    </ul>
1295
-                                
1296
-
1297
-                                
1298
-
1299
-                                
1300
-
1301
-                                
1302
-                                    <h3>Body</h3>
1303
-                                    
1304
-                                        <p><strong>Type: application/json</strong></p>
1305
-                                        
1306
-
1307
-                                        
1308
-
1309
-                                        
1310
-                                            <p>
1311
-                                                <small>
1312
-                                                    <strong>Example</strong>:
1313
-                                                    <pre>{
1314
-  "<span class="hljs-attribute">data</span>":
1315
-  <span class="hljs-value">{
1316
-    "<span class="hljs-attribute">visibility</span>": <span class="hljs-value"><span class="hljs-string">"public"</span></span>,
1317
-    "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain"</span></span>,
1318
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/nginx"</span></span>,
1319
-    "<span class="hljs-attribute">environment</span>": 
1320
-    <span class="hljs-value">{
1321
-      "<span class="hljs-attribute">name1</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span></span>,
1322
-      "<span class="hljs-attribute">name2</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span>
1323
-    </span>}</span>,
1324
-    "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
1325
-      {
1326
-        "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
1327
-        "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
1328
-      </span>}
1329
-    ]</span>,
1330
-    "<span class="hljs-attribute">latest</span>":<span class="hljs-value"><span class="hljs-string">"v4"</span>
1331
-  </span>}
1332
-</span>}
1333
-</pre>
1334
-                                                </small>
1335
-                                            </p>
1336
-                                        
1337
-                                    
1338
-                                
1339
-                            </div>
1340
-
1341
-                            
1342
-                        </div>
1343
-                    </div>
1344
-                </div>
1345
-            </div>
1346
-        </div>
1347
-    
1348
-        <div class="modal fade" tabindex="0" id="_image_repository__repositoryID__delete">
1349
-            <div class="modal-dialog">
1350
-                <div class="modal-content">
1351
-                    <div class="modal-header">
1352
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1353
-                        <h4 class="modal-title" id="myModalLabel">
1354
-                            <span class="badge badge_delete">delete</span>
1355
-                            <span class="parent"></span>/image-repository/{repositoryID}
1356
-                        </h4>
1357
-                    </div>
1358
-                    <div class="modal-body">
1359
-                        <div class="alert alert-info"><p>Delete an image repository</p>
1360
-</div>
1361
-
1362
-                        <!-- Nav tabs -->
1363
-                        <ul class="nav nav-tabs">
1364
-                            <li class="active">
1365
-                                <a href="#_image_repository__repositoryID__delete_request" data-toggle="tab">Request</a>
1366
-                            </li>
1367
-                            
1368
-                                <li>
1369
-                                    <a href="#_image_repository__repositoryID__delete_response" data-toggle="tab">Response</a>
1370
-                                </li>
1371
-                            
1372
-                        </ul>
1373
-
1374
-                        <!-- Tab panes -->
1375
-                        <div class="tab-content">
1376
-                            <div class="tab-pane active" id="_image_repository__repositoryID__delete_request">
1377
-                                
1378
-                                    <h3>URI Parameters</h3>
1379
-                                    <ul>
1380
-                                        
1381
-                                            <li>
1382
-                                                <strong>repositoryID</strong>:
1383
-                                                <em>
1384
-                                                    
1385
-                                                        required
1386
-                                                    
1387
-                                                    (string)
1388
-                                                </em>
1389
-
1390
-                                                
1391
-                                            </li>
1392
-                                        
1393
-                                    </ul>
1394
-                                
1395
-
1396
-                                
1397
-
1398
-                                
1399
-
1400
-                                
1401
-                            </div>
1402
-
1403
-                            
1404
-                                <div class="tab-pane" id="_image_repository__repositoryID__delete_response">
1405
-                                    
1406
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
1407
-                                        
1408
-
1409
-                                        
1410
-
1411
-                                        
1412
-                                            <h3>Body</h3>
1413
-                                            
1414
-                                                <p><strong>Type: application/json</strong></p>
1415
-
1416
-                                                
1417
-
1418
-                                                
1419
-                                                    <p>
1420
-                                                        <small>
1421
-                                                            <strong>Example</strong>:
1422
-                                                            <pre>{
1423
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
1424
-</span>}
1425
-</pre>
1426
-                                                        </small>
1427
-                                                    </p>
1428
-                                                
1429
-                                            
1430
-                                        
1431
-                                    
1432
-                                </div>
1433
-                            
1434
-                        </div>
1435
-                    </div>
1436
-                </div>
1437
-            </div>
1438
-        </div>
1439
-    
1440
-</div>
1441
-
1442
-
1443
-
1444
-                            </div>
1445
-                        </div>
1446
-                    </div>
1447
-                
1448
-                    <div class="panel panel-default">
1449
-                        <div class="panel-heading">
1450
-                            <h3 id="_images" class="panel-title">/images</h3>
1451
-                        </div>
1452
-
1453
-                        <div class="panel-body">
1454
-                            
1455
-
1456
-                            <div class="panel-group">
1457
-                                <div class="panel panel-white">
1458
-    <div class="panel-heading">
1459
-        <h4 class="panel-title">
1460
-            <a class="block collapsed" data-toggle="collapse" href="#panel__images">
1461
-                <span class="methods">
1462
-                    
1463
-                        <span class="badge badge_get">get</span>
1464
-                    
1465
-                        <span class="badge badge_post">post</span>
1466
-                    
1467
-                </span>
1468
-                <span class="parent"></span>/images
1469
-            </a>
1470
-        </h4>
1471
-    </div>
1472
-    <div id="panel__images" class="panel-collapse collapse">
1473
-        <div class="panel-body">
1474
-            <div class="list-group">
1475
-                
1476
-                    <a href="#" data-toggle="modal" data-target="#_images_get" class="list-group-item">
1477
-                        <span class="badge badge_get">get</span>
1478
-                        <div class="method_description">
1479
-                            <p>Lists images visible to you</p>
1480
-<p>Images can be stored in Openshift servers or can be references to images from
1481
-an external repository. The metadata that Openshift stores for an image will augment
1482
-the metadata that has already been specified in the image through its Dockerfile.</p>
1483
-
1484
-                        </div>
1485
-                        <div class="clearfix"></div>
1486
-                    </a>
1487
-                
1488
-                    <a href="#" data-toggle="modal" data-target="#_images_post" class="list-group-item">
1489
-                        <span class="badge badge_post">post</span>
1490
-                        <div class="method_description">
1491
-                            <p>Create a new image definition</p>
1492
-
1493
-                        </div>
1494
-                        <div class="clearfix"></div>
1495
-                    </a>
1496
-                
1497
-            </div>
1498
-        </div>
1499
-    </div>
1500
-
1501
-    
1502
-        <div class="modal fade" tabindex="0" id="_images_get">
1503
-            <div class="modal-dialog">
1504
-                <div class="modal-content">
1505
-                    <div class="modal-header">
1506
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1507
-                        <h4 class="modal-title" id="myModalLabel">
1508
-                            <span class="badge badge_get">get</span>
1509
-                            <span class="parent"></span>/images
1510
-                        </h4>
1511
-                    </div>
1512
-                    <div class="modal-body">
1513
-                        <div class="alert alert-info"><p>Lists images visible to you</p>
1514
-<p>Images can be stored in Openshift servers or can be references to images from
1515
-an external repository. The metadata that Openshift stores for an image will augment
1516
-the metadata that has already been specified in the image through its Dockerfile.</p>
1517
-</div>
1518
-
1519
-                        <!-- Nav tabs -->
1520
-                        <ul class="nav nav-tabs">
1521
-                            <li class="active">
1522
-                                <a href="#_images_get_request" data-toggle="tab">Request</a>
1523
-                            </li>
1524
-                            
1525
-                                <li>
1526
-                                    <a href="#_images_get_response" data-toggle="tab">Response</a>
1527
-                                </li>
1528
-                            
1529
-                        </ul>
1530
-
1531
-                        <!-- Tab panes -->
1532
-                        <div class="tab-content">
1533
-                            <div class="tab-pane active" id="_images_get_request">
1534
-                                
1535
-
1536
-                                
1537
-
1538
-                                
1539
-                                    <h3>Query Parameters</h3>
1540
-                                    <ul>
1541
-                                        
1542
-                                            <li>
1543
-                                                <strong>repositoryId</strong>
1544
-                                                <em>
1545
-                                                    
1546
-                                                    
1547
-                                                        (string)
1548
-                                                    
1549
-                                                </em>
1550
-
1551
-                                                <p>Filter list by repository</p>
1552
-
1553
-
1554
-                                                
1555
-
1556
-                                                
1557
-                                            </li>
1558
-                                        
1559
-                                    </ul>
1560
-                                
1561
-
1562
-                                
1563
-                            </div>
1564
-
1565
-                            
1566
-                                <div class="tab-pane" id="_images_get_response">
1567
-                                    
1568
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
1569
-                                        
1570
-
1571
-                                        
1572
-
1573
-                                        
1574
-                                            <h3>Body</h3>
1575
-                                            
1576
-                                                <p><strong>Type: application/json</strong></p>
1577
-
1578
-                                                
1579
-
1580
-                                                
1581
-                                                    <p>
1582
-                                                        <small>
1583
-                                                            <strong>Example</strong>:
1584
-                                                            <pre>{
1585
-  "<span class="hljs-attribute">data</span>":
1586
-  <span class="hljs-value">[
1587
-    {
1588
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
1589
-      "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx-19273412433342"</span></span>,
1590
-      "<span class="hljs-attribute">image-stream</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/nginx"</span></span>,
1591
-      "<span class="hljs-attribute">environment</span>":
1592
-      <span class="hljs-value">{
1593
-        "<span class="hljs-attribute">name1</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span></span>,
1594
-        "<span class="hljs-attribute">name2</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span>
1595
-      </span>}</span>,
1596
-      "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
194
+            "creationTimestamp": "2014-09-10T12:23:01-04:00",
195
+            "dockerImageRepository": "localhost:5000/someproject/somerepo",
196
+            "id": "somerepo",
197
+            "resourceVersion": 17,
198
+            "tags": {
199
+                "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
200
+                "latest": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b"
201
+            }
202
+        },
1597 203
         {
1598
-          "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
1599
-          "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
1600
-        </span>}
1601
-      ]</span>,
1602
-      "<span class="hljs-attribute">commands</span>": <span class="hljs-value">[
204
+            "creationTimestamp": "2014-09-10T09:33:42-04:00",
205
+            "dockerImageRepository": "openshift/ruby-19-centos",
206
+            "id": "test",
207
+            "labels": {
208
+                "color": "blue"
209
+            },
210
+            "resourceVersion": 14,
211
+            "tags": {
212
+                "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
213
+            }
214
+        }
215
+    ],
216
+    "kind": "ImageRepositoryList",
217
+    "resourceVersion": 22
218
+}
219
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_imageRepositories_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/imageRepositories</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new image repository</p></div><ul class="nav nav-tabs"><li class=active><a href=#_imageRepositories_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_imageRepositories_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
220
+    "apiVersion": "v1beta1",
221
+    "dockerImageRepository": "openshift/ruby-19-centos",
222
+    "id": "test",
223
+    "kind": "ImageRepository",
224
+    "labels": {
225
+        "color": "blue"
226
+    },
227
+    "tags": {
228
+        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
229
+    }
230
+}
231
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_imageRepositories__repositoryID_ class=panel-title>/imageRepositories/{repositoryID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__imageRepositories__repositoryID_><span class=parent></span>/imageRepositories/{repositoryID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_imageRepositories__repositoryID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_imageRepositories__repositoryID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_imageRepositories__repositoryID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__imageRepositories__repositoryID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_imageRepositories__repositoryID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get information about an image repository</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_imageRepositories__repositoryID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update an image repository</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_imageRepositories__repositoryID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete an image repository</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_imageRepositories__repositoryID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/imageRepositories/{repositoryID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get information about an image repository</p></div><ul class="nav nav-tabs"><li class=active><a href=#_imageRepositories__repositoryID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_imageRepositories__repositoryID__get_request><h3>URI Parameters</h3><ul><li><strong>repositoryID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
232
+    "apiVersion": "v1beta1",
233
+    "creationTimestamp": "2014-09-10T09:33:42-04:00",
234
+    "dockerImageRepository": "openshift/ruby-19-centos",
235
+    "id": "test",
236
+    "kind": "ImageRepository",
237
+    "labels": {
238
+        "color": "blue"
239
+    },
240
+    "resourceVersion": 14,
241
+    "tags": {
242
+        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
243
+    }
244
+}
245
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_imageRepositories__repositoryID__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent></span>/imageRepositories/{repositoryID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update an image repository</p></div><ul class="nav nav-tabs"><li class=active><a href=#_imageRepositories__repositoryID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_imageRepositories__repositoryID__put_request><h3>URI Parameters</h3><ul><li><strong>repositoryID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
246
+    "apiVersion": "v1beta1",
247
+    "creationTimestamp": "2014-09-10T09:33:42-04:00",
248
+    "dockerImageRepository": "openshift/ruby-19-centos",
249
+    "id": "test",
250
+    "kind": "ImageRepository",
251
+    "labels": {
252
+        "color": "blue"
253
+    },
254
+    "resourceVersion": 14,
255
+    "tags": {
256
+        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
257
+    }
258
+}
259
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_imageRepositories__repositoryID__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/imageRepositories/{repositoryID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete an image repository</p></div><ul class="nav nav-tabs"><li class=active><a href=#_imageRepositories__repositoryID__delete_request data-toggle=tab>Request</a></li><li><a href=#_imageRepositories__repositoryID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_imageRepositories__repositoryID__delete_request><h3>URI Parameters</h3><ul><li><strong>repositoryID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_imageRepositories__repositoryID__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
260
+    "apiVersion": "v1beta1",
261
+    "creationTimestamp": null,
262
+    "kind": "Status",
263
+    "status": "success"
264
+}
265
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_images class=panel-title>/images</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__images><span class=parent></span>/images</a> <span class=methods><a href=# data-toggle=modal data-target=#_images_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_images_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__images class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_images_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Lists all images.</p><p>An image is a reference to an image in a Docker image repository on a Docker registry, plus a set of metadata. The metadata that Openshift stores for an image will augment the metadata that has already been specified in the image through its Dockerfile.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_images_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new image definition</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_images_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/images</h4></div><div class=modal-body><div class="alert alert-info"><p>Lists all images.</p><p>An image is a reference to an image in a Docker image repository on a Docker registry, plus a set of metadata. The metadata that Openshift stores for an image will augment the metadata that has already been specified in the image through its Dockerfile.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_images_get_request data-toggle=tab>Request</a></li><li><a href=#_images_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_images_get_request></div><div class=tab-pane id=_images_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
266
+    "apiVersion": "v1beta1",
267
+    "creationTimestamp": null,
268
+    "items": [
1603 269
         {
1604
-          "<span class="hljs-attribute">memory-dump</span>": <span class="hljs-value"><span class="hljs-string">"/bin/dump"</span>
1605
-        </span>}
1606
-      ]
1607
-    </span>}
1608
-  ]
1609
-</span>}
1610
-</pre>
1611
-                                                        </small>
1612
-                                                    </p>
1613
-                                                
1614
-                                            
1615
-                                        
1616
-                                    
1617
-                                </div>
1618
-                            
1619
-                        </div>
1620
-                    </div>
1621
-                </div>
1622
-            </div>
1623
-        </div>
1624
-    
1625
-        <div class="modal fade" tabindex="0" id="_images_post">
1626
-            <div class="modal-dialog">
1627
-                <div class="modal-content">
1628
-                    <div class="modal-header">
1629
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1630
-                        <h4 class="modal-title" id="myModalLabel">
1631
-                            <span class="badge badge_post">post</span>
1632
-                            <span class="parent"></span>/images
1633
-                        </h4>
1634
-                    </div>
1635
-                    <div class="modal-body">
1636
-                        <div class="alert alert-info"><p>Create a new image definition</p>
1637
-</div>
1638
-
1639
-                        <!-- Nav tabs -->
1640
-                        <ul class="nav nav-tabs">
1641
-                            <li class="active">
1642
-                                <a href="#_images_post_request" data-toggle="tab">Request</a>
1643
-                            </li>
1644
-                            
1645
-                        </ul>
1646
-
1647
-                        <!-- Tab panes -->
1648
-                        <div class="tab-content">
1649
-                            <div class="tab-pane active" id="_images_post_request">
1650
-                                
1651
-
1652
-                                
1653
-
1654
-                                
1655
-
1656
-                                
1657
-                                    <h3>Body</h3>
1658
-                                    
1659
-                                        <p><strong>Type: application/json</strong></p>
1660
-                                        
1661
-
1662
-                                        
1663
-
1664
-                                        
1665
-                                            <p>
1666
-                                                <small>
1667
-                                                    <strong>Example</strong>:
1668
-                                                    <pre>{
1669
-  "<span class="hljs-attribute">data</span>":
1670
-  <span class="hljs-value">{
1671
-    "<span class="hljs-attribute">url</span>":<span class="hljs-value"><span class="hljs-string">"https://registry.hub.docker.com/u/library/nginx"</span></span>,
1672
-    "<span class="hljs-attribute">environment</span>":
1673
-    <span class="hljs-value">{
1674
-      "<span class="hljs-attribute">name1</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span></span>,
1675
-      "<span class="hljs-attribute">name2</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span>
1676
-    </span>}</span>,
1677
-    "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
1678
-      {
1679
-        "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
1680
-        "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
1681
-      </span>}
1682
-    ]
1683
-  </span>}
1684
-</span>}
1685
-</pre>
1686
-                                                </small>
1687
-                                            </p>
1688
-                                        
1689
-                                    
1690
-                                
1691
-                            </div>
1692
-
1693
-                            
1694
-                        </div>
1695
-                    </div>
1696
-                </div>
1697
-            </div>
1698
-        </div>
1699
-    
1700
-</div>
1701
-
1702
-
1703
-
1704
-                            </div>
1705
-                        </div>
1706
-                    </div>
1707
-                
1708
-                    <div class="panel panel-default">
1709
-                        <div class="panel-heading">
1710
-                            <h3 id="_image__imageID_" class="panel-title">/image/{imageID}</h3>
1711
-                        </div>
1712
-
1713
-                        <div class="panel-body">
1714
-                            
1715
-
1716
-                            <div class="panel-group">
1717
-                                <div class="panel panel-white">
1718
-    <div class="panel-heading">
1719
-        <h4 class="panel-title">
1720
-            <a class="block collapsed" data-toggle="collapse" href="#panel__image__imageID_">
1721
-                <span class="methods">
1722
-                    
1723
-                        <span class="badge badge_get">get</span>
1724
-                    
1725
-                </span>
1726
-                <span class="parent"></span>/image/{imageID}
1727
-            </a>
1728
-        </h4>
1729
-    </div>
1730
-    <div id="panel__image__imageID_" class="panel-collapse collapse">
1731
-        <div class="panel-body">
1732
-            <div class="list-group">
1733
-                
1734
-                    <a href="#" data-toggle="modal" data-target="#_image__imageID__get" class="list-group-item">
1735
-                        <span class="badge badge_get">get</span>
1736
-                        <div class="method_description">
1737
-                            <p>Get image definition</p>
1738
-
1739
-                        </div>
1740
-                        <div class="clearfix"></div>
1741
-                    </a>
1742
-                
1743
-            </div>
1744
-        </div>
1745
-    </div>
1746
-
1747
-    
1748
-        <div class="modal fade" tabindex="0" id="_image__imageID__get">
1749
-            <div class="modal-dialog">
1750
-                <div class="modal-content">
1751
-                    <div class="modal-header">
1752
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1753
-                        <h4 class="modal-title" id="myModalLabel">
1754
-                            <span class="badge badge_get">get</span>
1755
-                            <span class="parent"></span>/image/{imageID}
1756
-                        </h4>
1757
-                    </div>
1758
-                    <div class="modal-body">
1759
-                        <div class="alert alert-info"><p>Get image definition</p>
1760
-</div>
1761
-
1762
-                        <!-- Nav tabs -->
1763
-                        <ul class="nav nav-tabs">
1764
-                            <li class="active">
1765
-                                <a href="#_image__imageID__get_request" data-toggle="tab">Request</a>
1766
-                            </li>
1767
-                            
1768
-                        </ul>
1769
-
1770
-                        <!-- Tab panes -->
1771
-                        <div class="tab-content">
1772
-                            <div class="tab-pane active" id="_image__imageID__get_request">
1773
-                                
1774
-                                    <h3>URI Parameters</h3>
1775
-                                    <ul>
1776
-                                        
1777
-                                            <li>
1778
-                                                <strong>imageID</strong>:
1779
-                                                <em>
1780
-                                                    
1781
-                                                        required
1782
-                                                    
1783
-                                                    (string)
1784
-                                                </em>
1785
-
1786
-                                                
1787
-                                            </li>
1788
-                                        
1789
-                                    </ul>
1790
-                                
1791
-
1792
-                                
1793
-
1794
-                                
1795
-
1796
-                                
1797
-                                    <h3>Body</h3>
1798
-                                    
1799
-                                        <p><strong>Type: application/json</strong></p>
1800
-                                        
1801
-
1802
-                                        
1803
-
1804
-                                        
1805
-                                            <p>
1806
-                                                <small>
1807
-                                                    <strong>Example</strong>:
1808
-                                                    <pre>{
1809
-  "<span class="hljs-attribute">data</span>":
1810
-  <span class="hljs-value">{
1811
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
1812
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx-19273412433342"</span></span>,
1813
-    "<span class="hljs-attribute">image-stream</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/nginx"</span></span>,
1814
-    "<span class="hljs-attribute">environment</span>":
1815
-    <span class="hljs-value">{
1816
-      "<span class="hljs-attribute">name1</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span></span>,
1817
-      "<span class="hljs-attribute">name2</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span>
1818
-    </span>}</span>,
1819
-    "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
1820
-      {
1821
-        "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
1822
-        "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
1823
-      </span>}
1824
-    ]</span>,
1825
-    "<span class="hljs-attribute">commands</span>": <span class="hljs-value">[
1826
-      {
1827
-        "<span class="hljs-attribute">memory-dump</span>": <span class="hljs-value"><span class="hljs-string">"/bin/dump"</span>
1828
-      </span>}
1829
-    ]
1830
-  </span>}
1831
-</span>}
1832
-</pre>
1833
-                                                </small>
1834
-                                            </p>
1835
-                                        
1836
-                                    
1837
-                                
1838
-                            </div>
1839
-
1840
-                            
1841
-                        </div>
1842
-                    </div>
1843
-                </div>
1844
-            </div>
1845
-        </div>
1846
-    
1847
-</div>
1848
-
1849
-
1850
-
1851
-                            </div>
1852
-                        </div>
1853
-                    </div>
1854
-                
1855
-                    <div class="panel panel-default">
1856
-                        <div class="panel-heading">
1857
-                            <h3 id="_services" class="panel-title">/services</h3>
1858
-                        </div>
1859
-
1860
-                        <div class="panel-body">
1861
-                            
1862
-
1863
-                            <div class="panel-group">
1864
-                                <div class="panel panel-white">
1865
-    <div class="panel-heading">
1866
-        <h4 class="panel-title">
1867
-            <a class="block collapsed" data-toggle="collapse" href="#panel__services">
1868
-                <span class="methods">
1869
-                    
1870
-                        <span class="badge badge_get">get</span>
1871
-                    
1872
-                        <span class="badge badge_post">post</span>
1873
-                    
1874
-                </span>
1875
-                <span class="parent"></span>/services
1876
-            </a>
1877
-        </h4>
1878
-    </div>
1879
-    <div id="panel__services" class="panel-collapse collapse">
1880
-        <div class="panel-body">
1881
-            <div class="list-group">
1882
-                
1883
-                    <a href="#" data-toggle="modal" data-target="#_services_get" class="list-group-item">
1884
-                        <span class="badge badge_get">get</span>
1885
-                        <div class="method_description">
1886
-                            <p>Lists all services that your account has access to</p>
1887
-<p>Services can be public or owned by a project. They contain a template of a pod and
1888
-reference image repositories that supply the images for those templates. A service may 
1889
-be configured to react to an image being pushed to an image repository by initiating a 
1890
-deployment. Deployments are associated with a service and make use of 
1891
-Kubernetes replication controllers to manage pods in a cluster.
1892
-For deployments, a service contains a policy that constrains how deployments can occur.
1893
-For example, it may require that there exist at least 2 operational pods at all times.
1894
-A deployment needs to operate under those constraints when making changes.</p>
1895
-
1896
-                        </div>
1897
-                        <div class="clearfix"></div>
1898
-                    </a>
1899
-                
1900
-                    <a href="#" data-toggle="modal" data-target="#_services_post" class="list-group-item">
1901
-                        <span class="badge badge_post">post</span>
1902
-                        <div class="method_description">
1903
-                            <p>Create a new service</p>
1904
-
1905
-                        </div>
1906
-                        <div class="clearfix"></div>
1907
-                    </a>
1908
-                
1909
-            </div>
1910
-        </div>
1911
-    </div>
1912
-
1913
-    
1914
-        <div class="modal fade" tabindex="0" id="_services_get">
1915
-            <div class="modal-dialog">
1916
-                <div class="modal-content">
1917
-                    <div class="modal-header">
1918
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
1919
-                        <h4 class="modal-title" id="myModalLabel">
1920
-                            <span class="badge badge_get">get</span>
1921
-                            <span class="parent"></span>/services
1922
-                        </h4>
1923
-                    </div>
1924
-                    <div class="modal-body">
1925
-                        <div class="alert alert-info"><p>Lists all services that your account has access to</p>
1926
-<p>Services can be public or owned by a project. They contain a template of a pod and
1927
-reference image repositories that supply the images for those templates. A service may 
1928
-be configured to react to an image being pushed to an image repository by initiating a 
1929
-deployment. Deployments are associated with a service and make use of 
1930
-Kubernetes replication controllers to manage pods in a cluster.
1931
-For deployments, a service contains a policy that constrains how deployments can occur.
1932
-For example, it may require that there exist at least 2 operational pods at all times.
1933
-A deployment needs to operate under those constraints when making changes.</p>
1934
-</div>
1935
-
1936
-                        <!-- Nav tabs -->
1937
-                        <ul class="nav nav-tabs">
1938
-                            <li class="active">
1939
-                                <a href="#_services_get_request" data-toggle="tab">Request</a>
1940
-                            </li>
1941
-                            
1942
-                                <li>
1943
-                                    <a href="#_services_get_response" data-toggle="tab">Response</a>
1944
-                                </li>
1945
-                            
1946
-                        </ul>
1947
-
1948
-                        <!-- Tab panes -->
1949
-                        <div class="tab-content">
1950
-                            <div class="tab-pane active" id="_services_get_request">
1951
-                                
1952
-
1953
-                                
1954
-
1955
-                                
1956
-                                    <h3>Query Parameters</h3>
1957
-                                    <ul>
1958
-                                        
1959
-                                            <li>
1960
-                                                <strong>projectId</strong>
1961
-                                                <em>
1962
-                                                    
1963
-                                                    
1964
-                                                        (string)
1965
-                                                    
1966
-                                                </em>
1967
-
1968
-                                                <p>filter the services owned by a particular project</p>
1969
-
1970
-
1971
-                                                
1972
-
1973
-                                                
1974
-                                            </li>
1975
-                                        
1976
-                                    </ul>
1977
-                                
1978
-
1979
-                                
1980
-                            </div>
1981
-
1982
-                            
1983
-                                <div class="tab-pane" id="_services_get_response">
1984
-                                    
1985
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
1986
-                                        
1987
-
1988
-                                        
1989
-
1990
-                                        
1991
-                                            <h3>Body</h3>
1992
-                                            
1993
-                                                <p><strong>Type: application/json</strong></p>
1994
-
1995
-                                                
1996
-
1997
-                                                
1998
-                                                    <p>
1999
-                                                        <small>
2000
-                                                            <strong>Example</strong>:
2001
-                                                            <pre>{
2002
-  "<span class="hljs-attribute">list</span>":
2003
-  <span class="hljs-value">[
270
+            "creationTimestamp": "2014-09-10T09:33:43-04:00",
271
+            "dockerImageReference": "openshift/ruby-19-centos:latest",
272
+            "id": "abcd1234",
273
+            "metadata": {
274
+                "Size": 0,
275
+                "containerconfig": {
276
+                    "AttachStderr": false,
277
+                    "AttachStdin": false,
278
+                    "AttachStdout": false,
279
+                    "Cmd": null,
280
+                    "CpuShares": 0,
281
+                    "Dns": null,
282
+                    "Domainname": "",
283
+                    "Entrypoint": null,
284
+                    "Env": null,
285
+                    "ExposedPorts": null,
286
+                    "Hostname": "",
287
+                    "Image": "",
288
+                    "Memory": 0,
289
+                    "MemorySwap": 0,
290
+                    "NetworkDisabled": false,
291
+                    "OpenStdin": false,
292
+                    "PortSpecs": null,
293
+                    "StdinOnce": false,
294
+                    "Tty": false,
295
+                    "User": "",
296
+                    "Volumes": null,
297
+                    "VolumesFrom": "",
298
+                    "WorkingDir": ""
299
+                },
300
+                "created": "0001-01-01T00:00:00Z",
301
+                "id": ""
302
+            },
303
+            "resourceVersion": 15
304
+        },
305
+        {
306
+            "creationTimestamp": "2014-09-10T12:23:24-04:00",
307
+            "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
308
+            "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
309
+            "metadata": {
310
+                "Size": 0,
311
+                "architecture": "amd64",
312
+                "config": {
313
+                    "AttachStderr": false,
314
+                    "AttachStdin": false,
315
+                    "AttachStdout": false,
316
+                    "Cmd": null,
317
+                    "CpuShares": 0,
318
+                    "Dns": null,
319
+                    "Domainname": "",
320
+                    "Entrypoint": null,
321
+                    "Env": null,
322
+                    "ExposedPorts": null,
323
+                    "Hostname": "",
324
+                    "Image": "",
325
+                    "Memory": 0,
326
+                    "MemorySwap": 0,
327
+                    "NetworkDisabled": false,
328
+                    "OpenStdin": false,
329
+                    "PortSpecs": null,
330
+                    "StdinOnce": false,
331
+                    "Tty": false,
332
+                    "User": "",
333
+                    "Volumes": null,
334
+                    "VolumesFrom": "",
335
+                    "WorkingDir": ""
336
+                },
337
+                "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
338
+                "containerconfig": {
339
+                    "AttachStderr": false,
340
+                    "AttachStdin": false,
341
+                    "AttachStdout": false,
342
+                    "Cmd": null,
343
+                    "CpuShares": 0,
344
+                    "Dns": null,
345
+                    "Domainname": "",
346
+                    "Entrypoint": null,
347
+                    "Env": null,
348
+                    "ExposedPorts": null,
349
+                    "Hostname": "",
350
+                    "Image": "",
351
+                    "Memory": 0,
352
+                    "MemorySwap": 0,
353
+                    "NetworkDisabled": false,
354
+                    "OpenStdin": false,
355
+                    "PortSpecs": null,
356
+                    "StdinOnce": false,
357
+                    "Tty": false,
358
+                    "User": "",
359
+                    "Volumes": null,
360
+                    "VolumesFrom": "",
361
+                    "WorkingDir": ""
362
+                },
363
+                "created": "0001-01-01T00:00:00Z",
364
+                "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
365
+                "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
366
+            },
367
+            "resourceVersion": 18
368
+        }
369
+    ],
370
+    "kind": "ImageList",
371
+    "resourceVersion": 22
372
+}
373
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_images_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/images</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new image definition</p></div><ul class="nav nav-tabs"><li class=active><a href=#_images_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_images_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
374
+    "apiVersion": "v1beta1",
375
+    "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
376
+    "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
377
+    "kind": "Image",
378
+    "metadata": {
379
+        "Size": 0,
380
+        "architecture": "amd64",
381
+        "config": {
382
+            "AttachStderr": false,
383
+            "AttachStdin": false,
384
+            "AttachStdout": false,
385
+            "Cmd": null,
386
+            "CpuShares": 0,
387
+            "Dns": null,
388
+            "Domainname": "",
389
+            "Entrypoint": null,
390
+            "Env": null,
391
+            "ExposedPorts": null,
392
+            "Hostname": "",
393
+            "Image": "",
394
+            "Memory": 0,
395
+            "MemorySwap": 0,
396
+            "NetworkDisabled": false,
397
+            "OpenStdin": false,
398
+            "PortSpecs": null,
399
+            "StdinOnce": false,
400
+            "Tty": false,
401
+            "User": "",
402
+            "Volumes": null,
403
+            "VolumesFrom": "",
404
+            "WorkingDir": ""
405
+        },
406
+        "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
407
+        "containerconfig": {
408
+            "AttachStderr": false,
409
+            "AttachStdin": false,
410
+            "AttachStdout": false,
411
+            "Cmd": null,
412
+            "CpuShares": 0,
413
+            "Dns": null,
414
+            "Domainname": "",
415
+            "Entrypoint": null,
416
+            "Env": null,
417
+            "ExposedPorts": null,
418
+            "Hostname": "",
419
+            "Image": "",
420
+            "Memory": 0,
421
+            "MemorySwap": 0,
422
+            "NetworkDisabled": false,
423
+            "OpenStdin": false,
424
+            "PortSpecs": null,
425
+            "StdinOnce": false,
426
+            "Tty": false,
427
+            "User": "",
428
+            "Volumes": null,
429
+            "VolumesFrom": "",
430
+            "WorkingDir": ""
431
+        },
432
+        "created": "0001-01-01T00:00:00Z",
433
+        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
434
+        "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
435
+    },
436
+}
437
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_images__imageID_ class=panel-title>/images/{imageID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__images__imageID_><span class=parent></span>/images/{imageID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_images__imageID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_images__imageID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__images__imageID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_images__imageID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get image definition</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_images__imageID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete an image</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_images__imageID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/images/{imageID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get image definition</p></div><ul class="nav nav-tabs"><li class=active><a href=#_images__imageID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_images__imageID__get_request><h3>URI Parameters</h3><ul><li><strong>imageID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
438
+    "apiVersion": "v1beta1",
439
+    "creationTimestamp": "2014-09-10T12:23:24-04:00",
440
+    "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
441
+    "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
442
+    "kind": "Image",
443
+    "metadata": {
444
+        "Size": 0,
445
+        "architecture": "amd64",
446
+        "config": {
447
+            "AttachStderr": false,
448
+            "AttachStdin": false,
449
+            "AttachStdout": false,
450
+            "Cmd": null,
451
+            "CpuShares": 0,
452
+            "Dns": null,
453
+            "Domainname": "",
454
+            "Entrypoint": null,
455
+            "Env": null,
456
+            "ExposedPorts": null,
457
+            "Hostname": "",
458
+            "Image": "",
459
+            "Memory": 0,
460
+            "MemorySwap": 0,
461
+            "NetworkDisabled": false,
462
+            "OpenStdin": false,
463
+            "PortSpecs": null,
464
+            "StdinOnce": false,
465
+            "Tty": false,
466
+            "User": "",
467
+            "Volumes": null,
468
+            "VolumesFrom": "",
469
+            "WorkingDir": ""
470
+        },
471
+        "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
472
+        "containerconfig": {
473
+            "AttachStderr": false,
474
+            "AttachStdin": false,
475
+            "AttachStdout": false,
476
+            "Cmd": null,
477
+            "CpuShares": 0,
478
+            "Dns": null,
479
+            "Domainname": "",
480
+            "Entrypoint": null,
481
+            "Env": null,
482
+            "ExposedPorts": null,
483
+            "Hostname": "",
484
+            "Image": "",
485
+            "Memory": 0,
486
+            "MemorySwap": 0,
487
+            "NetworkDisabled": false,
488
+            "OpenStdin": false,
489
+            "PortSpecs": null,
490
+            "StdinOnce": false,
491
+            "Tty": false,
492
+            "User": "",
493
+            "Volumes": null,
494
+            "VolumesFrom": "",
495
+            "WorkingDir": ""
496
+        },
497
+        "created": "0001-01-01T00:00:00Z",
498
+        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
499
+        "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
500
+    },
501
+    "resourceVersion": 18
502
+}
503
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_images__imageID__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/images/{imageID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete an image</p></div><ul class="nav nav-tabs"><li class=active><a href=#_images__imageID__delete_request data-toggle=tab>Request</a></li><li><a href=#_images__imageID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_images__imageID__delete_request><h3>URI Parameters</h3><ul><li><strong>imageID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_images__imageID__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
504
+    "apiVersion": "v1beta1",
505
+    "creationTimestamp": null,
506
+    "kind": "Status",
507
+    "status": "success"
508
+}
509
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_imageRepositoryMappings class=panel-title>/imageRepositoryMappings</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__imageRepositoryMappings><span class=parent></span>/imageRepositoryMappings</a> <span class=methods><a href=# data-toggle=modal data-target=#_imageRepositoryMappings_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__imageRepositoryMappings class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_imageRepositoryMappings_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Creates an image and updates an image repository.</p><p>This is designed as a webhook that a Docker registry can invoke when a new tag is created. The image repository mapping contains a reference to the repository, the image&#39;s metadata, and the name of the new tag. Upon execution, a new image is created if it doesn&#39;t already exist, and the image repository is updated with the new tag.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_imageRepositoryMappings_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/imageRepositoryMappings</h4></div><div class=modal-body><div class="alert alert-info"><p>Creates an image and updates an image repository.</p><p>This is designed as a webhook that a Docker registry can invoke when a new tag is created. The image repository mapping contains a reference to the repository, the image&#39;s metadata, and the name of the new tag. Upon execution, a new image is created if it doesn&#39;t already exist, and the image repository is updated with the new tag.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_imageRepositoryMappings_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_imageRepositoryMappings_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
510
+    "dockerImageRepository": "localhost:5000/someproject/somerepo",
511
+    "image": {
512
+        "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
513
+        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
514
+        "metadata": {
515
+            "Size": 0,
516
+            "architecture": "amd64",
517
+            "config": {
518
+                "AttachStderr": false,
519
+                "AttachStdin": false,
520
+                "AttachStdout": false,
521
+                "Cmd": [
522
+                    "/bin/sh"
523
+                ],
524
+                "CpuShares": 0,
525
+                "Cpuset": "",
526
+                "Domainname": "",
527
+                "Entrypoint": null,
528
+                "Env": [
529
+                    "c=e",
530
+                    "b=2",
531
+                    "a=1",
532
+                    "HOME=/",
533
+                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
534
+                ],
535
+                "ExposedPorts": null,
536
+                "Hostname": "",
537
+                "Image": "",
538
+                "Memory": 0,
539
+                "MemorySwap": 0,
540
+                "NetworkDisabled": false,
541
+                "OnBuild": null,
542
+                "OpenStdin": false,
543
+                "PortSpecs": null,
544
+                "StdinOnce": false,
545
+                "Tty": false,
546
+                "User": "",
547
+                "Volumes": null,
548
+                "WorkingDir": ""
549
+            },
550
+            "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
551
+            "container_config": {
552
+                "AttachStderr": true,
553
+                "AttachStdin": false,
554
+                "AttachStdout": true,
555
+                "Cmd": [
556
+                    "/bin/sh"
557
+                ],
558
+                "CpuShares": 0,
559
+                "Cpuset": "",
560
+                "Domainname": "",
561
+                "Entrypoint": null,
562
+                "Env": [
563
+                    "c=e",
564
+                    "b=2",
565
+                    "a=1",
566
+                    "HOME=/",
567
+                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
568
+                ],
569
+                "ExposedPorts": null,
570
+                "Hostname": "6b03c2dda0f8",
571
+                "Image": "localhost:5000/someproject/somerepo",
572
+                "Memory": 0,
573
+                "MemorySwap": 0,
574
+                "NetworkDisabled": false,
575
+                "OnBuild": null,
576
+                "OpenStdin": false,
577
+                "PortSpecs": null,
578
+                "StdinOnce": false,
579
+                "Tty": false,
580
+                "User": "",
581
+                "Volumes": null,
582
+                "WorkingDir": ""
583
+            },
584
+            "created": "2014-09-04T17:43:39.863545902Z",
585
+            "docker_version": "1.1.2",
586
+            "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
587
+            "os": "linux",
588
+            "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
589
+        }
590
+    },
591
+    "kind": "ImageRepositoryMapping",
592
+    "tag": "latest",
593
+    "version": "v1beta1"
594
+}
595
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_services class=panel-title>/services</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__services><span class=parent></span>/services</a> <span class=methods><a href=# data-toggle=modal data-target=#_services_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_services_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__services class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_services_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Lists all services that your account has access to</p><p>Services can be public or owned by a project. They contain a template of a pod and reference image repositories that supply the images for those templates. A service may be configured to react to an image being pushed to an image repository by initiating a deployment. Deployments are associated with a service and make use of Kubernetes replication controllers to manage pods in a cluster. For deployments, a service contains a policy that constrains how deployments can occur. For example, it may require that there exist at least 2 operational pods at all times. A deployment needs to operate under those constraints when making changes.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_services_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new service</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_services_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/services</h4></div><div class=modal-body><div class="alert alert-info"><p>Lists all services that your account has access to</p><p>Services can be public or owned by a project. They contain a template of a pod and reference image repositories that supply the images for those templates. A service may be configured to react to an image being pushed to an image repository by initiating a deployment. Deployments are associated with a service and make use of Kubernetes replication controllers to manage pods in a cluster. For deployments, a service contains a policy that constrains how deployments can occur. For example, it may require that there exist at least 2 operational pods at all times. A deployment needs to operate under those constraints when making changes.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_services_get_request data-toggle=tab>Request</a></li><li><a href=#_services_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_services_get_request><h3>Query Parameters</h3><ul><li><strong>projectId</strong>: <em>(string)</em><p>filter the services owned by a particular project</p></li></ul></div><div class=tab-pane id=_services_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
596
+  "list":
597
+  [
2004 598
     {
2005
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
2006
-      "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
2007
-      "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
2008
-      "<span class="hljs-attribute">desiredState</span>": 
2009
-      <span class="hljs-value">{
2010
-        "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
2011
-        "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
2012
-        "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
2013
-          "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
2014
-        </span>}</span>,
2015
-        "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
2016
-        "<span class="hljs-attribute">podTemplate</span>": 
2017
-        <span class="hljs-value">{
2018
-           "<span class="hljs-attribute">desiredState</span>":
2019
-           <span class="hljs-value">{
2020
-             "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
2021
-             "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
599
+      "id": "53c4249f076573c0f4000001",
600
+      "name": "service-name",
601
+      "domain": "domain-id",
602
+      "desiredState": 
603
+      {
604
+        "replicas": 3,
605
+        "replicaSelector": { "name": "service-name" },
606
+        "replicaPolicy": {
607
+          "atLeast": 2
608
+        },
609
+        "activeDeployment": "a_deployment_id",
610
+        "podTemplate": 
611
+        {
612
+           "desiredState":
613
+           {
614
+             "image": "server/domain/name",
615
+             "network-ports": [
2022 616
                {
2023
-                 "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
2024
-                 "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
2025
-               </span>}
2026
-             ]</span>,
2027
-             "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
2028
-           </span>}</span>,
2029
-           "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
2030
-             "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
2031
-           </span>}
2032
-        </span>}
2033
-      </span>}
617
+                 "hostPort": 8080,
618
+                 "containerPort": 80
619
+               }
620
+             ],
621
+             "owner": true
622
+           },
623
+           "labels": {
624
+             "name": "service-name"
625
+           }
626
+        }
627
+      }
2034 628
     ]
2035
-  </span>}
629
+  }
2036 630
 }
2037
-</span></pre>
2038
-                                                        </small>
2039
-                                                    </p>
2040
-                                                
2041
-                                            
2042
-                                        
2043
-                                    
2044
-                                </div>
2045
-                            
2046
-                        </div>
2047
-                    </div>
2048
-                </div>
2049
-            </div>
2050
-        </div>
2051
-    
2052
-        <div class="modal fade" tabindex="0" id="_services_post">
2053
-            <div class="modal-dialog">
2054
-                <div class="modal-content">
2055
-                    <div class="modal-header">
2056
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2057
-                        <h4 class="modal-title" id="myModalLabel">
2058
-                            <span class="badge badge_post">post</span>
2059
-                            <span class="parent"></span>/services
2060
-                        </h4>
2061
-                    </div>
2062
-                    <div class="modal-body">
2063
-                        <div class="alert alert-info"><p>Create a new service</p>
2064
-</div>
2065
-
2066
-                        <!-- Nav tabs -->
2067
-                        <ul class="nav nav-tabs">
2068
-                            <li class="active">
2069
-                                <a href="#_services_post_request" data-toggle="tab">Request</a>
2070
-                            </li>
2071
-                            
2072
-                        </ul>
2073
-
2074
-                        <!-- Tab panes -->
2075
-                        <div class="tab-content">
2076
-                            <div class="tab-pane active" id="_services_post_request">
2077
-                                
2078
-
2079
-                                
2080
-
2081
-                                
2082
-
2083
-                                
2084
-                                    <h3>Body</h3>
2085
-                                    
2086
-                                        <p><strong>Type: application/json</strong></p>
2087
-                                        
2088
-
2089
-                                        
2090
-
2091
-                                        
2092
-                                            <p>
2093
-                                                <small>
2094
-                                                    <strong>Example</strong>:
2095
-                                                    <pre>{
2096
-  "<span class="hljs-attribute">data</span>":
2097
-  <span class="hljs-value">{
2098
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
2099
-    "<span class="hljs-attribute">desiredState</span>": 
2100
-    <span class="hljs-value">{
2101
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
2102
-      "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
2103
-        "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
2104
-      </span>}</span>,
2105
-      "<span class="hljs-attribute">podTemplate</span>": 
2106
-      <span class="hljs-value">{
2107
-         "<span class="hljs-attribute">desiredState</span>":
2108
-         <span class="hljs-value">{
2109
-           "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
2110
-           "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
631
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_services_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/services</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_services_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_services_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
632
+  "data":
633
+  {
634
+    "name": "service-name",
635
+    "desiredState": 
636
+    {
637
+      "replicas": 3,
638
+      "replicaPolicy": {
639
+        "atLeast": 2
640
+      },
641
+      "podTemplate": 
642
+      {
643
+         "desiredState":
644
+         {
645
+           "image": "server/domain/name",
646
+           "network-ports": [
2111 647
              {
2112
-               "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
2113
-               "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
2114
-             </span>}
648
+               "hostPort": 8080,
649
+               "containerPort": 80
650
+             }
2115 651
            ]
2116
-         </span>}
2117
-      </span>}
2118
-    </span>}
2119
-  </span>}
2120
-</span>}
2121
-</pre>
2122
-                                                </small>
2123
-                                            </p>
2124
-                                        
2125
-                                    
2126
-                                
2127
-                            </div>
2128
-
2129
-                            
2130
-                        </div>
2131
-                    </div>
2132
-                </div>
2133
-            </div>
2134
-        </div>
2135
-    
2136
-</div>
2137
-
2138
-
2139
-
2140
-                            </div>
2141
-                        </div>
2142
-                    </div>
2143
-                
2144
-                    <div class="panel panel-default">
2145
-                        <div class="panel-heading">
2146
-                            <h3 id="_service__serviceID_" class="panel-title">/service/{serviceID}</h3>
2147
-                        </div>
2148
-
2149
-                        <div class="panel-body">
2150
-                            
2151
-
2152
-                            <div class="panel-group">
2153
-                                <div class="panel panel-white">
2154
-    <div class="panel-heading">
2155
-        <h4 class="panel-title">
2156
-            <a class="block collapsed" data-toggle="collapse" href="#panel__service__serviceID_">
2157
-                <span class="methods">
2158
-                    
2159
-                        <span class="badge badge_get">get</span>
2160
-                    
2161
-                        <span class="badge badge_put">put</span>
2162
-                    
2163
-                        <span class="badge badge_delete">delete</span>
2164
-                    
2165
-                </span>
2166
-                <span class="parent"></span>/service/{serviceID}
2167
-            </a>
2168
-        </h4>
2169
-    </div>
2170
-    <div id="panel__service__serviceID_" class="panel-collapse collapse">
2171
-        <div class="panel-body">
2172
-            <div class="list-group">
2173
-                
2174
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__get" class="list-group-item">
2175
-                        <span class="badge badge_get">get</span>
2176
-                        <div class="method_description">
2177
-                            <p>Get a specific service definition</p>
2178
-
2179
-                        </div>
2180
-                        <div class="clearfix"></div>
2181
-                    </a>
2182
-                
2183
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__put" class="list-group-item">
2184
-                        <span class="badge badge_put">put</span>
2185
-                        <div class="method_description">
2186
-                            <p>Update a service</p>
2187
-
2188
-                        </div>
2189
-                        <div class="clearfix"></div>
2190
-                    </a>
2191
-                
2192
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__delete" class="list-group-item">
2193
-                        <span class="badge badge_delete">delete</span>
2194
-                        <div class="method_description">
2195
-                            <p>Delete a service</p>
2196
-
2197
-                        </div>
2198
-                        <div class="clearfix"></div>
2199
-                    </a>
2200
-                
2201
-            </div>
2202
-        </div>
2203
-    </div>
2204
-
2205
-    
2206
-        <div class="modal fade" tabindex="0" id="_service__serviceID__get">
2207
-            <div class="modal-dialog">
2208
-                <div class="modal-content">
2209
-                    <div class="modal-header">
2210
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2211
-                        <h4 class="modal-title" id="myModalLabel">
2212
-                            <span class="badge badge_get">get</span>
2213
-                            <span class="parent"></span>/service/{serviceID}
2214
-                        </h4>
2215
-                    </div>
2216
-                    <div class="modal-body">
2217
-                        <div class="alert alert-info"><p>Get a specific service definition</p>
2218
-</div>
2219
-
2220
-                        <!-- Nav tabs -->
2221
-                        <ul class="nav nav-tabs">
2222
-                            <li class="active">
2223
-                                <a href="#_service__serviceID__get_request" data-toggle="tab">Request</a>
2224
-                            </li>
2225
-                            
2226
-                        </ul>
2227
-
2228
-                        <!-- Tab panes -->
2229
-                        <div class="tab-content">
2230
-                            <div class="tab-pane active" id="_service__serviceID__get_request">
2231
-                                
2232
-                                    <h3>URI Parameters</h3>
2233
-                                    <ul>
2234
-                                        
2235
-                                            <li>
2236
-                                                <strong>serviceID</strong>:
2237
-                                                <em>
2238
-                                                    
2239
-                                                        required
2240
-                                                    
2241
-                                                    (string)
2242
-                                                </em>
2243
-
2244
-                                                
2245
-                                            </li>
2246
-                                        
2247
-                                    </ul>
2248
-                                
2249
-
2250
-                                
2251
-
2252
-                                
2253
-
2254
-                                
2255
-                                    <h3>Body</h3>
2256
-                                    
2257
-                                        <p><strong>Type: application/json</strong></p>
2258
-                                        
2259
-
2260
-                                        
2261
-
2262
-                                        
2263
-                                            <p>
2264
-                                                <small>
2265
-                                                    <strong>Example</strong>:
2266
-                                                    <pre>{
2267
-  "<span class="hljs-attribute">data</span>":
2268
-  <span class="hljs-value">{
2269
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
2270
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
2271
-    "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
2272
-    "<span class="hljs-attribute">desiredState</span>": 
2273
-    <span class="hljs-value">{
2274
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
2275
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
2276
-      "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
2277
-        "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
2278
-      </span>}</span>,
2279
-      "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
2280
-      "<span class="hljs-attribute">podTemplate</span>": 
2281
-      <span class="hljs-value">{
2282
-         "<span class="hljs-attribute">desiredState</span>":
2283
-         <span class="hljs-value">{
2284
-           "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
2285
-           "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
652
+         }
653
+      }
654
+    }
655
+  }
656
+}
657
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_service__serviceID_ class=panel-title>/service/{serviceID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__service__serviceID_><span class=parent></span>/service/{serviceID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_service__serviceID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_service__serviceID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_service__serviceID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__service__serviceID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_service__serviceID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific service definition</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_service__serviceID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a service</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_service__serviceID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a service</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/service/{serviceID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific service definition</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__get_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
658
+  "data":
659
+  {
660
+    "id": "53c4249f076573c0f4000001",
661
+    "name": "service-name",
662
+    "domain": "domain-id",
663
+    "desiredState": 
664
+    {
665
+      "replicas": 3,
666
+      "replicaSelector": { "name": "service-name" },
667
+      "replicaPolicy": {
668
+        "atLeast": 2
669
+      },
670
+      "activeDeployment": "a_deployment_id",
671
+      "podTemplate": 
672
+      {
673
+         "desiredState":
674
+         {
675
+           "image": "server/domain/name",
676
+           "network-ports": [
2286 677
              {
2287
-               "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
2288
-               "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
2289
-             </span>}
2290
-           ]</span>,
2291
-           "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
2292
-         </span>}</span>,
2293
-         "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
2294
-           "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
2295
-         </span>}
2296
-      </span>}
2297
-    </span>}
2298
-  </span>}
2299
-</span>}
2300
-</pre>
2301
-                                                </small>
2302
-                                            </p>
2303
-                                        
2304
-                                    
2305
-                                
2306
-                            </div>
2307
-
2308
-                            
2309
-                        </div>
2310
-                    </div>
2311
-                </div>
2312
-            </div>
2313
-        </div>
2314
-    
2315
-        <div class="modal fade" tabindex="0" id="_service__serviceID__put">
2316
-            <div class="modal-dialog">
2317
-                <div class="modal-content">
2318
-                    <div class="modal-header">
2319
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2320
-                        <h4 class="modal-title" id="myModalLabel">
2321
-                            <span class="badge badge_put">put</span>
2322
-                            <span class="parent"></span>/service/{serviceID}
2323
-                        </h4>
2324
-                    </div>
2325
-                    <div class="modal-body">
2326
-                        <div class="alert alert-info"><p>Update a service</p>
2327
-</div>
2328
-
2329
-                        <!-- Nav tabs -->
2330
-                        <ul class="nav nav-tabs">
2331
-                            <li class="active">
2332
-                                <a href="#_service__serviceID__put_request" data-toggle="tab">Request</a>
2333
-                            </li>
2334
-                            
2335
-                        </ul>
2336
-
2337
-                        <!-- Tab panes -->
2338
-                        <div class="tab-content">
2339
-                            <div class="tab-pane active" id="_service__serviceID__put_request">
2340
-                                
2341
-                                    <h3>URI Parameters</h3>
2342
-                                    <ul>
2343
-                                        
2344
-                                            <li>
2345
-                                                <strong>serviceID</strong>:
2346
-                                                <em>
2347
-                                                    
2348
-                                                        required
2349
-                                                    
2350
-                                                    (string)
2351
-                                                </em>
2352
-
2353
-                                                
2354
-                                            </li>
2355
-                                        
2356
-                                    </ul>
2357
-                                
2358
-
2359
-                                
2360
-
2361
-                                
2362
-
2363
-                                
2364
-                                    <h3>Body</h3>
2365
-                                    
2366
-                                        <p><strong>Type: application/json</strong></p>
2367
-                                        
2368
-
2369
-                                        
2370
-
2371
-                                        
2372
-                                            <p>
2373
-                                                <small>
2374
-                                                    <strong>Example</strong>:
2375
-                                                    <pre>{
2376
-  "<span class="hljs-attribute">data</span>":
2377
-  <span class="hljs-value">{
2378
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
2379
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
2380
-    "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
2381
-    "<span class="hljs-attribute">desiredState</span>": 
2382
-    <span class="hljs-value">{
2383
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
2384
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
2385
-      "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
2386
-        "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
2387
-      </span>}</span>,
2388
-      "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
2389
-      "<span class="hljs-attribute">podTemplate</span>": 
2390
-      <span class="hljs-value">{
2391
-         "<span class="hljs-attribute">desiredState</span>":
2392
-         <span class="hljs-value">{
2393
-           "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
2394
-           "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
678
+               "hostPort": 8080,
679
+               "containerPort": 80
680
+             }
681
+           ],
682
+           "owner": true
683
+         },
684
+         "labels": {
685
+           "name": "service-name"
686
+         }
687
+      }
688
+    }
689
+  }
690
+}
691
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent></span>/service/{serviceID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__put_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
692
+  "data":
693
+  {
694
+    "id": "53c4249f076573c0f4000001",
695
+    "name": "service-name",
696
+    "domain": "domain-id",
697
+    "desiredState": 
698
+    {
699
+      "replicas": 3,
700
+      "replicaSelector": { "name": "service-name" },
701
+      "replicaPolicy": {
702
+        "atLeast": 2
703
+      },
704
+      "activeDeployment": "a_deployment_id",
705
+      "podTemplate": 
706
+      {
707
+         "desiredState":
708
+         {
709
+           "image": "server/domain/name",
710
+           "network-ports": [
2395 711
              {
2396
-               "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
2397
-               "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
2398
-             </span>}
2399
-           ]</span>,
2400
-           "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
2401
-         </span>}</span>,
2402
-         "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
2403
-           "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
2404
-         </span>}
2405
-      </span>}
2406
-    </span>}
2407
-  </span>}
2408
-</span>}
2409
-</pre>
2410
-                                                </small>
2411
-                                            </p>
2412
-                                        
2413
-                                    
2414
-                                
2415
-                            </div>
2416
-
2417
-                            
2418
-                        </div>
2419
-                    </div>
2420
-                </div>
2421
-            </div>
2422
-        </div>
2423
-    
2424
-        <div class="modal fade" tabindex="0" id="_service__serviceID__delete">
2425
-            <div class="modal-dialog">
2426
-                <div class="modal-content">
2427
-                    <div class="modal-header">
2428
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2429
-                        <h4 class="modal-title" id="myModalLabel">
2430
-                            <span class="badge badge_delete">delete</span>
2431
-                            <span class="parent"></span>/service/{serviceID}
2432
-                        </h4>
2433
-                    </div>
2434
-                    <div class="modal-body">
2435
-                        <div class="alert alert-info"><p>Delete a service</p>
2436
-</div>
2437
-
2438
-                        <!-- Nav tabs -->
2439
-                        <ul class="nav nav-tabs">
2440
-                            <li class="active">
2441
-                                <a href="#_service__serviceID__delete_request" data-toggle="tab">Request</a>
2442
-                            </li>
2443
-                            
2444
-                                <li>
2445
-                                    <a href="#_service__serviceID__delete_response" data-toggle="tab">Response</a>
2446
-                                </li>
2447
-                            
2448
-                        </ul>
2449
-
2450
-                        <!-- Tab panes -->
2451
-                        <div class="tab-content">
2452
-                            <div class="tab-pane active" id="_service__serviceID__delete_request">
2453
-                                
2454
-                                    <h3>URI Parameters</h3>
2455
-                                    <ul>
2456
-                                        
2457
-                                            <li>
2458
-                                                <strong>serviceID</strong>:
2459
-                                                <em>
2460
-                                                    
2461
-                                                        required
2462
-                                                    
2463
-                                                    (string)
2464
-                                                </em>
2465
-
2466
-                                                
2467
-                                            </li>
2468
-                                        
2469
-                                    </ul>
2470
-                                
2471
-
2472
-                                
2473
-
2474
-                                
2475
-
2476
-                                
2477
-                            </div>
2478
-
2479
-                            
2480
-                                <div class="tab-pane" id="_service__serviceID__delete_response">
2481
-                                    
2482
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
2483
-                                        
2484
-
2485
-                                        
2486
-
2487
-                                        
2488
-                                            <h3>Body</h3>
2489
-                                            
2490
-                                                <p><strong>Type: application/json</strong></p>
2491
-
2492
-                                                
2493
-
2494
-                                                
2495
-                                                    <p>
2496
-                                                        <small>
2497
-                                                            <strong>Example</strong>:
2498
-                                                            <pre>{
2499
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
2500
-</span>}
2501
-</pre>
2502
-                                                        </small>
2503
-                                                    </p>
2504
-                                                
2505
-                                            
2506
-                                        
2507
-                                    
2508
-                                </div>
2509
-                            
2510
-                        </div>
2511
-                    </div>
2512
-                </div>
2513
-            </div>
2514
-        </div>
2515
-    
2516
-</div>
2517
-
2518
-
2519
-    <div class="panel panel-white">
2520
-    <div class="panel-heading">
2521
-        <h4 class="panel-title">
2522
-            <a class="block collapsed" data-toggle="collapse" href="#panel__service__serviceID__environment_variables">
2523
-                <span class="methods">
2524
-                    
2525
-                        <span class="badge badge_get">get</span>
2526
-                    
2527
-                        <span class="badge badge_post">post</span>
2528
-                    
2529
-                </span>
2530
-                <span class="parent">/service/{serviceID}</span>/environment-variables
2531
-            </a>
2532
-        </h4>
2533
-    </div>
2534
-    <div id="panel__service__serviceID__environment_variables" class="panel-collapse collapse">
2535
-        <div class="panel-body">
2536
-            <div class="list-group">
2537
-                
2538
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__environment_variables_get" class="list-group-item">
2539
-                        <span class="badge badge_get">get</span>
2540
-                        <div class="method_description">
2541
-                            <p>Environment variables associated with this service</p>
2542
-
2543
-                        </div>
2544
-                        <div class="clearfix"></div>
2545
-                    </a>
2546
-                
2547
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__environment_variables_post" class="list-group-item">
2548
-                        <span class="badge badge_post">post</span>
2549
-                        <div class="method_description">
2550
-                            <p>Create/update environment variables</p>
2551
-
2552
-                        </div>
2553
-                        <div class="clearfix"></div>
2554
-                    </a>
2555
-                
2556
-            </div>
2557
-        </div>
2558
-    </div>
2559
-
2560
-    
2561
-        <div class="modal fade" tabindex="0" id="_service__serviceID__environment_variables_get">
2562
-            <div class="modal-dialog">
2563
-                <div class="modal-content">
2564
-                    <div class="modal-header">
2565
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2566
-                        <h4 class="modal-title" id="myModalLabel">
2567
-                            <span class="badge badge_get">get</span>
2568
-                            <span class="parent">/service/{serviceID}</span>/environment-variables
2569
-                        </h4>
2570
-                    </div>
2571
-                    <div class="modal-body">
2572
-                        <div class="alert alert-info"><p>Environment variables associated with this service</p>
2573
-</div>
2574
-
2575
-                        <!-- Nav tabs -->
2576
-                        <ul class="nav nav-tabs">
2577
-                            <li class="active">
2578
-                                <a href="#_service__serviceID__environment_variables_get_request" data-toggle="tab">Request</a>
2579
-                            </li>
2580
-                            
2581
-                                <li>
2582
-                                    <a href="#_service__serviceID__environment_variables_get_response" data-toggle="tab">Response</a>
2583
-                                </li>
2584
-                            
2585
-                        </ul>
2586
-
2587
-                        <!-- Tab panes -->
2588
-                        <div class="tab-content">
2589
-                            <div class="tab-pane active" id="_service__serviceID__environment_variables_get_request">
2590
-                                
2591
-                                    <h3>URI Parameters</h3>
2592
-                                    <ul>
2593
-                                        
2594
-                                            <li>
2595
-                                                <strong>serviceID</strong>:
2596
-                                                <em>
2597
-                                                    
2598
-                                                        required
2599
-                                                    
2600
-                                                    (string)
2601
-                                                </em>
2602
-
2603
-                                                
2604
-                                            </li>
2605
-                                        
2606
-                                    </ul>
2607
-                                
2608
-
2609
-                                
2610
-
2611
-                                
2612
-
2613
-                                
2614
-                            </div>
2615
-
2616
-                            
2617
-                                <div class="tab-pane" id="_service__serviceID__environment_variables_get_response">
2618
-                                    
2619
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
2620
-                                        
2621
-
2622
-                                        
2623
-
2624
-                                        
2625
-                                            <h3>Body</h3>
2626
-                                            
2627
-                                                <p><strong>Type: application/json</strong></p>
2628
-
2629
-                                                
2630
-
2631
-                                                
2632
-                                                    <p>
2633
-                                                        <small>
2634
-                                                            <strong>Example</strong>:
2635
-                                                            <pre>{
2636
-  "<span class="hljs-attribute">data</span>":
2637
-  <span class="hljs-value">[
2638
-    { "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"var1"</span></span>, "<span class="hljs-attribute">value</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span> </span>},
2639
-    { "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"var2"</span></span>, "<span class="hljs-attribute">value</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span> </span>}
712
+               "hostPort": 8080,
713
+               "containerPort": 80
714
+             }
715
+           ],
716
+           "owner": true
717
+         },
718
+         "labels": {
719
+           "name": "service-name"
720
+         }
721
+      }
722
+    }
723
+  }
724
+}
725
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/service/{serviceID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__delete_request data-toggle=tab>Request</a></li><li><a href=#_service__serviceID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__delete_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_service__serviceID__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
726
+    "apiVersion": "v1beta1",
727
+    "creationTimestamp": null,
728
+    "kind": "Status",
729
+    "status": "success"
730
+}
731
+</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__service__serviceID__environment_variables><span class=parent>/service/{serviceID}</span>/environment-variables</a> <span class=methods><a href=# data-toggle=modal data-target=#_service__serviceID__environment_variables_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_service__serviceID__environment_variables_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__service__serviceID__environment_variables class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_service__serviceID__environment_variables_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Environment variables associated with this service</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_service__serviceID__environment_variables_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create/update environment variables</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__environment_variables_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent>/service/{serviceID}</span>/environment-variables</h4></div><div class=modal-body><div class="alert alert-info"><p>Environment variables associated with this service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__environment_variables_get_request data-toggle=tab>Request</a></li><li><a href=#_service__serviceID__environment_variables_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__environment_variables_get_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_service__serviceID__environment_variables_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
732
+  "data":
733
+  [
734
+    { "name": "var1", "value": "value1" },
735
+    { "name": "var2", "value": "value2" }
2640 736
   ]
2641
-</span>}
2642
-</pre>
2643
-                                                        </small>
2644
-                                                    </p>
2645
-                                                
2646
-                                            
2647
-                                        
2648
-                                    
2649
-                                </div>
2650
-                            
2651
-                        </div>
2652
-                    </div>
2653
-                </div>
2654
-            </div>
2655
-        </div>
2656
-    
2657
-        <div class="modal fade" tabindex="0" id="_service__serviceID__environment_variables_post">
2658
-            <div class="modal-dialog">
2659
-                <div class="modal-content">
2660
-                    <div class="modal-header">
2661
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2662
-                        <h4 class="modal-title" id="myModalLabel">
2663
-                            <span class="badge badge_post">post</span>
2664
-                            <span class="parent">/service/{serviceID}</span>/environment-variables
2665
-                        </h4>
2666
-                    </div>
2667
-                    <div class="modal-body">
2668
-                        <div class="alert alert-info"><p>Create/update environment variables</p>
2669
-</div>
2670
-
2671
-                        <!-- Nav tabs -->
2672
-                        <ul class="nav nav-tabs">
2673
-                            <li class="active">
2674
-                                <a href="#_service__serviceID__environment_variables_post_request" data-toggle="tab">Request</a>
2675
-                            </li>
2676
-                            
2677
-                        </ul>
2678
-
2679
-                        <!-- Tab panes -->
2680
-                        <div class="tab-content">
2681
-                            <div class="tab-pane active" id="_service__serviceID__environment_variables_post_request">
2682
-                                
2683
-                                    <h3>URI Parameters</h3>
2684
-                                    <ul>
2685
-                                        
2686
-                                            <li>
2687
-                                                <strong>serviceID</strong>:
2688
-                                                <em>
2689
-                                                    
2690
-                                                        required
2691
-                                                    
2692
-                                                    (string)
2693
-                                                </em>
2694
-
2695
-                                                
2696
-                                            </li>
2697
-                                        
2698
-                                    </ul>
2699
-                                
2700
-
2701
-                                
2702
-
2703
-                                
2704
-
2705
-                                
2706
-                                    <h3>Body</h3>
2707
-                                    
2708
-                                        <p><strong>Type: application/json</strong></p>
2709
-                                        
2710
-
2711
-                                        
2712
-
2713
-                                        
2714
-                                            <p>
2715
-                                                <small>
2716
-                                                    <strong>Example</strong>:
2717
-                                                    <pre>{
2718
-  "<span class="hljs-attribute">data</span>":
2719
-  <span class="hljs-value">[
2720
-    { "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"var1"</span></span>, "<span class="hljs-attribute">value</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span> </span>},
2721
-    { "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"var2"</span></span>, "<span class="hljs-attribute">value</span>": <span class="hljs-value"><span class="hljs-string">"value2"</span> </span>}
737
+}
738
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__environment_variables_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent>/service/{serviceID}</span>/environment-variables</h4></div><div class=modal-body><div class="alert alert-info"><p>Create/update environment variables</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__environment_variables_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__environment_variables_post_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
739
+  "data":
740
+  [
741
+    { "name": "var1", "value": "value1" },
742
+    { "name": "var2", "value": "value2" }
2722 743
   ]
2723
-</span>}
2724
-</pre>
2725
-                                                </small>
2726
-                                            </p>
2727
-                                        
2728
-                                    
2729
-                                
2730
-                            </div>
2731
-
2732
-                            
2733
-                        </div>
2734
-                    </div>
2735
-                </div>
2736
-            </div>
2737
-        </div>
2738
-    
2739
-</div>
2740
-
2741
-
2742
-    <div class="panel panel-white">
2743
-    <div class="panel-heading">
2744
-        <h4 class="panel-title">
2745
-            <a class="block collapsed" data-toggle="collapse" href="#panel__service__serviceID__environment_variables__variableName_">
2746
-                <span class="methods">
2747
-                    
2748
-                        <span class="badge badge_get">get</span>
2749
-                    
2750
-                        <span class="badge badge_put">put</span>
2751
-                    
2752
-                        <span class="badge badge_delete">delete</span>
2753
-                    
2754
-                </span>
2755
-                <span class="parent">/service/{serviceID}/environment-variables</span>/{variableName}
2756
-            </a>
2757
-        </h4>
2758
-    </div>
2759
-    <div id="panel__service__serviceID__environment_variables__variableName_" class="panel-collapse collapse">
2760
-        <div class="panel-body">
2761
-            <div class="list-group">
2762
-                
2763
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__environment_variables__variableName__get" class="list-group-item">
2764
-                        <span class="badge badge_get">get</span>
2765
-                        <div class="method_description">
2766
-                            <p>Get environment variable</p>
2767
-
2768
-                        </div>
2769
-                        <div class="clearfix"></div>
2770
-                    </a>
2771
-                
2772
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__environment_variables__variableName__put" class="list-group-item">
2773
-                        <span class="badge badge_put">put</span>
2774
-                        <div class="method_description">
2775
-                            <p>Update an environment variable&#39;s value</p>
2776
-
2777
-                        </div>
2778
-                        <div class="clearfix"></div>
2779
-                    </a>
2780
-                
2781
-                    <a href="#" data-toggle="modal" data-target="#_service__serviceID__environment_variables__variableName__delete" class="list-group-item">
2782
-                        <span class="badge badge_delete">delete</span>
2783
-                        <div class="method_description">
2784
-                            <p>Delete an environment variable</p>
2785
-
2786
-                        </div>
2787
-                        <div class="clearfix"></div>
2788
-                    </a>
2789
-                
2790
-            </div>
2791
-        </div>
2792
-    </div>
2793
-
2794
-    
2795
-        <div class="modal fade" tabindex="0" id="_service__serviceID__environment_variables__variableName__get">
2796
-            <div class="modal-dialog">
2797
-                <div class="modal-content">
2798
-                    <div class="modal-header">
2799
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2800
-                        <h4 class="modal-title" id="myModalLabel">
2801
-                            <span class="badge badge_get">get</span>
2802
-                            <span class="parent">/service/{serviceID}/environment-variables</span>/{variableName}
2803
-                        </h4>
2804
-                    </div>
2805
-                    <div class="modal-body">
2806
-                        <div class="alert alert-info"><p>Get environment variable</p>
2807
-</div>
2808
-
2809
-                        <!-- Nav tabs -->
2810
-                        <ul class="nav nav-tabs">
2811
-                            <li class="active">
2812
-                                <a href="#_service__serviceID__environment_variables__variableName__get_request" data-toggle="tab">Request</a>
2813
-                            </li>
2814
-                            
2815
-                        </ul>
2816
-
2817
-                        <!-- Tab panes -->
2818
-                        <div class="tab-content">
2819
-                            <div class="tab-pane active" id="_service__serviceID__environment_variables__variableName__get_request">
2820
-                                
2821
-                                    <h3>URI Parameters</h3>
2822
-                                    <ul>
2823
-                                        
2824
-                                            <li>
2825
-                                                <strong>serviceID</strong>:
2826
-                                                <em>
2827
-                                                    
2828
-                                                        required
2829
-                                                    
2830
-                                                    (string)
2831
-                                                </em>
2832
-
2833
-                                                
2834
-                                            </li>
2835
-                                        
2836
-                                            <li>
2837
-                                                <strong>variableName</strong>:
2838
-                                                <em>
2839
-                                                    
2840
-                                                        required
2841
-                                                    
2842
-                                                    (string)
2843
-                                                </em>
2844
-
2845
-                                                
2846
-                                            </li>
2847
-                                        
2848
-                                    </ul>
2849
-                                
2850
-
2851
-                                
2852
-
2853
-                                
2854
-
2855
-                                
2856
-                                    <h3>Body</h3>
2857
-                                    
2858
-                                        <p><strong>Type: application/json</strong></p>
2859
-                                        
2860
-
2861
-                                        
2862
-
2863
-                                        
2864
-                                            <p>
2865
-                                                <small>
2866
-                                                    <strong>Example</strong>:
2867
-                                                    <pre>{
2868
-  "<span class="hljs-attribute">data</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"var1"</span></span>, "<span class="hljs-attribute">value</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span> </span>}
2869
-</span>}
2870
-</pre>
2871
-                                                </small>
2872
-                                            </p>
2873
-                                        
2874
-                                    
2875
-                                
2876
-                            </div>
2877
-
2878
-                            
2879
-                        </div>
2880
-                    </div>
2881
-                </div>
2882
-            </div>
2883
-        </div>
2884
-    
2885
-        <div class="modal fade" tabindex="0" id="_service__serviceID__environment_variables__variableName__put">
2886
-            <div class="modal-dialog">
2887
-                <div class="modal-content">
2888
-                    <div class="modal-header">
2889
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2890
-                        <h4 class="modal-title" id="myModalLabel">
2891
-                            <span class="badge badge_put">put</span>
2892
-                            <span class="parent">/service/{serviceID}/environment-variables</span>/{variableName}
2893
-                        </h4>
2894
-                    </div>
2895
-                    <div class="modal-body">
2896
-                        <div class="alert alert-info"><p>Update an environment variable&#39;s value</p>
2897
-</div>
2898
-
2899
-                        <!-- Nav tabs -->
2900
-                        <ul class="nav nav-tabs">
2901
-                            <li class="active">
2902
-                                <a href="#_service__serviceID__environment_variables__variableName__put_request" data-toggle="tab">Request</a>
2903
-                            </li>
2904
-                            
2905
-                        </ul>
2906
-
2907
-                        <!-- Tab panes -->
2908
-                        <div class="tab-content">
2909
-                            <div class="tab-pane active" id="_service__serviceID__environment_variables__variableName__put_request">
2910
-                                
2911
-                                    <h3>URI Parameters</h3>
2912
-                                    <ul>
2913
-                                        
2914
-                                            <li>
2915
-                                                <strong>serviceID</strong>:
2916
-                                                <em>
2917
-                                                    
2918
-                                                        required
2919
-                                                    
2920
-                                                    (string)
2921
-                                                </em>
2922
-
2923
-                                                
2924
-                                            </li>
2925
-                                        
2926
-                                            <li>
2927
-                                                <strong>variableName</strong>:
2928
-                                                <em>
2929
-                                                    
2930
-                                                        required
2931
-                                                    
2932
-                                                    (string)
2933
-                                                </em>
2934
-
2935
-                                                
2936
-                                            </li>
2937
-                                        
2938
-                                    </ul>
2939
-                                
2940
-
2941
-                                
2942
-
2943
-                                
2944
-
2945
-                                
2946
-                                    <h3>Body</h3>
2947
-                                    
2948
-                                        <p><strong>Type: application/json</strong></p>
2949
-                                        
2950
-
2951
-                                        
2952
-
2953
-                                        
2954
-                                            <p>
2955
-                                                <small>
2956
-                                                    <strong>Example</strong>:
2957
-                                                    <pre>{
2958
-  "<span class="hljs-attribute">data</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"var1"</span></span>, "<span class="hljs-attribute">value</span>": <span class="hljs-value"><span class="hljs-string">"value1"</span> </span>}
2959
-</span>}
2960
-</pre>
2961
-                                                </small>
2962
-                                            </p>
2963
-                                        
2964
-                                    
2965
-                                
2966
-                            </div>
2967
-
2968
-                            
2969
-                        </div>
2970
-                    </div>
2971
-                </div>
2972
-            </div>
2973
-        </div>
2974
-    
2975
-        <div class="modal fade" tabindex="0" id="_service__serviceID__environment_variables__variableName__delete">
2976
-            <div class="modal-dialog">
2977
-                <div class="modal-content">
2978
-                    <div class="modal-header">
2979
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
2980
-                        <h4 class="modal-title" id="myModalLabel">
2981
-                            <span class="badge badge_delete">delete</span>
2982
-                            <span class="parent">/service/{serviceID}/environment-variables</span>/{variableName}
2983
-                        </h4>
2984
-                    </div>
2985
-                    <div class="modal-body">
2986
-                        <div class="alert alert-info"><p>Delete an environment variable</p>
2987
-</div>
2988
-
2989
-                        <!-- Nav tabs -->
2990
-                        <ul class="nav nav-tabs">
2991
-                            <li class="active">
2992
-                                <a href="#_service__serviceID__environment_variables__variableName__delete_request" data-toggle="tab">Request</a>
2993
-                            </li>
2994
-                            
2995
-                                <li>
2996
-                                    <a href="#_service__serviceID__environment_variables__variableName__delete_response" data-toggle="tab">Response</a>
2997
-                                </li>
2998
-                            
2999
-                        </ul>
3000
-
3001
-                        <!-- Tab panes -->
3002
-                        <div class="tab-content">
3003
-                            <div class="tab-pane active" id="_service__serviceID__environment_variables__variableName__delete_request">
3004
-                                
3005
-                                    <h3>URI Parameters</h3>
3006
-                                    <ul>
3007
-                                        
3008
-                                            <li>
3009
-                                                <strong>serviceID</strong>:
3010
-                                                <em>
3011
-                                                    
3012
-                                                        required
3013
-                                                    
3014
-                                                    (string)
3015
-                                                </em>
3016
-
3017
-                                                
3018
-                                            </li>
3019
-                                        
3020
-                                            <li>
3021
-                                                <strong>variableName</strong>:
3022
-                                                <em>
3023
-                                                    
3024
-                                                        required
3025
-                                                    
3026
-                                                    (string)
3027
-                                                </em>
3028
-
3029
-                                                
3030
-                                            </li>
3031
-                                        
3032
-                                    </ul>
3033
-                                
3034
-
3035
-                                
3036
-
3037
-                                
3038
-
3039
-                                
3040
-                            </div>
3041
-
3042
-                            
3043
-                                <div class="tab-pane" id="_service__serviceID__environment_variables__variableName__delete_response">
3044
-                                    
3045
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
3046
-                                        
3047
-
3048
-                                        
3049
-
3050
-                                        
3051
-                                            <h3>Body</h3>
3052
-                                            
3053
-                                                <p><strong>Type: application/json</strong></p>
3054
-
3055
-                                                
3056
-
3057
-                                                
3058
-                                                    <p>
3059
-                                                        <small>
3060
-                                                            <strong>Example</strong>:
3061
-                                                            <pre>{
3062
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
3063
-</span>}
3064
-</pre>
3065
-                                                        </small>
3066
-                                                    </p>
3067
-                                                
3068
-                                            
3069
-                                        
3070
-                                    
3071
-                                </div>
3072
-                            
3073
-                        </div>
3074
-                    </div>
3075
-                </div>
3076
-            </div>
3077
-        </div>
3078
-    
3079
-</div>
3080
-
3081
-
3082
-
3083
-
3084
-
3085
-
3086
-
3087
-                            </div>
3088
-                        </div>
3089
-                    </div>
3090
-                
3091
-                    <div class="panel panel-default">
3092
-                        <div class="panel-heading">
3093
-                            <h3 id="_deployments" class="panel-title">/deployments</h3>
3094
-                        </div>
3095
-
3096
-                        <div class="panel-body">
3097
-                            
3098
-
3099
-                            <div class="panel-group">
3100
-                                <div class="panel panel-white">
3101
-    <div class="panel-heading">
3102
-        <h4 class="panel-title">
3103
-            <a class="block collapsed" data-toggle="collapse" href="#panel__deployments">
3104
-                <span class="methods">
3105
-                    
3106
-                        <span class="badge badge_get">get</span>
3107
-                    
3108
-                        <span class="badge badge_post">post</span>
3109
-                    
3110
-                </span>
3111
-                <span class="parent"></span>/deployments
3112
-            </a>
3113
-        </h4>
3114
-    </div>
3115
-    <div id="panel__deployments" class="panel-collapse collapse">
3116
-        <div class="panel-body">
3117
-            <div class="list-group">
3118
-                
3119
-                    <a href="#" data-toggle="modal" data-target="#_deployments_get" class="list-group-item">
3120
-                        <span class="badge badge_get">get</span>
3121
-                        <div class="method_description">
3122
-                            <p>Lists active deployments in the current project</p>
3123
-<p>Deployments effect change in a service such as scaling up, down, updating the 
3124
-current image, etc. Deployments may use different policies for carrying out
3125
-the change. For example, a rolling update with a single pod change at a time, or
3126
-a batch update, etc. Deployments make use of Kubernetes replicationControllers
3127
-to bring about the changes.</p>
3128
-
3129
-                        </div>
3130
-                        <div class="clearfix"></div>
3131
-                    </a>
3132
-                
3133
-                    <a href="#" data-toggle="modal" data-target="#_deployments_post" class="list-group-item">
3134
-                        <span class="badge badge_post">post</span>
3135
-                        <div class="method_description">
3136
-                            <p>Create a new deployment</p>
3137
-
3138
-                        </div>
3139
-                        <div class="clearfix"></div>
3140
-                    </a>
3141
-                
3142
-            </div>
3143
-        </div>
3144
-    </div>
3145
-
3146
-    
3147
-        <div class="modal fade" tabindex="0" id="_deployments_get">
3148
-            <div class="modal-dialog">
3149
-                <div class="modal-content">
3150
-                    <div class="modal-header">
3151
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
3152
-                        <h4 class="modal-title" id="myModalLabel">
3153
-                            <span class="badge badge_get">get</span>
3154
-                            <span class="parent"></span>/deployments
3155
-                        </h4>
3156
-                    </div>
3157
-                    <div class="modal-body">
3158
-                        <div class="alert alert-info"><p>Lists active deployments in the current project</p>
3159
-<p>Deployments effect change in a service such as scaling up, down, updating the 
3160
-current image, etc. Deployments may use different policies for carrying out
3161
-the change. For example, a rolling update with a single pod change at a time, or
3162
-a batch update, etc. Deployments make use of Kubernetes replicationControllers
3163
-to bring about the changes.</p>
3164
-</div>
3165
-
3166
-                        <!-- Nav tabs -->
3167
-                        <ul class="nav nav-tabs">
3168
-                            <li class="active">
3169
-                                <a href="#_deployments_get_request" data-toggle="tab">Request</a>
3170
-                            </li>
3171
-                            
3172
-                                <li>
3173
-                                    <a href="#_deployments_get_response" data-toggle="tab">Response</a>
3174
-                                </li>
3175
-                            
3176
-                        </ul>
3177
-
3178
-                        <!-- Tab panes -->
3179
-                        <div class="tab-content">
3180
-                            <div class="tab-pane active" id="_deployments_get_request">
3181
-                                
3182
-
3183
-                                
3184
-
3185
-                                
3186
-
3187
-                                
3188
-                            </div>
3189
-
3190
-                            
3191
-                                <div class="tab-pane" id="_deployments_get_response">
3192
-                                    
3193
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
3194
-                                        
3195
-
3196
-                                        
3197
-
3198
-                                        
3199
-                                            <h3>Body</h3>
3200
-                                            
3201
-                                                <p><strong>Type: application/json</strong></p>
3202
-
3203
-                                                
3204
-
3205
-                                                
3206
-                                                    <p>
3207
-                                                        <small>
3208
-                                                            <strong>Example</strong>:
3209
-                                                            <pre>{
3210
-  "<span class="hljs-attribute">list</span>": <span class="hljs-value">[
744
+}
745
+</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__service__serviceID__environment_variables__variableName_><span class=parent>/service/{serviceID}/environment-variables</span>/{variableName}</a> <span class=methods><a href=# data-toggle=modal data-target=#_service__serviceID__environment_variables__variableName__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_service__serviceID__environment_variables__variableName__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_service__serviceID__environment_variables__variableName__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__service__serviceID__environment_variables__variableName_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_service__serviceID__environment_variables__variableName__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get environment variable</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_service__serviceID__environment_variables__variableName__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update an environment variable&#39;s value</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_service__serviceID__environment_variables__variableName__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete an environment variable</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__environment_variables__variableName__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent>/service/{serviceID}/environment-variables</span>/{variableName}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get environment variable</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__environment_variables__variableName__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__environment_variables__variableName__get_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li><li><strong>variableName</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
746
+  "data": { "name": "var1", "value": "value1" }
747
+}
748
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__environment_variables__variableName__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent>/service/{serviceID}/environment-variables</span>/{variableName}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update an environment variable&#39;s value</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__environment_variables__variableName__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__environment_variables__variableName__put_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li><li><strong>variableName</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
749
+  "data": { "name": "var1", "value": "value1" }
750
+}
751
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_service__serviceID__environment_variables__variableName__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent>/service/{serviceID}/environment-variables</span>/{variableName}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete an environment variable</p></div><ul class="nav nav-tabs"><li class=active><a href=#_service__serviceID__environment_variables__variableName__delete_request data-toggle=tab>Request</a></li><li><a href=#_service__serviceID__environment_variables__variableName__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_service__serviceID__environment_variables__variableName__delete_request><h3>URI Parameters</h3><ul><li><strong>serviceID</strong>: <em>required (string)</em></li><li><strong>variableName</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_service__serviceID__environment_variables__variableName__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
752
+    "apiVersion": "v1beta1",
753
+    "creationTimestamp": null,
754
+    "kind": "Status",
755
+    "status": "success"
756
+}
757
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_deployments class=panel-title>/deployments</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__deployments><span class=parent></span>/deployments</a> <span class=methods><a href=# data-toggle=modal data-target=#_deployments_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_deployments_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__deployments class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_deployments_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Lists active deployments in the current project</p><p>Deployments effect change in a service such as scaling up, down, updating the current image, etc. Deployments may use different policies for carrying out the change. For example, a rolling update with a single pod change at a time, or a batch update, etc. Deployments make use of Kubernetes replicationControllers to bring about the changes.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_deployments_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new deployment</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deployments_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/deployments</h4></div><div class=modal-body><div class="alert alert-info"><p>Lists active deployments in the current project</p><p>Deployments effect change in a service such as scaling up, down, updating the current image, etc. Deployments may use different policies for carrying out the change. For example, a rolling update with a single pod change at a time, or a batch update, etc. Deployments make use of Kubernetes replicationControllers to bring about the changes.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deployments_get_request data-toggle=tab>Request</a></li><li><a href=#_deployments_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deployments_get_request></div><div class=tab-pane id=_deployments_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
758
+  "list": [
3211 759
     {
3212
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1234235172374"</span></span>,
3213
-      "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"the-service-id"</span></span>,
3214
-      "<span class="hljs-attribute">replicationControllers</span>": <span class="hljs-value">[
3215
-        <span class="hljs-string">"replication-controller-id1"</span>,
3216
-        <span class="hljs-string">"replication-controller-id2"</span>,
3217
-        <span class="hljs-string">"replication-controller-id3"</span>
3218
-      ]</span>,
3219
-      "<span class="hljs-attribute">currentState</span>": <span class="hljs-value">{
3220
-        "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,
3221
-        "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{
3222
-          "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
3223
-        </span>}</span>,
3224
-        "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
3225
-          "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
3226
-          "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
3227
-        </span>}]</span>,
3228
-      }</span>,
3229
-      "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
3230
-        "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
3231
-        "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{
3232
-          "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
3233
-        </span>}</span>,
3234
-        "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
3235
-          "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx/v2tag"</span></span>,
3236
-          "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
3237
-        </span>}]</span>,
3238
-      }</span>,
3239
-      "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-string">"active"</span>
3240
-    </span>}
760
+      "id": "1234235172374",
761
+      "serviceId": "the-service-id",
762
+      "replicationControllers": [
763
+        "replication-controller-id1",
764
+        "replication-controller-id2",
765
+        "replication-controller-id3"
766
+      ],
767
+      "currentState": {
768
+        "replicas": 1,
769
+        "replicaSelector": {
770
+          "name": "nginx"
771
+        },
772
+        "containers": [{
773
+          "image": "dockerfile/nginx",
774
+          "ports": [{"containerPort": 80, "hostPort": 8080}]
775
+        }],
776
+      },
777
+      "desiredState": {
778
+        "replicas": 2,
779
+        "replicaSelector": {
780
+          "name": "nginx"
781
+        },
782
+        "containers": [{
783
+          "image": "dockerfile/nginx/v2tag",
784
+          "ports": [{"containerPort": 80, "hostPort": 8080}]
785
+        }],
786
+      },
787
+      "status": "active"
788
+    }
3241 789
   ]
3242
-</span>}
3243
-</pre>
3244
-                                                        </small>
3245
-                                                    </p>
3246
-                                                
3247
-                                            
3248
-                                        
3249
-                                    
3250
-                                </div>
3251
-                            
3252
-                        </div>
3253
-                    </div>
3254
-                </div>
3255
-            </div>
3256
-        </div>
3257
-    
3258
-        <div class="modal fade" tabindex="0" id="_deployments_post">
3259
-            <div class="modal-dialog">
3260
-                <div class="modal-content">
3261
-                    <div class="modal-header">
3262
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
3263
-                        <h4 class="modal-title" id="myModalLabel">
3264
-                            <span class="badge badge_post">post</span>
3265
-                            <span class="parent"></span>/deployments
3266
-                        </h4>
3267
-                    </div>
3268
-                    <div class="modal-body">
3269
-                        <div class="alert alert-info"><p>Create a new deployment</p>
3270
-</div>
3271
-
3272
-                        <!-- Nav tabs -->
3273
-                        <ul class="nav nav-tabs">
3274
-                            <li class="active">
3275
-                                <a href="#_deployments_post_request" data-toggle="tab">Request</a>
3276
-                            </li>
3277
-                            
3278
-                        </ul>
3279
-
3280
-                        <!-- Tab panes -->
3281
-                        <div class="tab-content">
3282
-                            <div class="tab-pane active" id="_deployments_post_request">
3283
-                                
3284
-
3285
-                                
3286
-
3287
-                                
3288
-
3289
-                                
3290
-                                    <h3>Body</h3>
3291
-                                    
3292
-                                        <p><strong>Type: application/json</strong></p>
3293
-                                        
3294
-
3295
-                                        
3296
-
3297
-                                        
3298
-                                            <p>
3299
-                                                <small>
3300
-                                                    <strong>Example</strong>:
3301
-                                                    <pre>{
3302
-  "<span class="hljs-attribute">object</span>": <span class="hljs-value">{
3303
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1234235172374"</span></span>,
3304
-    "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"the-service-id"</span></span>,
3305
-    "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
3306
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
3307
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{
3308
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
3309
-      </span>}</span>,
3310
-      "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
3311
-        "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx/v2tag"</span></span>,
3312
-        "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
3313
-      </span>}]
3314
-    </span>}
3315
-  </span>}
3316
-</span>}
3317
-</pre>
3318
-                                                </small>
3319
-                                            </p>
3320
-                                        
3321
-                                    
3322
-                                
3323
-                            </div>
3324
-
3325
-                            
3326
-                        </div>
3327
-                    </div>
3328
-                </div>
3329
-            </div>
3330
-        </div>
3331
-    
3332
-</div>
3333
-
3334
-
3335
-
3336
-                            </div>
3337
-                        </div>
3338
-                    </div>
3339
-                
3340
-                    <div class="panel panel-default">
3341
-                        <div class="panel-heading">
3342
-                            <h3 id="_deployment__deploymentID_" class="panel-title">/deployment/{deploymentID}</h3>
3343
-                        </div>
3344
-
3345
-                        <div class="panel-body">
3346
-                            
3347
-
3348
-                            <div class="panel-group">
3349
-                                <div class="panel panel-white">
3350
-    <div class="panel-heading">
3351
-        <h4 class="panel-title">
3352
-            <a class="block collapsed" data-toggle="collapse" href="#panel__deployment__deploymentID_">
3353
-                <span class="methods">
3354
-                    
3355
-                        <span class="badge badge_get">get</span>
3356
-                    
3357
-                </span>
3358
-                <span class="parent"></span>/deployment/{deploymentID}
3359
-            </a>
3360
-        </h4>
3361
-    </div>
3362
-    <div id="panel__deployment__deploymentID_" class="panel-collapse collapse">
3363
-        <div class="panel-body">
3364
-            <div class="list-group">
3365
-                
3366
-                    <a href="#" data-toggle="modal" data-target="#_deployment__deploymentID__get" class="list-group-item">
3367
-                        <span class="badge badge_get">get</span>
3368
-                        <div class="method_description">
3369
-                            <p>Get deployment details</p>
3370
-
3371
-                        </div>
3372
-                        <div class="clearfix"></div>
3373
-                    </a>
3374
-                
3375
-            </div>
3376
-        </div>
3377
-    </div>
3378
-
3379
-    
3380
-        <div class="modal fade" tabindex="0" id="_deployment__deploymentID__get">
3381
-            <div class="modal-dialog">
3382
-                <div class="modal-content">
3383
-                    <div class="modal-header">
3384
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
3385
-                        <h4 class="modal-title" id="myModalLabel">
3386
-                            <span class="badge badge_get">get</span>
3387
-                            <span class="parent"></span>/deployment/{deploymentID}
3388
-                        </h4>
3389
-                    </div>
3390
-                    <div class="modal-body">
3391
-                        <div class="alert alert-info"><p>Get deployment details</p>
3392
-</div>
3393
-
3394
-                        <!-- Nav tabs -->
3395
-                        <ul class="nav nav-tabs">
3396
-                            <li class="active">
3397
-                                <a href="#_deployment__deploymentID__get_request" data-toggle="tab">Request</a>
3398
-                            </li>
3399
-                            
3400
-                        </ul>
3401
-
3402
-                        <!-- Tab panes -->
3403
-                        <div class="tab-content">
3404
-                            <div class="tab-pane active" id="_deployment__deploymentID__get_request">
3405
-                                
3406
-                                    <h3>URI Parameters</h3>
3407
-                                    <ul>
3408
-                                        
3409
-                                            <li>
3410
-                                                <strong>deploymentID</strong>:
3411
-                                                <em>
3412
-                                                    
3413
-                                                        required
3414
-                                                    
3415
-                                                    (string)
3416
-                                                </em>
3417
-
3418
-                                                
3419
-                                            </li>
3420
-                                        
3421
-                                    </ul>
3422
-                                
3423
-
3424
-                                
3425
-
3426
-                                
3427
-
3428
-                                
3429
-                                    <h3>Body</h3>
3430
-                                    
3431
-                                        <p><strong>Type: application/json</strong></p>
3432
-                                        
3433
-
3434
-                                        
3435
-
3436
-                                        
3437
-                                            <p>
3438
-                                                <small>
3439
-                                                    <strong>Example</strong>:
3440
-                                                    <pre>{
3441
-  "<span class="hljs-attribute">object</span>": <span class="hljs-value">{
3442
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1234235172374"</span></span>,
3443
-    "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"the-service-id"</span></span>,
3444
-    "<span class="hljs-attribute">replicationControllers</span>": <span class="hljs-value">[
3445
-      <span class="hljs-string">"replication-controller-id1"</span>,
3446
-      <span class="hljs-string">"replication-controller-id2"</span>,
3447
-      <span class="hljs-string">"replication-controller-id3"</span>
3448
-    ]</span>,
3449
-    "<span class="hljs-attribute">currentState</span>": <span class="hljs-value">{
3450
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,
3451
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{
3452
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
3453
-      </span>}</span>,
3454
-      "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
3455
-        "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
3456
-        "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
3457
-      </span>}]</span>,
3458
-    }</span>,
3459
-    "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
3460
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
3461
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{
3462
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
3463
-      </span>}</span>,
3464
-      "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
3465
-        "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx/v2tag"</span></span>,
3466
-        "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
3467
-      </span>}]</span>,
3468
-    }</span>,
3469
-    "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-string">"active"</span>
3470
-  </span>}
3471
-</span>}
3472
-</pre>
3473
-                                                </small>
3474
-                                            </p>
3475
-                                        
3476
-                                    
3477
-                                
3478
-                            </div>
3479
-
3480
-                            
3481
-                        </div>
3482
-                    </div>
3483
-                </div>
3484
-            </div>
3485
-        </div>
3486
-    
3487
-</div>
3488
-
3489
-
3490
-
3491
-                            </div>
3492
-                        </div>
3493
-                    </div>
3494
-                
3495
-                    <div class="panel panel-default">
3496
-                        <div class="panel-heading">
3497
-                            <h3 id="_links" class="panel-title">/links</h3>
3498
-                        </div>
3499
-
3500
-                        <div class="panel-body">
3501
-                            
3502
-
3503
-                            <div class="panel-group">
3504
-                                <div class="panel panel-white">
3505
-    <div class="panel-heading">
3506
-        <h4 class="panel-title">
3507
-            <a class="block collapsed" data-toggle="collapse" href="#panel__links">
3508
-                <span class="methods">
3509
-                    
3510
-                        <span class="badge badge_get">get</span>
3511
-                    
3512
-                        <span class="badge badge_post">post</span>
3513
-                    
3514
-                </span>
3515
-                <span class="parent"></span>/links
3516
-            </a>
3517
-        </h4>
3518
-    </div>
3519
-    <div id="panel__links" class="panel-collapse collapse">
3520
-        <div class="panel-body">
3521
-            <div class="list-group">
3522
-                
3523
-                    <a href="#" data-toggle="modal" data-target="#_links_get" class="list-group-item">
3524
-                        <span class="badge badge_get">get</span>
3525
-                        <div class="method_description">
3526
-                            <p>List of links between services in your account</p>
3527
-<p>Unlike a Docker link, a Link in OpenShift defines a relationship between services
3528
-which may be composed by multiple Docker images. A link may include additional metadata
3529
-about the relationship such as the algorithm to use to distribute requests.</p>
3530
-
3531
-                        </div>
3532
-                        <div class="clearfix"></div>
3533
-                    </a>
3534
-                
3535
-                    <a href="#" data-toggle="modal" data-target="#_links_post" class="list-group-item">
3536
-                        <span class="badge badge_post">post</span>
3537
-                        <div class="method_description">
3538
-                            <p>Create a new link between this service and a different service</p>
3539
-
3540
-                        </div>
3541
-                        <div class="clearfix"></div>
3542
-                    </a>
3543
-                
3544
-            </div>
3545
-        </div>
3546
-    </div>
3547
-
3548
-    
3549
-        <div class="modal fade" tabindex="0" id="_links_get">
3550
-            <div class="modal-dialog">
3551
-                <div class="modal-content">
3552
-                    <div class="modal-header">
3553
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
3554
-                        <h4 class="modal-title" id="myModalLabel">
3555
-                            <span class="badge badge_get">get</span>
3556
-                            <span class="parent"></span>/links
3557
-                        </h4>
3558
-                    </div>
3559
-                    <div class="modal-body">
3560
-                        <div class="alert alert-info"><p>List of links between services in your account</p>
3561
-<p>Unlike a Docker link, a Link in OpenShift defines a relationship between services
3562
-which may be composed by multiple Docker images. A link may include additional metadata
3563
-about the relationship such as the algorithm to use to distribute requests.</p>
3564
-</div>
3565
-
3566
-                        <!-- Nav tabs -->
3567
-                        <ul class="nav nav-tabs">
3568
-                            <li class="active">
3569
-                                <a href="#_links_get_request" data-toggle="tab">Request</a>
3570
-                            </li>
3571
-                            
3572
-                                <li>
3573
-                                    <a href="#_links_get_response" data-toggle="tab">Response</a>
3574
-                                </li>
3575
-                            
3576
-                        </ul>
3577
-
3578
-                        <!-- Tab panes -->
3579
-                        <div class="tab-content">
3580
-                            <div class="tab-pane active" id="_links_get_request">
3581
-                                
3582
-
3583
-                                
3584
-
3585
-                                
3586
-                                    <h3>Query Parameters</h3>
3587
-                                    <ul>
3588
-                                        
3589
-                                            <li>
3590
-                                                <strong>projectId</strong>
3591
-                                                <em>
3592
-                                                    
3593
-                                                    
3594
-                                                        (string)
3595
-                                                    
3596
-                                                </em>
3597
-
3598
-                                                <p>filter the links owned by a particular project</p>
3599
-
3600
-
3601
-                                                
3602
-
3603
-                                                
3604
-                                            </li>
3605
-                                        
3606
-                                            <li>
3607
-                                                <strong>serviceId</strong>
3608
-                                                <em>
3609
-                                                    
3610
-                                                    
3611
-                                                        (string)
3612
-                                                    
3613
-                                                </em>
3614
-
3615
-                                                <p>filter the links attached to a particular service</p>
3616
-
3617
-
3618
-                                                
3619
-
3620
-                                                
3621
-                                            </li>
3622
-                                        
3623
-                                    </ul>
3624
-                                
3625
-
3626
-                                
3627
-                            </div>
3628
-
3629
-                            
3630
-                                <div class="tab-pane" id="_links_get_response">
3631
-                                    
3632
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
3633
-                                        
3634
-
3635
-                                        
3636
-
3637
-                                        
3638
-                                            <h3>Body</h3>
3639
-                                            
3640
-                                                <p><strong>Type: application/json</strong></p>
3641
-
3642
-                                                
3643
-
3644
-                                                
3645
-                                                    <p>
3646
-                                                        <small>
3647
-                                                            <strong>Example</strong>:
3648
-                                                            <pre>{
3649
-  "<span class="hljs-attribute">list</span>":
3650
-  <span class="hljs-value">[
790
+}
791
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deployments_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/deployments</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new deployment</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deployments_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deployments_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
792
+  "object": {
793
+    "id": "1234235172374",
794
+    "serviceId": "the-service-id",
795
+    "desiredState": {
796
+      "replicas": 2,
797
+      "replicaSelector": {
798
+        "name": "nginx"
799
+      },
800
+      "containers": [{
801
+        "image": "dockerfile/nginx/v2tag",
802
+        "ports": [{"containerPort": 80, "hostPort": 8080}]
803
+      }]
804
+    }
805
+  }
806
+}
807
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_deployment__deploymentID_ class=panel-title>/deployment/{deploymentID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__deployment__deploymentID_><span class=parent></span>/deployment/{deploymentID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_deployment__deploymentID__get><span class="badge badge_get">get</span></a></span></h4></div><div id=panel__deployment__deploymentID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_deployment__deploymentID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get deployment details</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deployment__deploymentID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/deployment/{deploymentID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get deployment details</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deployment__deploymentID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deployment__deploymentID__get_request><h3>URI Parameters</h3><ul><li><strong>deploymentID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
808
+  "object": {
809
+    "id": "1234235172374",
810
+    "serviceId": "the-service-id",
811
+    "replicationControllers": [
812
+      "replication-controller-id1",
813
+      "replication-controller-id2",
814
+      "replication-controller-id3"
815
+    ],
816
+    "currentState": {
817
+      "replicas": 1,
818
+      "replicaSelector": {
819
+        "name": "nginx"
820
+      },
821
+      "containers": [{
822
+        "image": "dockerfile/nginx",
823
+        "ports": [{"containerPort": 80, "hostPort": 8080}]
824
+      }],
825
+    },
826
+    "desiredState": {
827
+      "replicas": 2,
828
+      "replicaSelector": {
829
+        "name": "nginx"
830
+      },
831
+      "containers": [{
832
+        "image": "dockerfile/nginx/v2tag",
833
+        "ports": [{"containerPort": 80, "hostPort": 8080}]
834
+      }],
835
+    },
836
+    "status": "active"
837
+  }
838
+}
839
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_links class=panel-title>/links</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__links><span class=parent></span>/links</a> <span class=methods><a href=# data-toggle=modal data-target=#_links_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_links_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__links class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_links_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List of links between services in your account</p><p>Unlike a Docker link, a Link in OpenShift defines a relationship between services which may be composed by multiple Docker images. A link may include additional metadata about the relationship such as the algorithm to use to distribute requests.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_links_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new link between this service and a different service</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_links_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/links</h4></div><div class=modal-body><div class="alert alert-info"><p>List of links between services in your account</p><p>Unlike a Docker link, a Link in OpenShift defines a relationship between services which may be composed by multiple Docker images. A link may include additional metadata about the relationship such as the algorithm to use to distribute requests.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_links_get_request data-toggle=tab>Request</a></li><li><a href=#_links_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_links_get_request><h3>Query Parameters</h3><ul><li><strong>projectId</strong>: <em>(string)</em><p>filter the links owned by a particular project</p></li><li><strong>serviceId</strong>: <em>(string)</em><p>filter the links attached to a particular service</p></li></ul></div><div class=tab-pane id=_links_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
840
+  "list":
841
+  [
3651 842
     {
3652
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
3653
-      "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
3654
-      "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
3655
-        "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
3656
-      </span>}</span>,
3657
-      "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
3658
-        "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
3659
-        "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
3660
-      </span>}
3661
-      <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
3662
-    </span>}
843
+      "id": "53c4249f076573c0f4000001",
844
+      "projectId": "myproject-1234123132",
845
+      "source": {
846
+        "serviceId": "nginx-1893747912737"
847
+      },
848
+      "destination": {
849
+        "serviceId": "ruby1.9-1237471273",
850
+        "port": 8080
851
+      }
852
+      "policy": "round-robin"
853
+    }
3663 854
   ]
3664
-</span>}
3665
-</pre>
3666
-                                                        </small>
3667
-                                                    </p>
3668
-                                                
3669
-                                            
3670
-                                        
3671
-                                    
3672
-                                </div>
3673
-                            
3674
-                        </div>
3675
-                    </div>
3676
-                </div>
3677
-            </div>
3678
-        </div>
3679
-    
3680
-        <div class="modal fade" tabindex="0" id="_links_post">
3681
-            <div class="modal-dialog">
3682
-                <div class="modal-content">
3683
-                    <div class="modal-header">
3684
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
3685
-                        <h4 class="modal-title" id="myModalLabel">
3686
-                            <span class="badge badge_post">post</span>
3687
-                            <span class="parent"></span>/links
3688
-                        </h4>
3689
-                    </div>
3690
-                    <div class="modal-body">
3691
-                        <div class="alert alert-info"><p>Create a new link between this service and a different service</p>
3692
-</div>
3693
-
3694
-                        <!-- Nav tabs -->
3695
-                        <ul class="nav nav-tabs">
3696
-                            <li class="active">
3697
-                                <a href="#_links_post_request" data-toggle="tab">Request</a>
3698
-                            </li>
3699
-                            
3700
-                        </ul>
3701
-
3702
-                        <!-- Tab panes -->
3703
-                        <div class="tab-content">
3704
-                            <div class="tab-pane active" id="_links_post_request">
3705
-                                
3706
-
3707
-                                
3708
-
3709
-                                
3710
-
3711
-                                
3712
-                                    <h3>Body</h3>
3713
-                                    
3714
-                                        <p><strong>Type: application/json</strong></p>
3715
-                                        
3716
-
3717
-                                        
3718
-
3719
-                                        
3720
-                                            <p>
3721
-                                                <small>
3722
-                                                    <strong>Example</strong>:
3723
-                                                    <pre>{
3724
-  "<span class="hljs-attribute">data</span>":
3725
-  <span class="hljs-value">{
3726
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
3727
-    "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
3728
-    "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
3729
-      "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
3730
-    </span>}</span>,
3731
-    "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
3732
-      "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
3733
-      "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
3734
-    </span>}
3735
-    <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
3736
-  </span>}
3737
-</span>}
3738
-</pre>
3739
-                                                </small>
3740
-                                            </p>
3741
-                                        
3742
-                                    
3743
-                                
3744
-                            </div>
3745
-
3746
-                            
3747
-                        </div>
3748
-                    </div>
3749
-                </div>
3750
-            </div>
3751
-        </div>
3752
-    
3753
-</div>
3754
-
3755
-
3756
-
3757
-                            </div>
3758
-                        </div>
3759
-                    </div>
3760
-                
3761
-                    <div class="panel panel-default">
3762
-                        <div class="panel-heading">
3763
-                            <h3 id="_link__linkID_" class="panel-title">/link/{linkID}</h3>
3764
-                        </div>
3765
-
3766
-                        <div class="panel-body">
3767
-                            
3768
-
3769
-                            <div class="panel-group">
3770
-                                <div class="panel panel-white">
3771
-    <div class="panel-heading">
3772
-        <h4 class="panel-title">
3773
-            <a class="block collapsed" data-toggle="collapse" href="#panel__link__linkID_">
3774
-                <span class="methods">
3775
-                    
3776
-                        <span class="badge badge_get">get</span>
3777
-                    
3778
-                        <span class="badge badge_put">put</span>
3779
-                    
3780
-                        <span class="badge badge_delete">delete</span>
3781
-                    
3782
-                </span>
3783
-                <span class="parent"></span>/link/{linkID}
3784
-            </a>
3785
-        </h4>
3786
-    </div>
3787
-    <div id="panel__link__linkID_" class="panel-collapse collapse">
3788
-        <div class="panel-body">
3789
-            <div class="list-group">
3790
-                
3791
-                    <a href="#" data-toggle="modal" data-target="#_link__linkID__get" class="list-group-item">
3792
-                        <span class="badge badge_get">get</span>
3793
-                        <div class="method_description">
3794
-                            <p>Get link details</p>
3795
-
3796
-                        </div>
3797
-                        <div class="clearfix"></div>
3798
-                    </a>
3799
-                
3800
-                    <a href="#" data-toggle="modal" data-target="#_link__linkID__put" class="list-group-item">
3801
-                        <span class="badge badge_put">put</span>
3802
-                        <div class="method_description">
3803
-                            <p>Update a link</p>
3804
-
3805
-                        </div>
3806
-                        <div class="clearfix"></div>
3807
-                    </a>
3808
-                
3809
-                    <a href="#" data-toggle="modal" data-target="#_link__linkID__delete" class="list-group-item">
3810
-                        <span class="badge badge_delete">delete</span>
3811
-                        <div class="method_description">
3812
-                            <p>Delete a link</p>
3813
-
3814
-                        </div>
3815
-                        <div class="clearfix"></div>
3816
-                    </a>
3817
-                
3818
-            </div>
3819
-        </div>
3820
-    </div>
3821
-
3822
-    
3823
-        <div class="modal fade" tabindex="0" id="_link__linkID__get">
3824
-            <div class="modal-dialog">
3825
-                <div class="modal-content">
3826
-                    <div class="modal-header">
3827
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
3828
-                        <h4 class="modal-title" id="myModalLabel">
3829
-                            <span class="badge badge_get">get</span>
3830
-                            <span class="parent"></span>/link/{linkID}
3831
-                        </h4>
3832
-                    </div>
3833
-                    <div class="modal-body">
3834
-                        <div class="alert alert-info"><p>Get link details</p>
3835
-</div>
3836
-
3837
-                        <!-- Nav tabs -->
3838
-                        <ul class="nav nav-tabs">
3839
-                            <li class="active">
3840
-                                <a href="#_link__linkID__get_request" data-toggle="tab">Request</a>
3841
-                            </li>
3842
-                            
3843
-                        </ul>
3844
-
3845
-                        <!-- Tab panes -->
3846
-                        <div class="tab-content">
3847
-                            <div class="tab-pane active" id="_link__linkID__get_request">
3848
-                                
3849
-                                    <h3>URI Parameters</h3>
3850
-                                    <ul>
3851
-                                        
3852
-                                            <li>
3853
-                                                <strong>linkID</strong>:
3854
-                                                <em>
3855
-                                                    
3856
-                                                        required
3857
-                                                    
3858
-                                                    (string)
3859
-                                                </em>
3860
-
3861
-                                                
3862
-                                            </li>
3863
-                                        
3864
-                                    </ul>
3865
-                                
3866
-
3867
-                                
3868
-
3869
-                                
3870
-
3871
-                                
3872
-                                    <h3>Body</h3>
3873
-                                    
3874
-                                        <p><strong>Type: application/json</strong></p>
3875
-                                        
3876
-
3877
-                                        
3878
-
3879
-                                        
3880
-                                            <p>
3881
-                                                <small>
3882
-                                                    <strong>Example</strong>:
3883
-                                                    <pre>{
3884
-  "<span class="hljs-attribute">data</span>":
3885
-  <span class="hljs-value">{
3886
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
3887
-    "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
3888
-    "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
3889
-      "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
3890
-    </span>}</span>,
3891
-    "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
3892
-      "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
3893
-      "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
3894
-    </span>}
3895
-    <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
3896
-  </span>}
3897
-</span>}
3898
-</pre>
3899
-                                                </small>
3900
-                                            </p>
3901
-                                        
3902
-                                    
3903
-                                
3904
-                            </div>
3905
-
3906
-                            
3907
-                        </div>
3908
-                    </div>
3909
-                </div>
3910
-            </div>
3911
-        </div>
3912
-    
3913
-        <div class="modal fade" tabindex="0" id="_link__linkID__put">
3914
-            <div class="modal-dialog">
3915
-                <div class="modal-content">
3916
-                    <div class="modal-header">
3917
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
3918
-                        <h4 class="modal-title" id="myModalLabel">
3919
-                            <span class="badge badge_put">put</span>
3920
-                            <span class="parent"></span>/link/{linkID}
3921
-                        </h4>
3922
-                    </div>
3923
-                    <div class="modal-body">
3924
-                        <div class="alert alert-info"><p>Update a link</p>
3925
-</div>
3926
-
3927
-                        <!-- Nav tabs -->
3928
-                        <ul class="nav nav-tabs">
3929
-                            <li class="active">
3930
-                                <a href="#_link__linkID__put_request" data-toggle="tab">Request</a>
3931
-                            </li>
3932
-                            
3933
-                        </ul>
3934
-
3935
-                        <!-- Tab panes -->
3936
-                        <div class="tab-content">
3937
-                            <div class="tab-pane active" id="_link__linkID__put_request">
3938
-                                
3939
-                                    <h3>URI Parameters</h3>
3940
-                                    <ul>
3941
-                                        
3942
-                                            <li>
3943
-                                                <strong>linkID</strong>:
3944
-                                                <em>
3945
-                                                    
3946
-                                                        required
3947
-                                                    
3948
-                                                    (string)
3949
-                                                </em>
3950
-
3951
-                                                
3952
-                                            </li>
3953
-                                        
3954
-                                    </ul>
3955
-                                
3956
-
3957
-                                
3958
-
3959
-                                
3960
-
3961
-                                
3962
-                                    <h3>Body</h3>
3963
-                                    
3964
-                                        <p><strong>Type: application/json</strong></p>
3965
-                                        
3966
-
3967
-                                        
3968
-
3969
-                                        
3970
-                                            <p>
3971
-                                                <small>
3972
-                                                    <strong>Example</strong>:
3973
-                                                    <pre>{
3974
-  "<span class="hljs-attribute">data</span>":
3975
-  <span class="hljs-value">{
3976
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
3977
-    "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
3978
-    "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
3979
-      "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
3980
-    </span>}</span>,
3981
-    "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
3982
-      "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
3983
-      "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
3984
-    </span>}
3985
-    <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
3986
-  </span>}
3987
-</span>}
3988
-</pre>
3989
-                                                </small>
3990
-                                            </p>
3991
-                                        
3992
-                                    
3993
-                                
3994
-                            </div>
3995
-
3996
-                            
3997
-                        </div>
3998
-                    </div>
3999
-                </div>
4000
-            </div>
4001
-        </div>
4002
-    
4003
-        <div class="modal fade" tabindex="0" id="_link__linkID__delete">
4004
-            <div class="modal-dialog">
4005
-                <div class="modal-content">
4006
-                    <div class="modal-header">
4007
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4008
-                        <h4 class="modal-title" id="myModalLabel">
4009
-                            <span class="badge badge_delete">delete</span>
4010
-                            <span class="parent"></span>/link/{linkID}
4011
-                        </h4>
4012
-                    </div>
4013
-                    <div class="modal-body">
4014
-                        <div class="alert alert-info"><p>Delete a link</p>
4015
-</div>
4016
-
4017
-                        <!-- Nav tabs -->
4018
-                        <ul class="nav nav-tabs">
4019
-                            <li class="active">
4020
-                                <a href="#_link__linkID__delete_request" data-toggle="tab">Request</a>
4021
-                            </li>
4022
-                            
4023
-                                <li>
4024
-                                    <a href="#_link__linkID__delete_response" data-toggle="tab">Response</a>
4025
-                                </li>
4026
-                            
4027
-                        </ul>
4028
-
4029
-                        <!-- Tab panes -->
4030
-                        <div class="tab-content">
4031
-                            <div class="tab-pane active" id="_link__linkID__delete_request">
4032
-                                
4033
-                                    <h3>URI Parameters</h3>
4034
-                                    <ul>
4035
-                                        
4036
-                                            <li>
4037
-                                                <strong>linkID</strong>:
4038
-                                                <em>
4039
-                                                    
4040
-                                                        required
4041
-                                                    
4042
-                                                    (string)
4043
-                                                </em>
4044
-
4045
-                                                
4046
-                                            </li>
4047
-                                        
4048
-                                    </ul>
4049
-                                
4050
-
4051
-                                
4052
-
4053
-                                
4054
-
4055
-                                
4056
-                            </div>
4057
-
4058
-                            
4059
-                                <div class="tab-pane" id="_link__linkID__delete_response">
4060
-                                    
4061
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
4062
-                                        
4063
-
4064
-                                        
4065
-
4066
-                                        
4067
-                                            <h3>Body</h3>
4068
-                                            
4069
-                                                <p><strong>Type: application/json</strong></p>
4070
-
4071
-                                                
4072
-
4073
-                                                
4074
-                                                    <p>
4075
-                                                        <small>
4076
-                                                            <strong>Example</strong>:
4077
-                                                            <pre>{
4078
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
4079
-</span>}
4080
-</pre>
4081
-                                                        </small>
4082
-                                                    </p>
4083
-                                                
4084
-                                            
4085
-                                        
4086
-                                    
4087
-                                </div>
4088
-                            
4089
-                        </div>
4090
-                    </div>
4091
-                </div>
4092
-            </div>
4093
-        </div>
4094
-    
4095
-</div>
4096
-
4097
-
4098
-
4099
-                            </div>
4100
-                        </div>
4101
-                    </div>
4102
-                
4103
-                    <div class="panel panel-default">
4104
-                        <div class="panel-heading">
4105
-                            <h3 id="_aliases" class="panel-title">/aliases</h3>
4106
-                        </div>
4107
-
4108
-                        <div class="panel-body">
4109
-                            
4110
-
4111
-                            <div class="panel-group">
4112
-                                <div class="panel panel-white">
4113
-    <div class="panel-heading">
4114
-        <h4 class="panel-title">
4115
-            <a class="block collapsed" data-toggle="collapse" href="#panel__aliases">
4116
-                <span class="methods">
4117
-                    
4118
-                        <span class="badge badge_get">get</span>
4119
-                    
4120
-                        <span class="badge badge_post">post</span>
4121
-                    
4122
-                </span>
4123
-                <span class="parent"></span>/aliases
4124
-            </a>
4125
-        </h4>
4126
-    </div>
4127
-    <div id="panel__aliases" class="panel-collapse collapse">
4128
-        <div class="panel-body">
4129
-            <div class="list-group">
4130
-                
4131
-                    <a href="#" data-toggle="modal" data-target="#_aliases_get" class="list-group-item">
4132
-                        <span class="badge badge_get">get</span>
4133
-                        <div class="method_description">
4134
-                            <p>List all aliases visible to you</p>
4135
-<p>Aliases in v3 perform the same function as aliases in v2. The main difference
4136
-is that in v3 an alias is associated with a service, not an application.</p>
4137
-
4138
-                        </div>
4139
-                        <div class="clearfix"></div>
4140
-                    </a>
4141
-                
4142
-                    <a href="#" data-toggle="modal" data-target="#_aliases_post" class="list-group-item">
4143
-                        <span class="badge badge_post">post</span>
4144
-                        <div class="method_description">
4145
-                            <p>Create an alias for this service</p>
4146
-
4147
-                        </div>
4148
-                        <div class="clearfix"></div>
4149
-                    </a>
4150
-                
4151
-            </div>
4152
-        </div>
4153
-    </div>
4154
-
4155
-    
4156
-        <div class="modal fade" tabindex="0" id="_aliases_get">
4157
-            <div class="modal-dialog">
4158
-                <div class="modal-content">
4159
-                    <div class="modal-header">
4160
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4161
-                        <h4 class="modal-title" id="myModalLabel">
4162
-                            <span class="badge badge_get">get</span>
4163
-                            <span class="parent"></span>/aliases
4164
-                        </h4>
4165
-                    </div>
4166
-                    <div class="modal-body">
4167
-                        <div class="alert alert-info"><p>List all aliases visible to you</p>
4168
-<p>Aliases in v3 perform the same function as aliases in v2. The main difference
4169
-is that in v3 an alias is associated with a service, not an application.</p>
4170
-</div>
4171
-
4172
-                        <!-- Nav tabs -->
4173
-                        <ul class="nav nav-tabs">
4174
-                            <li class="active">
4175
-                                <a href="#_aliases_get_request" data-toggle="tab">Request</a>
4176
-                            </li>
4177
-                            
4178
-                                <li>
4179
-                                    <a href="#_aliases_get_response" data-toggle="tab">Response</a>
4180
-                                </li>
4181
-                            
4182
-                        </ul>
4183
-
4184
-                        <!-- Tab panes -->
4185
-                        <div class="tab-content">
4186
-                            <div class="tab-pane active" id="_aliases_get_request">
4187
-                                
4188
-
4189
-                                
4190
-
4191
-                                
4192
-                                    <h3>Query Parameters</h3>
4193
-                                    <ul>
4194
-                                        
4195
-                                            <li>
4196
-                                                <strong>serviceId</strong>
4197
-                                                <em>
4198
-                                                    
4199
-                                                    
4200
-                                                        (string)
4201
-                                                    
4202
-                                                </em>
4203
-
4204
-                                                <p>filter aliases by associated service</p>
4205
-
4206
-
4207
-                                                
4208
-
4209
-                                                
4210
-                                            </li>
4211
-                                        
4212
-                                    </ul>
4213
-                                
4214
-
4215
-                                
4216
-                            </div>
4217
-
4218
-                            
4219
-                                <div class="tab-pane" id="_aliases_get_response">
4220
-                                    
4221
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
4222
-                                        
4223
-
4224
-                                        
4225
-
4226
-                                        
4227
-                                            <h3>Body</h3>
4228
-                                            
4229
-                                                <p><strong>Type: application/json</strong></p>
4230
-
4231
-                                                
4232
-
4233
-                                                
4234
-                                                    <p>
4235
-                                                        <small>
4236
-                                                            <strong>Example</strong>:
4237
-                                                            <pre>{
4238
-  <span class="hljs-string">"list"</span>:
855
+}
856
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_links_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/links</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new link between this service and a different service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_links_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_links_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
857
+  "data":
858
+  {
859
+    "id": "53c4249f076573c0f4000001",
860
+    "projectId": "myproject-1234123132",
861
+    "source": {
862
+      "serviceId": "nginx-1893747912737"
863
+    },
864
+    "destination": {
865
+      "serviceId": "ruby1.9-1237471273",
866
+      "port": 8080
867
+    }
868
+    "policy": "round-robin"
869
+  }
870
+}
871
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_link__linkID_ class=panel-title>/link/{linkID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__link__linkID_><span class=parent></span>/link/{linkID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_link__linkID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_link__linkID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_link__linkID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__link__linkID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_link__linkID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get link details</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_link__linkID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a link</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_link__linkID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a link</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_link__linkID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/link/{linkID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get link details</p></div><ul class="nav nav-tabs"><li class=active><a href=#_link__linkID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_link__linkID__get_request><h3>URI Parameters</h3><ul><li><strong>linkID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
872
+  "data":
873
+  {
874
+    "id": "53c4249f076573c0f4000001",
875
+    "projectId": "myproject-1234123132",
876
+    "source": {
877
+      "serviceId": "nginx-1893747912737"
878
+    },
879
+    "destination": {
880
+      "serviceId": "ruby1.9-1237471273",
881
+      "port": 8080
882
+    }
883
+    "policy": "round-robin"
884
+  }
885
+}
886
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_link__linkID__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent></span>/link/{linkID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a link</p></div><ul class="nav nav-tabs"><li class=active><a href=#_link__linkID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_link__linkID__put_request><h3>URI Parameters</h3><ul><li><strong>linkID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
887
+  "data":
888
+  {
889
+    "id": "53c4249f076573c0f4000001",
890
+    "projectId": "myproject-1234123132",
891
+    "source": {
892
+      "serviceId": "nginx-1893747912737"
893
+    },
894
+    "destination": {
895
+      "serviceId": "ruby1.9-1237471273",
896
+      "port": 8080
897
+    }
898
+    "policy": "round-robin"
899
+  }
900
+}
901
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_link__linkID__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/link/{linkID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a link</p></div><ul class="nav nav-tabs"><li class=active><a href=#_link__linkID__delete_request data-toggle=tab>Request</a></li><li><a href=#_link__linkID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_link__linkID__delete_request><h3>URI Parameters</h3><ul><li><strong>linkID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_link__linkID__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
902
+    "apiVersion": "v1beta1",
903
+    "creationTimestamp": null,
904
+    "kind": "Status",
905
+    "status": "success"
906
+}
907
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_aliases class=panel-title>/aliases</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__aliases><span class=parent></span>/aliases</a> <span class=methods><a href=# data-toggle=modal data-target=#_aliases_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_aliases_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__aliases class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_aliases_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all aliases visible to you</p><p>Aliases in v3 perform the same function as aliases in v2. The main difference is that in v3 an alias is associated with a service, not an application.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_aliases_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create an alias for this service</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_aliases_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/aliases</h4></div><div class=modal-body><div class="alert alert-info"><p>List all aliases visible to you</p><p>Aliases in v3 perform the same function as aliases in v2. The main difference is that in v3 an alias is associated with a service, not an application.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_aliases_get_request data-toggle=tab>Request</a></li><li><a href=#_aliases_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_aliases_get_request><h3>Query Parameters</h3><ul><li><strong>serviceId</strong>: <em>(string)</em><p>filter aliases by associated service</p></li></ul></div><div class=tab-pane id=_aliases_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
908
+  "list":
4239 909
   [
4240 910
     {
4241
-    <span class="hljs-string">"id"</span>: <span class="hljs-string">"myalias"</span>,
4242
-    <span class="hljs-string">"ssl_certificate"</span>: <span class="hljs-string">"-----BEGIN CERTIFICATE-----\nMIIDoDCCAogCCQDzF8AJCHnrbjANBgkqhkiG9w0BAQUFADCBkTELMAkGA1UEBhMC\nVVMxCzAJBgNVBAgMAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxDzANBgNVBAoMBnJl\nZGhhdDESMBAGA1UECwwJb3BlbnNoaWZ0MRIwEAYDVQQDDAlvcGVuc2hpZnQxKDAm\nBgkqhkiG9w0BCQEWGWluZm9Ab3BlbnNoaWZ0LnJlZGhhdC5jb20wHhcNMTMwMjE5\nMjExMTQ4WhcNMTQwMjE5MjExMTQ4WjCBkTELMAkGA1UEBhMCVVMxCzAJBgNVBAgM\nAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxDzANBgNVBAoMBnJlZGhhdDESMBAGA1UE\nCwwJb3BlbnNoaWZ0MRIwEAYDVQQDDAlvcGVuc2hpZnQxKDAmBgkqhkiG9w0BCQEW\nGWluZm9Ab3BlbnNoaWZ0LnJlZGhhdC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IB\nDwAwggEKAoIBAQDAEbH4MCi3iIDP1HS+/Xwu8SjdSc5WJX6htV7hJpmFZ8HohV/8\nba0v6aM9IJIIt+sIe2J62t/9G3leOdIHBxeACN4fV2l/iA/fvxvlnFKeD7sHm9Oc\nYj1H6YYJ57sIOf/oLDpJl6l3Rw8VC3+3W0/lzlVpA8qt7fpkiW7XQJCPplUSrdVC\n3okQ2T5NAod5+wVIOqELgE5bLX1LRs5VPsjytHkJ7rKXs55FHR3kpsoImn5xD0Ky\n6lRn8cIMolQoyN5HIGr8f5P+07hrHibve8jje/DKTssb5yEUAEmh6iGHQsRAnsUW\nQoIEUOLqQCu9re2No4G52Kl2xQIjyJF7rCfxAgMBAAEwDQYJKoZIhvcNAQEFBQAD\nggEBAGHrya/ZkiAje2kHsOajXMlO2+y1iLfUDcRLuEWpUa8sI5EM4YtemQrsupFp\n8lVYG5C4Vh8476oF9t8Wex5eH3ocwbSvPIUqE07hdmrubiMq4wxFVRYq7g9lHAnx\nl+bABuN/orbAcPcGAGg7AkXVoAc3Fza/ZcgMcw7NOtDTEss70V9OdgCfQUJL0KdO\nhCO8bQ1EaEiq6zEh8RpZe8mu+f/GYATX1I+eJUc6F6cn83oJjE9bqAVzk7TzTHeK\nEBKN50C14wWtXeG7n2+ugaVO+0xnvHeUrQBLHSRyOHqxXrQQ5XmzcaBiyI0f2IQM\nHst1BVXyX0n/L/ZoYYsv5juJmDo=\n-----END CERTIFICATE-----"</span>,
4243
-    <span class="hljs-string">"private_key"</span>: <span class="hljs-string">"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAwBGx+DAot4iAz9R0vv18LvEo3UnOViV+obVe4SaZhWfB6IVf\n/G2tL+mjPSCSCLfrCHtietrf/Rt5XjnSBwcXgAjeH1dpf4gP378b5ZxSng+7B5vT\nnGI9R+mGCee7CDn/6Cw6SZepd0cPFQt/t1tP5c5VaQPKre36ZIlu10CQj6ZVEq3V\nQt6JENk+TQKHefsFSDqhC4BOWy19S0bOVT7I8rR5Ce6yl7OeRR0d5KbKCJp+cQ9C\nsupUZ/HCDKJUKMjeRyBq/H+T/tO4ax4m73vI43vwyk7LG+chFABJoeohh0LEQJ7F\nFkKCBFDi6kArva3tjaOBudipdsUCI8iRe6wn8QIDAQABAoIBAG/on4JVRRQSw8LU\nLiWt+jI7ryyoOUH2XL8JtzuGSwLwvomlVJT2rmbxQXx3Qr8zsgziHzIn30RRQrkF\nBXu0xRuDjzBBtSVqeJ1Mc4uoNncEAVxgjb5bewswZDnXPCGB8bosMtX4OPRXgdEo\nPwTtfjMOsrMaU3hd5Xu4m81tQA2BvwOlx8aYDyH0jeTnervc5uRGbeTBQG4Bu40E\nrWNmXvgNq2EzTAwbbN6Ma97gw9KgXnM4Nlh29Fxb5TBeUU9lkzuTZAZIDXKIm7AG\nUwMbj/A038yAumYQtThTE/3e4W3rn7F2Vko900bC4aAC1KQOAzjIeQqzqkVxWTWq\n4SUFQAECgYEA/ODwifOTuI6hdZK6JRgc4wp6Rc0fkqHuxLzABXoIGuSVlWyimqIN\nZySAkpo5EW6DNraRJxNCOBmWeGPEhHGrea+JPiPEwCK0F7SxvSmg3jzNzw3Es31T\necET7eDwuSOY9v4XDzLyiXXkEUUReD7Ng2hEYL+HaQrl5jWj4lxgq/ECgYEAwnCb\nKrz7FwX8AqtFAEi6uUrc12k1xYKQfrwSxbfdK2vBBUpgB71Iq/fqP+1BittEljDG\n8f4jEtMBFfEPhLzGIHaI3UiHUHXS4GetA77TRgR8lnKKpj1FcMIY2iKU479707O5\nQ08pgWRUDQ8BVg2ePgbo5QjLMc/rv7UF3AHvPAECgYB/auAIwqDGN6gHU/1TP4ke\npWLi1O55tfpXSzv+BnUbB96PQgPUop7aP7xBIlBrBiI7aVZOOBf/qHT3CF421geu\n8tHWa7NxlIrl/vgn9lfGYyDYmXlpb1amXLEsBVGGF/e1TGZWFDe9J5fZU9HvosVu\n1xTNIvSZ6xHYI2MGZcGYIQKBgEYeebaV5C7PV6xWu1F46O19U9rS9DM//H/XryVi\nQv4vo7IWuj7QQe7SPsXC98ntfPR0rqoCLf/R3ChfgGsr8H8wf/bc+v9HHj8S5E/f\ndy1e3Nccg2ej3PDm7jNsGSlwmmUkAQGHAL7KwYzcBm1UB+bycvZ1j2FtS+UckPpg\nMDgBAoGALD8PkxHb4U4DtbNFSYRrUdvS9heav/yph3lTMfifNkOir36io6v8RPgb\nD2bHKKZgmYlTgJrxD45Er9agC5jclJO35QRU/OfGf3GcnABkBI7vlvUKADAo65Sq\nweZkdJnbrIadcvLOHOzkKC9m+rxFTC9VoN1dwK2zwYvUXfa1VJA=\n-----END RSA PRIVATE KEY-----"</span>,
4244
-    <span class="hljs-string">"pass_phrase"</span>: <span class="hljs-string">"abcd"</span>
911
+    "id": "myalias",
912
+    "ssl_certificate": "-----BEGIN CERTIFICATE-----\nMIIDoDCCAogCCQDzF8AJCHnrbjANBgkqhkiG9w0BAQUFADCBkTELMAkGA1UEBhMC\nVVMxCzAJBgNVBAgMAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxDzANBgNVBAoMBnJl\nZGhhdDESMBAGA1UECwwJb3BlbnNoaWZ0MRIwEAYDVQQDDAlvcGVuc2hpZnQxKDAm\nBgkqhkiG9w0BCQEWGWluZm9Ab3BlbnNoaWZ0LnJlZGhhdC5jb20wHhcNMTMwMjE5\nMjExMTQ4WhcNMTQwMjE5MjExMTQ4WjCBkTELMAkGA1UEBhMCVVMxCzAJBgNVBAgM\nAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxDzANBgNVBAoMBnJlZGhhdDESMBAGA1UE\nCwwJb3BlbnNoaWZ0MRIwEAYDVQQDDAlvcGVuc2hpZnQxKDAmBgkqhkiG9w0BCQEW\nGWluZm9Ab3BlbnNoaWZ0LnJlZGhhdC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IB\nDwAwggEKAoIBAQDAEbH4MCi3iIDP1HS+/Xwu8SjdSc5WJX6htV7hJpmFZ8HohV/8\nba0v6aM9IJIIt+sIe2J62t/9G3leOdIHBxeACN4fV2l/iA/fvxvlnFKeD7sHm9Oc\nYj1H6YYJ57sIOf/oLDpJl6l3Rw8VC3+3W0/lzlVpA8qt7fpkiW7XQJCPplUSrdVC\n3okQ2T5NAod5+wVIOqELgE5bLX1LRs5VPsjytHkJ7rKXs55FHR3kpsoImn5xD0Ky\n6lRn8cIMolQoyN5HIGr8f5P+07hrHibve8jje/DKTssb5yEUAEmh6iGHQsRAnsUW\nQoIEUOLqQCu9re2No4G52Kl2xQIjyJF7rCfxAgMBAAEwDQYJKoZIhvcNAQEFBQAD\nggEBAGHrya/ZkiAje2kHsOajXMlO2+y1iLfUDcRLuEWpUa8sI5EM4YtemQrsupFp\n8lVYG5C4Vh8476oF9t8Wex5eH3ocwbSvPIUqE07hdmrubiMq4wxFVRYq7g9lHAnx\nl+bABuN/orbAcPcGAGg7AkXVoAc3Fza/ZcgMcw7NOtDTEss70V9OdgCfQUJL0KdO\nhCO8bQ1EaEiq6zEh8RpZe8mu+f/GYATX1I+eJUc6F6cn83oJjE9bqAVzk7TzTHeK\nEBKN50C14wWtXeG7n2+ugaVO+0xnvHeUrQBLHSRyOHqxXrQQ5XmzcaBiyI0f2IQM\nHst1BVXyX0n/L/ZoYYsv5juJmDo=\n-----END CERTIFICATE-----",
913
+    "private_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAwBGx+DAot4iAz9R0vv18LvEo3UnOViV+obVe4SaZhWfB6IVf\n/G2tL+mjPSCSCLfrCHtietrf/Rt5XjnSBwcXgAjeH1dpf4gP378b5ZxSng+7B5vT\nnGI9R+mGCee7CDn/6Cw6SZepd0cPFQt/t1tP5c5VaQPKre36ZIlu10CQj6ZVEq3V\nQt6JENk+TQKHefsFSDqhC4BOWy19S0bOVT7I8rR5Ce6yl7OeRR0d5KbKCJp+cQ9C\nsupUZ/HCDKJUKMjeRyBq/H+T/tO4ax4m73vI43vwyk7LG+chFABJoeohh0LEQJ7F\nFkKCBFDi6kArva3tjaOBudipdsUCI8iRe6wn8QIDAQABAoIBAG/on4JVRRQSw8LU\nLiWt+jI7ryyoOUH2XL8JtzuGSwLwvomlVJT2rmbxQXx3Qr8zsgziHzIn30RRQrkF\nBXu0xRuDjzBBtSVqeJ1Mc4uoNncEAVxgjb5bewswZDnXPCGB8bosMtX4OPRXgdEo\nPwTtfjMOsrMaU3hd5Xu4m81tQA2BvwOlx8aYDyH0jeTnervc5uRGbeTBQG4Bu40E\nrWNmXvgNq2EzTAwbbN6Ma97gw9KgXnM4Nlh29Fxb5TBeUU9lkzuTZAZIDXKIm7AG\nUwMbj/A038yAumYQtThTE/3e4W3rn7F2Vko900bC4aAC1KQOAzjIeQqzqkVxWTWq\n4SUFQAECgYEA/ODwifOTuI6hdZK6JRgc4wp6Rc0fkqHuxLzABXoIGuSVlWyimqIN\nZySAkpo5EW6DNraRJxNCOBmWeGPEhHGrea+JPiPEwCK0F7SxvSmg3jzNzw3Es31T\necET7eDwuSOY9v4XDzLyiXXkEUUReD7Ng2hEYL+HaQrl5jWj4lxgq/ECgYEAwnCb\nKrz7FwX8AqtFAEi6uUrc12k1xYKQfrwSxbfdK2vBBUpgB71Iq/fqP+1BittEljDG\n8f4jEtMBFfEPhLzGIHaI3UiHUHXS4GetA77TRgR8lnKKpj1FcMIY2iKU479707O5\nQ08pgWRUDQ8BVg2ePgbo5QjLMc/rv7UF3AHvPAECgYB/auAIwqDGN6gHU/1TP4ke\npWLi1O55tfpXSzv+BnUbB96PQgPUop7aP7xBIlBrBiI7aVZOOBf/qHT3CF421geu\n8tHWa7NxlIrl/vgn9lfGYyDYmXlpb1amXLEsBVGGF/e1TGZWFDe9J5fZU9HvosVu\n1xTNIvSZ6xHYI2MGZcGYIQKBgEYeebaV5C7PV6xWu1F46O19U9rS9DM//H/XryVi\nQv4vo7IWuj7QQe7SPsXC98ntfPR0rqoCLf/R3ChfgGsr8H8wf/bc+v9HHj8S5E/f\ndy1e3Nccg2ej3PDm7jNsGSlwmmUkAQGHAL7KwYzcBm1UB+bycvZ1j2FtS+UckPpg\nMDgBAoGALD8PkxHb4U4DtbNFSYRrUdvS9heav/yph3lTMfifNkOir36io6v8RPgb\nD2bHKKZgmYlTgJrxD45Er9agC5jclJO35QRU/OfGf3GcnABkBI7vlvUKADAo65Sq\nweZkdJnbrIadcvLOHOzkKC9m+rxFTC9VoN1dwK2zwYvUXfa1VJA=\n-----END RSA PRIVATE KEY-----",
914
+    "pass_phrase": "abcd"
4245 915
     }
4246 916
   ]
4247 917
 }
4248
-</pre>
4249
-                                                        </small>
4250
-                                                    </p>
4251
-                                                
4252
-                                            
4253
-                                        
4254
-                                    
4255
-                                </div>
4256
-                            
4257
-                        </div>
4258
-                    </div>
4259
-                </div>
4260
-            </div>
4261
-        </div>
4262
-    
4263
-        <div class="modal fade" tabindex="0" id="_aliases_post">
4264
-            <div class="modal-dialog">
4265
-                <div class="modal-content">
4266
-                    <div class="modal-header">
4267
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4268
-                        <h4 class="modal-title" id="myModalLabel">
4269
-                            <span class="badge badge_post">post</span>
4270
-                            <span class="parent"></span>/aliases
4271
-                        </h4>
4272
-                    </div>
4273
-                    <div class="modal-body">
4274
-                        <div class="alert alert-info"><p>Create an alias for this service</p>
4275
-</div>
4276
-
4277
-                        <!-- Nav tabs -->
4278
-                        <ul class="nav nav-tabs">
4279
-                            <li class="active">
4280
-                                <a href="#_aliases_post_request" data-toggle="tab">Request</a>
4281
-                            </li>
4282
-                            
4283
-                        </ul>
4284
-
4285
-                        <!-- Tab panes -->
4286
-                        <div class="tab-content">
4287
-                            <div class="tab-pane active" id="_aliases_post_request">
4288
-                                
4289
-
4290
-                                
4291
-
4292
-                                
4293
-
4294
-                                
4295
-                                    <h3>Body</h3>
4296
-                                    
4297
-                                        <p><strong>Type: application/json</strong></p>
4298
-                                        
4299
-
4300
-                                        
4301
-
4302
-                                        
4303
-                                            <p>
4304
-                                                <small>
4305
-                                                    <strong>Example</strong>:
4306
-                                                    <pre>{
4307
-  "<span class="hljs-attribute">data</span>":
4308
-  <span class="hljs-value">{
4309
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
4310
-    "<span class="hljs-attribute">suffix</span>": <span class="hljs-value"><span class="hljs-string">"dev.rhcloud.com"</span></span>,
4311
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"mydomain"</span></span>,
4312
-    "<span class="hljs-attribute">members</span>": <span class="hljs-value">[
918
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_aliases_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/aliases</h4></div><div class=modal-body><div class="alert alert-info"><p>Create an alias for this service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_aliases_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_aliases_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
919
+  "data":
920
+  {
921
+    "id": "53c4249f076573c0f4000001",
922
+    "suffix": "dev.rhcloud.com",
923
+    "name": "mydomain",
924
+    "members": [
4313 925
        {
4314
-         "<span class="hljs-attribute">login</span>": <span class="hljs-value"><span class="hljs-string">"adminuser"</span></span>,
4315
-         "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"admin"</span></span>,
4316
-         "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"user"</span></span>,
4317
-         "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
4318
-       </span>}
926
+         "login": "adminuser",
927
+         "role": "admin",
928
+         "type": "user",
929
+         "owner": true
930
+       }
4319 931
     ]
4320
-  </span>}
4321
-</span>}
4322
-</pre>
4323
-                                                </small>
4324
-                                            </p>
4325
-                                        
4326
-                                    
4327
-                                
4328
-                            </div>
4329
-
4330
-                            
4331
-                        </div>
4332
-                    </div>
4333
-                </div>
4334
-            </div>
4335
-        </div>
4336
-    
4337
-</div>
4338
-
4339
-
4340
-
4341
-                            </div>
4342
-                        </div>
4343
-                    </div>
4344
-                
4345
-                    <div class="panel panel-default">
4346
-                        <div class="panel-heading">
4347
-                            <h3 id="_alias__aliasID_" class="panel-title">/alias/{aliasID}</h3>
4348
-                        </div>
4349
-
4350
-                        <div class="panel-body">
4351
-                            
4352
-
4353
-                            <div class="panel-group">
4354
-                                <div class="panel panel-white">
4355
-    <div class="panel-heading">
4356
-        <h4 class="panel-title">
4357
-            <a class="block collapsed" data-toggle="collapse" href="#panel__alias__aliasID_">
4358
-                <span class="methods">
4359
-                    
4360
-                        <span class="badge badge_get">get</span>
4361
-                    
4362
-                        <span class="badge badge_put">put</span>
4363
-                    
4364
-                        <span class="badge badge_delete">delete</span>
4365
-                    
4366
-                </span>
4367
-                <span class="parent"></span>/alias/{aliasID}
4368
-            </a>
4369
-        </h4>
4370
-    </div>
4371
-    <div id="panel__alias__aliasID_" class="panel-collapse collapse">
4372
-        <div class="panel-body">
4373
-            <div class="list-group">
4374
-                
4375
-                    <a href="#" data-toggle="modal" data-target="#_alias__aliasID__get" class="list-group-item">
4376
-                        <span class="badge badge_get">get</span>
4377
-                        <div class="method_description">
4378
-                            <p>Get alias</p>
4379
-
4380
-                        </div>
4381
-                        <div class="clearfix"></div>
4382
-                    </a>
4383
-                
4384
-                    <a href="#" data-toggle="modal" data-target="#_alias__aliasID__put" class="list-group-item">
4385
-                        <span class="badge badge_put">put</span>
4386
-                        <div class="method_description">
4387
-                            <p>Update an alias</p>
4388
-
4389
-                        </div>
4390
-                        <div class="clearfix"></div>
4391
-                    </a>
4392
-                
4393
-                    <a href="#" data-toggle="modal" data-target="#_alias__aliasID__delete" class="list-group-item">
4394
-                        <span class="badge badge_delete">delete</span>
4395
-                        <div class="method_description">
4396
-                            <p>Delete an alias</p>
4397
-
4398
-                        </div>
4399
-                        <div class="clearfix"></div>
4400
-                    </a>
4401
-                
4402
-            </div>
4403
-        </div>
4404
-    </div>
4405
-
4406
-    
4407
-        <div class="modal fade" tabindex="0" id="_alias__aliasID__get">
4408
-            <div class="modal-dialog">
4409
-                <div class="modal-content">
4410
-                    <div class="modal-header">
4411
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4412
-                        <h4 class="modal-title" id="myModalLabel">
4413
-                            <span class="badge badge_get">get</span>
4414
-                            <span class="parent"></span>/alias/{aliasID}
4415
-                        </h4>
4416
-                    </div>
4417
-                    <div class="modal-body">
4418
-                        <div class="alert alert-info"><p>Get alias</p>
4419
-</div>
4420
-
4421
-                        <!-- Nav tabs -->
4422
-                        <ul class="nav nav-tabs">
4423
-                            <li class="active">
4424
-                                <a href="#_alias__aliasID__get_request" data-toggle="tab">Request</a>
4425
-                            </li>
4426
-                            
4427
-                        </ul>
4428
-
4429
-                        <!-- Tab panes -->
4430
-                        <div class="tab-content">
4431
-                            <div class="tab-pane active" id="_alias__aliasID__get_request">
4432
-                                
4433
-                                    <h3>URI Parameters</h3>
4434
-                                    <ul>
4435
-                                        
4436
-                                            <li>
4437
-                                                <strong>aliasID</strong>:
4438
-                                                <em>
4439
-                                                    
4440
-                                                        required
4441
-                                                    
4442
-                                                    (string)
4443
-                                                </em>
4444
-
4445
-                                                
4446
-                                            </li>
4447
-                                        
4448
-                                    </ul>
4449
-                                
4450
-
4451
-                                
4452
-
4453
-                                
4454
-
4455
-                                
4456
-                                    <h3>Body</h3>
4457
-                                    
4458
-                                        <p><strong>Type: application/json</strong></p>
4459
-                                        
4460
-
4461
-                                        
4462
-
4463
-                                        
4464
-                                            <p>
4465
-                                                <small>
4466
-                                                    <strong>Example</strong>:
4467
-                                                    <pre>{
4468
-  "<span class="hljs-attribute">data</span>":
4469
-  <span class="hljs-value">{
4470
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
4471
-    "<span class="hljs-attribute">suffix</span>": <span class="hljs-value"><span class="hljs-string">"dev.rhcloud.com"</span></span>,
4472
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"mydomain"</span></span>,
4473
-    "<span class="hljs-attribute">members</span>": <span class="hljs-value">[
932
+  }
933
+}
934
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_alias__aliasID_ class=panel-title>/alias/{aliasID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__alias__aliasID_><span class=parent></span>/alias/{aliasID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_alias__aliasID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_alias__aliasID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_alias__aliasID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__alias__aliasID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_alias__aliasID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get alias</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_alias__aliasID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update an alias</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_alias__aliasID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete an alias</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_alias__aliasID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/alias/{aliasID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get alias</p></div><ul class="nav nav-tabs"><li class=active><a href=#_alias__aliasID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_alias__aliasID__get_request><h3>URI Parameters</h3><ul><li><strong>aliasID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
935
+  "data":
936
+  {
937
+    "id": "53c4249f076573c0f4000001",
938
+    "suffix": "dev.rhcloud.com",
939
+    "name": "mydomain",
940
+    "members": [
4474 941
        {
4475
-         "<span class="hljs-attribute">login</span>": <span class="hljs-value"><span class="hljs-string">"adminuser"</span></span>,
4476
-         "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"admin"</span></span>,
4477
-         "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"user"</span></span>,
4478
-         "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
4479
-       </span>}
942
+         "login": "adminuser",
943
+         "role": "admin",
944
+         "type": "user",
945
+         "owner": true
946
+       }
4480 947
     ]
4481
-  </span>}
4482
-</span>}
4483
-</pre>
4484
-                                                </small>
4485
-                                            </p>
4486
-                                        
4487
-                                    
4488
-                                
4489
-                            </div>
4490
-
4491
-                            
4492
-                        </div>
4493
-                    </div>
4494
-                </div>
4495
-            </div>
4496
-        </div>
4497
-    
4498
-        <div class="modal fade" tabindex="0" id="_alias__aliasID__put">
4499
-            <div class="modal-dialog">
4500
-                <div class="modal-content">
4501
-                    <div class="modal-header">
4502
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4503
-                        <h4 class="modal-title" id="myModalLabel">
4504
-                            <span class="badge badge_put">put</span>
4505
-                            <span class="parent"></span>/alias/{aliasID}
4506
-                        </h4>
4507
-                    </div>
4508
-                    <div class="modal-body">
4509
-                        <div class="alert alert-info"><p>Update an alias</p>
4510
-</div>
4511
-
4512
-                        <!-- Nav tabs -->
4513
-                        <ul class="nav nav-tabs">
4514
-                            <li class="active">
4515
-                                <a href="#_alias__aliasID__put_request" data-toggle="tab">Request</a>
4516
-                            </li>
4517
-                            
4518
-                        </ul>
4519
-
4520
-                        <!-- Tab panes -->
4521
-                        <div class="tab-content">
4522
-                            <div class="tab-pane active" id="_alias__aliasID__put_request">
4523
-                                
4524
-                                    <h3>URI Parameters</h3>
4525
-                                    <ul>
4526
-                                        
4527
-                                            <li>
4528
-                                                <strong>aliasID</strong>:
4529
-                                                <em>
4530
-                                                    
4531
-                                                        required
4532
-                                                    
4533
-                                                    (string)
4534
-                                                </em>
4535
-
4536
-                                                
4537
-                                            </li>
4538
-                                        
4539
-                                    </ul>
4540
-                                
4541
-
4542
-                                
4543
-
4544
-                                
4545
-
4546
-                                
4547
-                                    <h3>Body</h3>
4548
-                                    
4549
-                                        <p><strong>Type: application/json</strong></p>
4550
-                                        
4551
-
4552
-                                        
4553
-
4554
-                                        
4555
-                                            <p>
4556
-                                                <small>
4557
-                                                    <strong>Example</strong>:
4558
-                                                    <pre>{
4559
-  "<span class="hljs-attribute">data</span>":
4560
-  <span class="hljs-value">{
4561
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
4562
-    "<span class="hljs-attribute">suffix</span>": <span class="hljs-value"><span class="hljs-string">"dev.rhcloud.com"</span></span>,
4563
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"mydomain"</span></span>,
4564
-    "<span class="hljs-attribute">members</span>": <span class="hljs-value">[
948
+  }
949
+}
950
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_alias__aliasID__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent></span>/alias/{aliasID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update an alias</p></div><ul class="nav nav-tabs"><li class=active><a href=#_alias__aliasID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_alias__aliasID__put_request><h3>URI Parameters</h3><ul><li><strong>aliasID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
951
+  "data":
952
+  {
953
+    "id": "53c4249f076573c0f4000001",
954
+    "suffix": "dev.rhcloud.com",
955
+    "name": "mydomain",
956
+    "members": [
4565 957
        {
4566
-         "<span class="hljs-attribute">login</span>": <span class="hljs-value"><span class="hljs-string">"adminuser"</span></span>,
4567
-         "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"admin"</span></span>,
4568
-         "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"user"</span></span>,
4569
-         "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
4570
-       </span>}
958
+         "login": "adminuser",
959
+         "role": "admin",
960
+         "type": "user",
961
+         "owner": true
962
+       }
4571 963
     ]
4572
-  </span>}
4573
-</span>}
4574
-</pre>
4575
-                                                </small>
4576
-                                            </p>
4577
-                                        
4578
-                                    
4579
-                                
4580
-                            </div>
4581
-
4582
-                            
4583
-                        </div>
4584
-                    </div>
4585
-                </div>
4586
-            </div>
4587
-        </div>
4588
-    
4589
-        <div class="modal fade" tabindex="0" id="_alias__aliasID__delete">
4590
-            <div class="modal-dialog">
4591
-                <div class="modal-content">
4592
-                    <div class="modal-header">
4593
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4594
-                        <h4 class="modal-title" id="myModalLabel">
4595
-                            <span class="badge badge_delete">delete</span>
4596
-                            <span class="parent"></span>/alias/{aliasID}
4597
-                        </h4>
4598
-                    </div>
4599
-                    <div class="modal-body">
4600
-                        <div class="alert alert-info"><p>Delete an alias</p>
4601
-</div>
4602
-
4603
-                        <!-- Nav tabs -->
4604
-                        <ul class="nav nav-tabs">
4605
-                            <li class="active">
4606
-                                <a href="#_alias__aliasID__delete_request" data-toggle="tab">Request</a>
4607
-                            </li>
4608
-                            
4609
-                                <li>
4610
-                                    <a href="#_alias__aliasID__delete_response" data-toggle="tab">Response</a>
4611
-                                </li>
4612
-                            
4613
-                        </ul>
4614
-
4615
-                        <!-- Tab panes -->
4616
-                        <div class="tab-content">
4617
-                            <div class="tab-pane active" id="_alias__aliasID__delete_request">
4618
-                                
4619
-                                    <h3>URI Parameters</h3>
4620
-                                    <ul>
4621
-                                        
4622
-                                            <li>
4623
-                                                <strong>aliasID</strong>:
4624
-                                                <em>
4625
-                                                    
4626
-                                                        required
4627
-                                                    
4628
-                                                    (string)
4629
-                                                </em>
4630
-
4631
-                                                
4632
-                                            </li>
4633
-                                        
4634
-                                    </ul>
4635
-                                
4636
-
4637
-                                
4638
-
4639
-                                
4640
-
4641
-                                
4642
-                            </div>
4643
-
4644
-                            
4645
-                                <div class="tab-pane" id="_alias__aliasID__delete_response">
4646
-                                    
4647
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
4648
-                                        
4649
-
4650
-                                        
4651
-
4652
-                                        
4653
-                                            <h3>Body</h3>
4654
-                                            
4655
-                                                <p><strong>Type: application/json</strong></p>
4656
-
4657
-                                                
4658
-
4659
-                                                
4660
-                                                    <p>
4661
-                                                        <small>
4662
-                                                            <strong>Example</strong>:
4663
-                                                            <pre>{
4664
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
4665
-</span>}
4666
-</pre>
4667
-                                                        </small>
4668
-                                                    </p>
4669
-                                                
4670
-                                            
4671
-                                        
4672
-                                    
4673
-                                </div>
4674
-                            
4675
-                        </div>
4676
-                    </div>
4677
-                </div>
4678
-            </div>
4679
-        </div>
4680
-    
4681
-</div>
4682
-
4683
-
4684
-
4685
-                            </div>
4686
-                        </div>
4687
-                    </div>
4688
-                
4689
-                    <div class="panel panel-default">
4690
-                        <div class="panel-heading">
4691
-                            <h3 id="_builds" class="panel-title">/builds</h3>
4692
-                        </div>
4693
-
4694
-                        <div class="panel-body">
4695
-                            
4696
-
4697
-                            <div class="panel-group">
4698
-                                <div class="panel panel-white">
4699
-    <div class="panel-heading">
4700
-        <h4 class="panel-title">
4701
-            <a class="block collapsed" data-toggle="collapse" href="#panel__builds">
4702
-                <span class="methods">
4703
-                    
4704
-                        <span class="badge badge_get">get</span>
4705
-                    
4706
-                        <span class="badge badge_post">post</span>
4707
-                    
4708
-                </span>
4709
-                <span class="parent"></span>/builds
4710
-            </a>
4711
-        </h4>
4712
-    </div>
4713
-    <div id="panel__builds" class="panel-collapse collapse">
4714
-        <div class="panel-body">
4715
-            <div class="list-group">
4716
-                
4717
-                    <a href="#" data-toggle="modal" data-target="#_builds_get" class="list-group-item">
4718
-                        <span class="badge badge_get">get</span>
4719
-                        <div class="method_description">
4720
-                            <p>Retrieves a list of builds visible to you</p>
4721
-<p>A build is associated with an image repository and can be triggered by a webhook
4722
-on Github. It can either be a Docker build or a source build based on a 
4723
-specified image. When a build completes, it posts a new image to the image
4724
-repository that it&#39;s associated with.</p>
4725
-
4726
-                        </div>
4727
-                        <div class="clearfix"></div>
4728
-                    </a>
4729
-                
4730
-                    <a href="#" data-toggle="modal" data-target="#_builds_post" class="list-group-item">
4731
-                        <span class="badge badge_post">post</span>
4732
-                        <div class="method_description">
4733
-                            <p>Create a new build</p>
4734
-
4735
-                        </div>
4736
-                        <div class="clearfix"></div>
4737
-                    </a>
4738
-                
4739
-            </div>
4740
-        </div>
4741
-    </div>
4742
-
4743
-    
4744
-        <div class="modal fade" tabindex="0" id="_builds_get">
4745
-            <div class="modal-dialog">
4746
-                <div class="modal-content">
4747
-                    <div class="modal-header">
4748
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4749
-                        <h4 class="modal-title" id="myModalLabel">
4750
-                            <span class="badge badge_get">get</span>
4751
-                            <span class="parent"></span>/builds
4752
-                        </h4>
4753
-                    </div>
4754
-                    <div class="modal-body">
4755
-                        <div class="alert alert-info"><p>Retrieves a list of builds visible to you</p>
4756
-<p>A build is associated with an image repository and can be triggered by a webhook
4757
-on Github. It can either be a Docker build or a source build based on a 
4758
-specified image. When a build completes, it posts a new image to the image
4759
-repository that it&#39;s associated with.</p>
4760
-</div>
4761
-
4762
-                        <!-- Nav tabs -->
4763
-                        <ul class="nav nav-tabs">
4764
-                            <li class="active">
4765
-                                <a href="#_builds_get_request" data-toggle="tab">Request</a>
4766
-                            </li>
4767
-                            
4768
-                                <li>
4769
-                                    <a href="#_builds_get_response" data-toggle="tab">Response</a>
4770
-                                </li>
4771
-                            
4772
-                        </ul>
4773
-
4774
-                        <!-- Tab panes -->
4775
-                        <div class="tab-content">
4776
-                            <div class="tab-pane active" id="_builds_get_request">
4777
-                                
4778
-
4779
-                                
4780
-
4781
-                                
4782
-
4783
-                                
4784
-                            </div>
4785
-
4786
-                            
4787
-                                <div class="tab-pane" id="_builds_get_response">
4788
-                                    
4789
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
4790
-                                        
4791
-
4792
-                                        
4793
-
4794
-                                        
4795
-                                            <h3>Body</h3>
4796
-                                            
4797
-                                                <p><strong>Type: application/json</strong></p>
4798
-
4799
-                                                
4800
-
4801
-                                                
4802
-                                                    <p>
4803
-                                                        <small>
4804
-                                                            <strong>Example</strong>:
4805
-                                                            <pre>{
4806
-  "<span class="hljs-attribute">list</span>":
4807
-  <span class="hljs-value">[
964
+  }
965
+}
966
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_alias__aliasID__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/alias/{aliasID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete an alias</p></div><ul class="nav nav-tabs"><li class=active><a href=#_alias__aliasID__delete_request data-toggle=tab>Request</a></li><li><a href=#_alias__aliasID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_alias__aliasID__delete_request><h3>URI Parameters</h3><ul><li><strong>aliasID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_alias__aliasID__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
967
+    "apiVersion": "v1beta1",
968
+    "creationTimestamp": null,
969
+    "kind": "Status",
970
+    "status": "success"
971
+}
972
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_builds class=panel-title>/builds</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__builds><span class=parent></span>/builds</a> <span class=methods><a href=# data-toggle=modal data-target=#_builds_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_builds_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__builds class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_builds_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Retrieves a list of builds visible to you</p><p>A build is associated with an image repository and can be triggered by a webhook on Github. It can either be a Docker build or a source build based on a specified image. When a build completes, it posts a new image to the image repository that it&#39;s associated with.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_builds_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new build</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_builds_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/builds</h4></div><div class=modal-body><div class="alert alert-info"><p>Retrieves a list of builds visible to you</p><p>A build is associated with an image repository and can be triggered by a webhook on Github. It can either be a Docker build or a source build based on a specified image. When a build completes, it posts a new image to the image repository that it&#39;s associated with.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_builds_get_request data-toggle=tab>Request</a></li><li><a href=#_builds_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_builds_get_request></div><div class=tab-pane id=_builds_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
973
+  "list":
974
+  [
4808 975
     {
4809
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000002"</span></span>,
4810
-      "<span class="hljs-attribute">imageStream</span>": <span class="hljs-value"><span class="hljs-string">"server/name"</span></span>,
4811
-      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"source-build"</span></span>,
4812
-      "<span class="hljs-attribute">repository</span>": <span class="hljs-value"><span class="hljs-string">"openshift/myapp"</span>
4813
-      <span class="hljs-string">"builderImageStream"</span>: <span class="hljs-string">"myserver/builderimage"</span>
4814
-    </span>}
976
+      "id": "53c4249f076573c0f4000002",
977
+      "imageStream": "server/name",
978
+      "type": "source-build",
979
+      "repository": "openshift/myapp"
980
+      "builderImageStream": "myserver/builderimage"
981
+    }
4815 982
   ]
4816
-</span>}
4817
-
4818
-</pre>
4819
-                                                        </small>
4820
-                                                    </p>
4821
-                                                
4822
-                                            
4823
-                                        
4824
-                                    
4825
-                                </div>
4826
-                            
4827
-                        </div>
4828
-                    </div>
4829
-                </div>
4830
-            </div>
4831
-        </div>
4832
-    
4833
-        <div class="modal fade" tabindex="0" id="_builds_post">
4834
-            <div class="modal-dialog">
4835
-                <div class="modal-content">
4836
-                    <div class="modal-header">
4837
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4838
-                        <h4 class="modal-title" id="myModalLabel">
4839
-                            <span class="badge badge_post">post</span>
4840
-                            <span class="parent"></span>/builds
4841
-                        </h4>
4842
-                    </div>
4843
-                    <div class="modal-body">
4844
-                        <div class="alert alert-info"><p>Create a new build</p>
4845
-</div>
4846
-
4847
-                        <!-- Nav tabs -->
4848
-                        <ul class="nav nav-tabs">
4849
-                            <li class="active">
4850
-                                <a href="#_builds_post_request" data-toggle="tab">Request</a>
4851
-                            </li>
4852
-                            
4853
-                        </ul>
4854
-
4855
-                        <!-- Tab panes -->
4856
-                        <div class="tab-content">
4857
-                            <div class="tab-pane active" id="_builds_post_request">
4858
-                                
4859
-
4860
-                                
4861
-
4862
-                                
4863
-
4864
-                                
4865
-                                    <h3>Body</h3>
4866
-                                    
4867
-                                        <p><strong>Type: application/json</strong></p>
4868
-                                        
4869
-
4870
-                                        
4871
-
4872
-                                        
4873
-                                            <p>
4874
-                                                <small>
4875
-                                                    <strong>Example</strong>:
4876
-                                                    <pre>{
4877
-  "<span class="hljs-attribute">data</span>":
4878
-  <span class="hljs-value">{
4879
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
4880
-    "<span class="hljs-attribute">imageStream</span>": <span class="hljs-value"><span class="hljs-string">"server/name"</span></span>,
4881
-    "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"docker-build"</span></span>,
4882
-    "<span class="hljs-attribute">repository</span>": <span class="hljs-value"><span class="hljs-string">"openshift/dockerrepo"</span>
4883
-  </span>}
4884
-</span>}
4885
-</pre>
4886
-                                                </small>
4887
-                                            </p>
4888
-                                        
4889
-                                    
4890
-                                
4891
-                            </div>
4892
-
4893
-                            
4894
-                        </div>
4895
-                    </div>
4896
-                </div>
4897
-            </div>
4898
-        </div>
4899
-    
4900
-</div>
4901
-
4902
-
4903
-
4904
-                            </div>
4905
-                        </div>
4906
-                    </div>
4907
-                
4908
-                    <div class="panel panel-default">
4909
-                        <div class="panel-heading">
4910
-                            <h3 id="_build__buildId_" class="panel-title">/build/{buildId}</h3>
4911
-                        </div>
4912
-
4913
-                        <div class="panel-body">
4914
-                            
4915
-
4916
-                            <div class="panel-group">
4917
-                                <div class="panel panel-white">
4918
-    <div class="panel-heading">
4919
-        <h4 class="panel-title">
4920
-            <a class="block collapsed" data-toggle="collapse" href="#panel__build__buildId_">
4921
-                <span class="methods">
4922
-                    
4923
-                        <span class="badge badge_get">get</span>
4924
-                    
4925
-                        <span class="badge badge_put">put</span>
4926
-                    
4927
-                        <span class="badge badge_delete">delete</span>
4928
-                    
4929
-                        <span class="badge badge_post">post</span>
4930
-                    
4931
-                </span>
4932
-                <span class="parent"></span>/build/{buildId}
4933
-            </a>
4934
-        </h4>
4935
-    </div>
4936
-    <div id="panel__build__buildId_" class="panel-collapse collapse">
4937
-        <div class="panel-body">
4938
-            <div class="list-group">
4939
-                
4940
-                    <a href="#" data-toggle="modal" data-target="#_build__buildId__get" class="list-group-item">
4941
-                        <span class="badge badge_get">get</span>
4942
-                        <div class="method_description">
4943
-                            <p>Retrieve a single build definition</p>
4944
-
4945
-                        </div>
4946
-                        <div class="clearfix"></div>
4947
-                    </a>
4948
-                
4949
-                    <a href="#" data-toggle="modal" data-target="#_build__buildId__put" class="list-group-item">
4950
-                        <span class="badge badge_put">put</span>
4951
-                        <div class="method_description">
4952
-                            <p>Update a build definition</p>
4953
-
4954
-                        </div>
4955
-                        <div class="clearfix"></div>
4956
-                    </a>
4957
-                
4958
-                    <a href="#" data-toggle="modal" data-target="#_build__buildId__delete" class="list-group-item">
4959
-                        <span class="badge badge_delete">delete</span>
4960
-                        <div class="method_description">
4961
-                            <p>Delete a build definition</p>
4962
-
4963
-                        </div>
4964
-                        <div class="clearfix"></div>
4965
-                    </a>
4966
-                
4967
-                    <a href="#" data-toggle="modal" data-target="#_build__buildId__post" class="list-group-item">
4968
-                        <span class="badge badge_post">post</span>
4969
-                        <div class="method_description">
4970
-                            <p>Launch a build</p>
4971
-
4972
-                        </div>
4973
-                        <div class="clearfix"></div>
4974
-                    </a>
4975
-                
4976
-            </div>
4977
-        </div>
4978
-    </div>
4979
-
4980
-    
4981
-        <div class="modal fade" tabindex="0" id="_build__buildId__get">
4982
-            <div class="modal-dialog">
4983
-                <div class="modal-content">
4984
-                    <div class="modal-header">
4985
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
4986
-                        <h4 class="modal-title" id="myModalLabel">
4987
-                            <span class="badge badge_get">get</span>
4988
-                            <span class="parent"></span>/build/{buildId}
4989
-                        </h4>
4990
-                    </div>
4991
-                    <div class="modal-body">
4992
-                        <div class="alert alert-info"><p>Retrieve a single build definition</p>
4993
-</div>
4994
-
4995
-                        <!-- Nav tabs -->
4996
-                        <ul class="nav nav-tabs">
4997
-                            <li class="active">
4998
-                                <a href="#_build__buildId__get_request" data-toggle="tab">Request</a>
4999
-                            </li>
5000
-                            
5001
-                                <li>
5002
-                                    <a href="#_build__buildId__get_response" data-toggle="tab">Response</a>
5003
-                                </li>
5004
-                            
5005
-                        </ul>
5006
-
5007
-                        <!-- Tab panes -->
5008
-                        <div class="tab-content">
5009
-                            <div class="tab-pane active" id="_build__buildId__get_request">
5010
-                                
5011
-                                    <h3>URI Parameters</h3>
5012
-                                    <ul>
5013
-                                        
5014
-                                            <li>
5015
-                                                <strong>buildId</strong>:
5016
-                                                <em>
5017
-                                                    
5018
-                                                        required
5019
-                                                    
5020
-                                                    (string)
5021
-                                                </em>
5022
-
5023
-                                                
5024
-                                            </li>
5025
-                                        
5026
-                                    </ul>
5027
-                                
5028
-
5029
-                                
5030
-
5031
-                                
5032
-
5033
-                                
5034
-                            </div>
5035
-
5036
-                            
5037
-                                <div class="tab-pane" id="_build__buildId__get_response">
5038
-                                    
5039
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
5040
-                                        
5041
-
5042
-                                        
5043
-
5044
-                                        
5045
-                                            <h3>Body</h3>
5046
-                                            
5047
-                                                <p><strong>Type: application/json</strong></p>
5048
-
5049
-                                                
5050
-
5051
-                                                
5052
-                                                    <p>
5053
-                                                        <small>
5054
-                                                            <strong>Example</strong>:
5055
-                                                            <pre>{
5056
-  "<span class="hljs-attribute">data</span>":
5057
-  <span class="hljs-value">{
5058
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
5059
-    "<span class="hljs-attribute">imageStream</span>": <span class="hljs-value"><span class="hljs-string">"server/name"</span></span>,
5060
-    "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"docker-build"</span></span>,
5061
-    "<span class="hljs-attribute">repository</span>": <span class="hljs-value"><span class="hljs-string">"openshift/dockerrepo"</span>
5062
-  </span>}
5063
-</span>}
5064
-</pre>
5065
-                                                        </small>
5066
-                                                    </p>
5067
-                                                
5068
-                                            
5069
-                                        
5070
-                                    
5071
-                                </div>
5072
-                            
5073
-                        </div>
5074
-                    </div>
5075
-                </div>
5076
-            </div>
5077
-        </div>
5078
-    
5079
-        <div class="modal fade" tabindex="0" id="_build__buildId__put">
5080
-            <div class="modal-dialog">
5081
-                <div class="modal-content">
5082
-                    <div class="modal-header">
5083
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5084
-                        <h4 class="modal-title" id="myModalLabel">
5085
-                            <span class="badge badge_put">put</span>
5086
-                            <span class="parent"></span>/build/{buildId}
5087
-                        </h4>
5088
-                    </div>
5089
-                    <div class="modal-body">
5090
-                        <div class="alert alert-info"><p>Update a build definition</p>
5091
-</div>
5092
-
5093
-                        <!-- Nav tabs -->
5094
-                        <ul class="nav nav-tabs">
5095
-                            <li class="active">
5096
-                                <a href="#_build__buildId__put_request" data-toggle="tab">Request</a>
5097
-                            </li>
5098
-                            
5099
-                        </ul>
5100
-
5101
-                        <!-- Tab panes -->
5102
-                        <div class="tab-content">
5103
-                            <div class="tab-pane active" id="_build__buildId__put_request">
5104
-                                
5105
-                                    <h3>URI Parameters</h3>
5106
-                                    <ul>
5107
-                                        
5108
-                                            <li>
5109
-                                                <strong>buildId</strong>:
5110
-                                                <em>
5111
-                                                    
5112
-                                                        required
5113
-                                                    
5114
-                                                    (string)
5115
-                                                </em>
5116
-
5117
-                                                
5118
-                                            </li>
5119
-                                        
5120
-                                    </ul>
5121
-                                
5122
-
5123
-                                
5124
-
5125
-                                
5126
-
5127
-                                
5128
-                                    <h3>Body</h3>
5129
-                                    
5130
-                                        <p><strong>Type: application/json</strong></p>
5131
-                                        
5132
-
5133
-                                        
5134
-
5135
-                                        
5136
-                                            <p>
5137
-                                                <small>
5138
-                                                    <strong>Example</strong>:
5139
-                                                    <pre>{
5140
-  "<span class="hljs-attribute">data</span>":
5141
-  <span class="hljs-value">{
5142
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
5143
-    "<span class="hljs-attribute">imageStream</span>": <span class="hljs-value"><span class="hljs-string">"server/name"</span></span>,
5144
-    "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"docker-build"</span></span>,
5145
-    "<span class="hljs-attribute">repository</span>": <span class="hljs-value"><span class="hljs-string">"openshift/dockerrepo"</span>
5146
-  </span>}
5147
-</span>}
5148
-</pre>
5149
-                                                </small>
5150
-                                            </p>
5151
-                                        
5152
-                                    
5153
-                                
5154
-                            </div>
5155
-
5156
-                            
5157
-                        </div>
5158
-                    </div>
5159
-                </div>
5160
-            </div>
5161
-        </div>
5162
-    
5163
-        <div class="modal fade" tabindex="0" id="_build__buildId__delete">
5164
-            <div class="modal-dialog">
5165
-                <div class="modal-content">
5166
-                    <div class="modal-header">
5167
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5168
-                        <h4 class="modal-title" id="myModalLabel">
5169
-                            <span class="badge badge_delete">delete</span>
5170
-                            <span class="parent"></span>/build/{buildId}
5171
-                        </h4>
5172
-                    </div>
5173
-                    <div class="modal-body">
5174
-                        <div class="alert alert-info"><p>Delete a build definition</p>
5175
-</div>
5176
-
5177
-                        <!-- Nav tabs -->
5178
-                        <ul class="nav nav-tabs">
5179
-                            <li class="active">
5180
-                                <a href="#_build__buildId__delete_request" data-toggle="tab">Request</a>
5181
-                            </li>
5182
-                            
5183
-                                <li>
5184
-                                    <a href="#_build__buildId__delete_response" data-toggle="tab">Response</a>
5185
-                                </li>
5186
-                            
5187
-                        </ul>
5188
-
5189
-                        <!-- Tab panes -->
5190
-                        <div class="tab-content">
5191
-                            <div class="tab-pane active" id="_build__buildId__delete_request">
5192
-                                
5193
-                                    <h3>URI Parameters</h3>
5194
-                                    <ul>
5195
-                                        
5196
-                                            <li>
5197
-                                                <strong>buildId</strong>:
5198
-                                                <em>
5199
-                                                    
5200
-                                                        required
5201
-                                                    
5202
-                                                    (string)
5203
-                                                </em>
5204
-
5205
-                                                
5206
-                                            </li>
5207
-                                        
5208
-                                    </ul>
5209
-                                
5210
-
5211
-                                
5212
-
5213
-                                
5214
-
5215
-                                
5216
-                            </div>
5217
-
5218
-                            
5219
-                                <div class="tab-pane" id="_build__buildId__delete_response">
5220
-                                    
5221
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
5222
-                                        
5223
-
5224
-                                        
5225
-
5226
-                                        
5227
-                                            <h3>Body</h3>
5228
-                                            
5229
-                                                <p><strong>Type: application/json</strong></p>
5230
-
5231
-                                                
5232
-
5233
-                                                
5234
-                                                    <p>
5235
-                                                        <small>
5236
-                                                            <strong>Example</strong>:
5237
-                                                            <pre>{
5238
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
5239
-</span>}
5240
-</pre>
5241
-                                                        </small>
5242
-                                                    </p>
5243
-                                                
5244
-                                            
5245
-                                        
5246
-                                    
5247
-                                </div>
5248
-                            
5249
-                        </div>
5250
-                    </div>
5251
-                </div>
5252
-            </div>
5253
-        </div>
5254
-    
5255
-        <div class="modal fade" tabindex="0" id="_build__buildId__post">
5256
-            <div class="modal-dialog">
5257
-                <div class="modal-content">
5258
-                    <div class="modal-header">
5259
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5260
-                        <h4 class="modal-title" id="myModalLabel">
5261
-                            <span class="badge badge_post">post</span>
5262
-                            <span class="parent"></span>/build/{buildId}
5263
-                        </h4>
5264
-                    </div>
5265
-                    <div class="modal-body">
5266
-                        <div class="alert alert-info"><p>Launch a build</p>
5267
-</div>
5268
-
5269
-                        <!-- Nav tabs -->
5270
-                        <ul class="nav nav-tabs">
5271
-                            <li class="active">
5272
-                                <a href="#_build__buildId__post_request" data-toggle="tab">Request</a>
5273
-                            </li>
5274
-                            
5275
-                        </ul>
5276
-
5277
-                        <!-- Tab panes -->
5278
-                        <div class="tab-content">
5279
-                            <div class="tab-pane active" id="_build__buildId__post_request">
5280
-                                
5281
-                                    <h3>URI Parameters</h3>
5282
-                                    <ul>
5283
-                                        
5284
-                                            <li>
5285
-                                                <strong>buildId</strong>:
5286
-                                                <em>
5287
-                                                    
5288
-                                                        required
5289
-                                                    
5290
-                                                    (string)
5291
-                                                </em>
5292
-
5293
-                                                
5294
-                                            </li>
5295
-                                        
5296
-                                    </ul>
5297
-                                
5298
-
5299
-                                
5300
-
5301
-                                
5302
-
5303
-                                
5304
-                                    <h3>Body</h3>
5305
-                                    
5306
-                                        <p><strong>Type: application/json</strong></p>
5307
-                                        
5308
-
5309
-                                        
5310
-
5311
-                                        
5312
-                                            <p>
5313
-                                                <small>
5314
-                                                    <strong>Example</strong>:
5315
-                                                    <pre>{
5316
-  "<span class="hljs-attribute">data</span>": 
5317
-  <span class="hljs-value">{
5318
-    "<span class="hljs-attribute">archiveUrl</span>": <span class="hljs-value"><span class="hljs-string">"http://url/to/my/archive"</span>
5319
-  </span>}
5320
-</span>}
5321
-</pre>
5322
-                                                </small>
5323
-                                            </p>
5324
-                                        
5325
-                                    
5326
-                                
5327
-                            </div>
5328
-
5329
-                            
5330
-                        </div>
5331
-                    </div>
5332
-                </div>
5333
-            </div>
5334
-        </div>
5335
-    
5336
-</div>
5337
-
5338
-
5339
-    <div class="panel panel-white">
5340
-    <div class="panel-heading">
5341
-        <h4 class="panel-title">
5342
-            <a class="block collapsed" data-toggle="collapse" href="#panel__build__buildId__results">
5343
-                <span class="methods">
5344
-                    
5345
-                        <span class="badge badge_get">get</span>
5346
-                    
5347
-                </span>
5348
-                <span class="parent">/build/{buildId}</span>/results
5349
-            </a>
5350
-        </h4>
5351
-    </div>
5352
-    <div id="panel__build__buildId__results" class="panel-collapse collapse">
5353
-        <div class="panel-body">
5354
-            <div class="list-group">
5355
-                
5356
-                    <a href="#" data-toggle="modal" data-target="#_build__buildId__results_get" class="list-group-item">
5357
-                        <span class="badge badge_get">get</span>
5358
-                        <div class="method_description">
5359
-                            <p>Retrieves list of build results</p>
5360
-
5361
-                        </div>
5362
-                        <div class="clearfix"></div>
5363
-                    </a>
5364
-                
5365
-            </div>
5366
-        </div>
5367
-    </div>
5368
-
5369
-    
5370
-        <div class="modal fade" tabindex="0" id="_build__buildId__results_get">
5371
-            <div class="modal-dialog">
5372
-                <div class="modal-content">
5373
-                    <div class="modal-header">
5374
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5375
-                        <h4 class="modal-title" id="myModalLabel">
5376
-                            <span class="badge badge_get">get</span>
5377
-                            <span class="parent">/build/{buildId}</span>/results
5378
-                        </h4>
5379
-                    </div>
5380
-                    <div class="modal-body">
5381
-                        <div class="alert alert-info"><p>Retrieves list of build results</p>
5382
-</div>
5383
-
5384
-                        <!-- Nav tabs -->
5385
-                        <ul class="nav nav-tabs">
5386
-                            <li class="active">
5387
-                                <a href="#_build__buildId__results_get_request" data-toggle="tab">Request</a>
5388
-                            </li>
5389
-                            
5390
-                                <li>
5391
-                                    <a href="#_build__buildId__results_get_response" data-toggle="tab">Response</a>
5392
-                                </li>
5393
-                            
5394
-                        </ul>
5395
-
5396
-                        <!-- Tab panes -->
5397
-                        <div class="tab-content">
5398
-                            <div class="tab-pane active" id="_build__buildId__results_get_request">
5399
-                                
5400
-                                    <h3>URI Parameters</h3>
5401
-                                    <ul>
5402
-                                        
5403
-                                            <li>
5404
-                                                <strong>buildId</strong>:
5405
-                                                <em>
5406
-                                                    
5407
-                                                        required
5408
-                                                    
5409
-                                                    (string)
5410
-                                                </em>
5411
-
5412
-                                                
5413
-                                            </li>
5414
-                                        
5415
-                                    </ul>
5416
-                                
5417
-
5418
-                                
5419
-
5420
-                                
5421
-
5422
-                                
5423
-                            </div>
5424
-
5425
-                            
5426
-                                <div class="tab-pane" id="_build__buildId__results_get_response">
5427
-                                    
5428
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
5429
-                                        
5430
-
5431
-                                        
5432
-
5433
-                                        
5434
-                                            <h3>Body</h3>
5435
-                                            
5436
-                                                <p><strong>Type: application/json</strong></p>
5437
-
5438
-                                                
983
+}
5439 984
 
5440
-                                                
5441
-                                                    <p>
5442
-                                                        <small>
5443
-                                                            <strong>Example</strong>:
5444
-                                                            <pre>{
5445
-  "<span class="hljs-attribute">list</span>":
5446
-  <span class="hljs-value">[
985
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_builds_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/builds</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new build</p></div><ul class="nav nav-tabs"><li class=active><a href=#_builds_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_builds_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
986
+  "data":
987
+  {
988
+    "id": "53c4249f076573c0f4000001",
989
+    "imageStream": "server/name",
990
+    "type": "docker-build",
991
+    "repository": "openshift/dockerrepo"
992
+  }
993
+}
994
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_build__buildId_ class=panel-title>/build/{buildId}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__build__buildId_><span class=parent></span>/build/{buildId}</a> <span class=methods><a href=# data-toggle=modal data-target=#_build__buildId__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_build__buildId__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_build__buildId__delete><span class="badge badge_delete">delete</span></a> <a href=# data-toggle=modal data-target=#_build__buildId__post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__build__buildId_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_build__buildId__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Retrieve a single build definition</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_build__buildId__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a build definition</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_build__buildId__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a build definition</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_build__buildId__post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Launch a build</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_build__buildId__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/build/{buildId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Retrieve a single build definition</p></div><ul class="nav nav-tabs"><li class=active><a href=#_build__buildId__get_request data-toggle=tab>Request</a></li><li><a href=#_build__buildId__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_build__buildId__get_request><h3>URI Parameters</h3><ul><li><strong>buildId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_build__buildId__get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
995
+  "data":
996
+  {
997
+    "id": "53c4249f076573c0f4000001",
998
+    "imageStream": "server/name",
999
+    "type": "docker-build",
1000
+    "repository": "openshift/dockerrepo"
1001
+  }
1002
+}
1003
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_build__buildId__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent></span>/build/{buildId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a build definition</p></div><ul class="nav nav-tabs"><li class=active><a href=#_build__buildId__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_build__buildId__put_request><h3>URI Parameters</h3><ul><li><strong>buildId</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1004
+  "data":
1005
+  {
1006
+    "id": "53c4249f076573c0f4000001",
1007
+    "imageStream": "server/name",
1008
+    "type": "docker-build",
1009
+    "repository": "openshift/dockerrepo"
1010
+  }
1011
+}
1012
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_build__buildId__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/build/{buildId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a build definition</p></div><ul class="nav nav-tabs"><li class=active><a href=#_build__buildId__delete_request data-toggle=tab>Request</a></li><li><a href=#_build__buildId__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_build__buildId__delete_request><h3>URI Parameters</h3><ul><li><strong>buildId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_build__buildId__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1013
+    "apiVersion": "v1beta1",
1014
+    "creationTimestamp": null,
1015
+    "kind": "Status",
1016
+    "status": "success"
1017
+}
1018
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_build__buildId__post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/build/{buildId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Launch a build</p></div><ul class="nav nav-tabs"><li class=active><a href=#_build__buildId__post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_build__buildId__post_request><h3>URI Parameters</h3><ul><li><strong>buildId</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1019
+  "data": 
1020
+  {
1021
+    "archiveUrl": "http://url/to/my/archive"
1022
+  }
1023
+}
1024
+</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__build__buildId__results><span class=parent>/build/{buildId}</span>/results</a> <span class=methods><a href=# data-toggle=modal data-target=#_build__buildId__results_get><span class="badge badge_get">get</span></a></span></h4></div><div id=panel__build__buildId__results class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_build__buildId__results_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Retrieves list of build results</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_build__buildId__results_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent>/build/{buildId}</span>/results</h4></div><div class=modal-body><div class="alert alert-info"><p>Retrieves list of build results</p></div><ul class="nav nav-tabs"><li class=active><a href=#_build__buildId__results_get_request data-toggle=tab>Request</a></li><li><a href=#_build__buildId__results_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_build__buildId__results_get_request><h3>URI Parameters</h3><ul><li><strong>buildId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_build__buildId__results_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1025
+  "list":
1026
+  [
5447 1027
     {
5448
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
5449
-      "<span class="hljs-attribute">startTime</span>": <span class="hljs-value"><span class="hljs-string">"2014-07-15T03:58:40Z"</span></span>,
5450
-      "<span class="hljs-attribute">endTime</span>": <span class="hljs-value"><span class="hljs-string">"2014-07-15T03:59:40Z"</span></span>,
5451
-      "<span class="hljs-attribute">result</span>": <span class="hljs-value"><span class="hljs-string">"SUCCESS"</span></span>,
5452
-      "<span class="hljs-attribute">logs</span>": <span class="hljs-value"><span class="hljs-string">"http://url/to/build/logs"</span>
5453
-    </span>},
1028
+      "id": "53c4249f076573c0f4000001",
1029
+      "startTime": "2014-07-15T03:58:40Z",
1030
+      "endTime": "2014-07-15T03:59:40Z",
1031
+      "result": "SUCCESS",
1032
+      "logs": "http://url/to/build/logs"
1033
+    },
5454 1034
     {
5455
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000002"</span></span>,
5456
-      "<span class="hljs-attribute">startTime</span>": <span class="hljs-value"><span class="hljs-string">"2014-07-15T04:58:40Z"</span></span>,
5457
-      "<span class="hljs-attribute">endTime</span>": <span class="hljs-value"><span class="hljs-string">"2014-07-15T04:59:40Z"</span></span>,
5458
-      "<span class="hljs-attribute">result</span>": <span class="hljs-value"><span class="hljs-string">"FAILURE"</span></span>,
5459
-      "<span class="hljs-attribute">logs</span>": <span class="hljs-value"><span class="hljs-string">"http://url/to/build/logs"</span>
5460
-    </span>}
1035
+      "id": "53c4249f076573c0f4000002",
1036
+      "startTime": "2014-07-15T04:58:40Z",
1037
+      "endTime": "2014-07-15T04:59:40Z",
1038
+      "result": "FAILURE",
1039
+      "logs": "http://url/to/build/logs"
1040
+    }
5461 1041
   ]
5462
-</span>}
5463
-</pre>
5464
-                                                        </small>
5465
-                                                    </p>
5466
-                                                
5467
-                                            
5468
-                                        
5469
-                                    
5470
-                                </div>
5471
-                            
5472
-                        </div>
5473
-                    </div>
5474
-                </div>
5475
-            </div>
5476
-        </div>
5477
-    
5478
-</div>
5479
-
5480
-
5481
-
5482
-
5483
-
5484
-                            </div>
5485
-                        </div>
5486
-                    </div>
5487
-                
5488
-                    <div class="panel panel-default">
5489
-                        <div class="panel-heading">
5490
-                            <h3 id="_templates" class="panel-title">/templates</h3>
5491
-                        </div>
5492
-
5493
-                        <div class="panel-body">
5494
-                            
5495
-
5496
-                            <div class="panel-group">
5497
-                                <div class="panel panel-white">
5498
-    <div class="panel-heading">
5499
-        <h4 class="panel-title">
5500
-            <a class="block collapsed" data-toggle="collapse" href="#panel__templates">
5501
-                <span class="methods">
5502
-                    
5503
-                        <span class="badge badge_get">get</span>
5504
-                    
5505
-                        <span class="badge badge_post">post</span>
5506
-                    
5507
-                </span>
5508
-                <span class="parent"></span>/templates
5509
-            </a>
5510
-        </h4>
5511
-    </div>
5512
-    <div id="panel__templates" class="panel-collapse collapse">
5513
-        <div class="panel-body">
5514
-            <div class="list-group">
5515
-                
5516
-                    <a href="#" data-toggle="modal" data-target="#_templates_get" class="list-group-item">
5517
-                        <span class="badge badge_get">get</span>
5518
-                        <div class="method_description">
5519
-                            <p>Lists all templates that your account has access to</p>
5520
-<p>A template defines 0..n services and 0..m links. When it is applied
5521
-to an existing project, those services and links are instantiated for
5522
-that project.</p>
5523
-
5524
-                        </div>
5525
-                        <div class="clearfix"></div>
5526
-                    </a>
5527
-                
5528
-                    <a href="#" data-toggle="modal" data-target="#_templates_post" class="list-group-item">
5529
-                        <span class="badge badge_post">post</span>
5530
-                        <div class="method_description">
5531
-                            <p>Create a new template</p>
5532
-
5533
-                        </div>
5534
-                        <div class="clearfix"></div>
5535
-                    </a>
5536
-                
5537
-            </div>
5538
-        </div>
5539
-    </div>
5540
-
5541
-    
5542
-        <div class="modal fade" tabindex="0" id="_templates_get">
5543
-            <div class="modal-dialog">
5544
-                <div class="modal-content">
5545
-                    <div class="modal-header">
5546
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5547
-                        <h4 class="modal-title" id="myModalLabel">
5548
-                            <span class="badge badge_get">get</span>
5549
-                            <span class="parent"></span>/templates
5550
-                        </h4>
5551
-                    </div>
5552
-                    <div class="modal-body">
5553
-                        <div class="alert alert-info"><p>Lists all templates that your account has access to</p>
5554
-<p>A template defines 0..n services and 0..m links. When it is applied
5555
-to an existing project, those services and links are instantiated for
5556
-that project.</p>
5557
-</div>
5558
-
5559
-                        <!-- Nav tabs -->
5560
-                        <ul class="nav nav-tabs">
5561
-                            <li class="active">
5562
-                                <a href="#_templates_get_request" data-toggle="tab">Request</a>
5563
-                            </li>
5564
-                            
5565
-                                <li>
5566
-                                    <a href="#_templates_get_response" data-toggle="tab">Response</a>
5567
-                                </li>
5568
-                            
5569
-                        </ul>
5570
-
5571
-                        <!-- Tab panes -->
5572
-                        <div class="tab-content">
5573
-                            <div class="tab-pane active" id="_templates_get_request">
5574
-                                
5575
-
5576
-                                
5577
-
5578
-                                
5579
-
5580
-                                
5581
-                            </div>
5582
-
5583
-                            
5584
-                                <div class="tab-pane" id="_templates_get_response">
5585
-                                    
5586
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
5587
-                                        
5588
-
5589
-                                        
5590
-
5591
-                                        
5592
-                                            <h3>Body</h3>
5593
-                                            
5594
-                                                <p><strong>Type: application/json</strong></p>
5595
-
5596
-                                                
5597
-
5598
-                                                
5599
-                                                    <p>
5600
-                                                        <small>
5601
-                                                            <strong>Example</strong>:
5602
-                                                            <pre>{
5603
-  "<span class="hljs-attribute">list</span>":
5604
-  <span class="hljs-value">[
1042
+}
1043
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_buildConfigHooks__buildId___secret___plugin_ class=panel-title>/buildConfigHooks/{buildId}/{secret}/{plugin}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__buildConfigHooks__buildId___secret___plugin_><span class=parent></span>/buildConfigHooks/{buildId}/{secret}/{plugin}</a> <span class=methods><a href=# data-toggle=modal data-target=#_buildConfigHooks__buildId___secret___plugin__post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__buildConfigHooks__buildId___secret___plugin_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_buildConfigHooks__buildId___secret___plugin__post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Webhook on push event from external repository</p><p>buildId specifies which build to trigger, whereas plugin defines source of the request, this might be github, bitbucket or others.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_buildConfigHooks__buildId___secret___plugin__post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/buildConfigHooks/{buildId}/{secret}/{plugin}</h4></div><div class=modal-body><div class="alert alert-info"><p>Webhook on push event from external repository</p><p>buildId specifies which build to trigger, whereas plugin defines source of the request, this might be github, bitbucket or others.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_buildConfigHooks__buildId___secret___plugin__post_request data-toggle=tab>Request</a></li><li><a href=#_buildConfigHooks__buildId___secret___plugin__post_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_buildConfigHooks__buildId___secret___plugin__post_request><h3>URI Parameters</h3><ul><li><strong>buildId</strong>: <em>required (string)</em></li><li><strong>secret</strong>: <em>required (string)</em></li><li><strong>plugin</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_buildConfigHooks__buildId___secret___plugin__post_response><h2>HTTP status code <a href=http://httpstatus.es/204 target=_blank>204</a></h2><p>No content</p></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_templates class=panel-title>/templates</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__templates><span class=parent></span>/templates</a> <span class=methods><a href=# data-toggle=modal data-target=#_templates_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_templates_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__templates class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_templates_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Lists all templates that your account has access to</p><p>A template defines 0..n services and 0..m links. When it is applied to an existing project, those services and links are instantiated for that project.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_templates_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new template</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_templates_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/templates</h4></div><div class=modal-body><div class="alert alert-info"><p>Lists all templates that your account has access to</p><p>A template defines 0..n services and 0..m links. When it is applied to an existing project, those services and links are instantiated for that project.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_templates_get_request data-toggle=tab>Request</a></li><li><a href=#_templates_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_templates_get_request></div><div class=tab-pane id=_templates_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1044
+  "list":
1045
+  [
5605 1046
     {
5606
-      "<span class="hljs-attribute">services</span>": <span class="hljs-value">[
1047
+      "services": [
5607 1048
         {
5608
-          "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
5609
-          "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
5610
-          "<span class="hljs-attribute">desiredState</span>": 
5611
-          <span class="hljs-value">{
5612
-            "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
5613
-            "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
5614
-            "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
5615
-              "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
5616
-            </span>}</span>,
5617
-            "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
5618
-            "<span class="hljs-attribute">podTemplate</span>": 
5619
-            <span class="hljs-value">{
5620
-               "<span class="hljs-attribute">desiredState</span>":
5621
-               <span class="hljs-value">{
5622
-                 "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
5623
-                 "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
1049
+          "name": "service-name",
1050
+          "domain": "domain-id",
1051
+          "desiredState": 
1052
+          {
1053
+            "replicas": 3,
1054
+            "replicaSelector": { "name": "service-name" },
1055
+            "replicaPolicy": {
1056
+              "atLeast": 2
1057
+            },
1058
+            "activeDeployment": "a_deployment_id",
1059
+            "podTemplate": 
1060
+            {
1061
+               "desiredState":
1062
+               {
1063
+                 "image": "server/domain/name",
1064
+                 "network-ports": [
5624 1065
                    {
5625
-                     "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
5626
-                     "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
5627
-                   </span>}
5628
-                 ]</span>,
5629
-                 "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
5630
-               </span>}</span>,
5631
-               "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
5632
-                 "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
5633
-               </span>}
5634
-            </span>}
5635
-          </span>}
5636
-        </span>}
5637
-      ]</span>,
5638
-      "<span class="hljs-attribute">links</span>": <span class="hljs-value">[
1066
+                     "hostPort": 8080,
1067
+                     "containerPort": 80
1068
+                   }
1069
+                 ],
1070
+                 "owner": true
1071
+               },
1072
+               "labels": {
1073
+                 "name": "service-name"
1074
+               }
1075
+            }
1076
+          }
1077
+        }
1078
+      ],
1079
+      "links": [
5639 1080
         {
5640
-          "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
5641
-          "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
5642
-          "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
5643
-            "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
5644
-          </span>}</span>,
5645
-          "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
5646
-            "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
5647
-            "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
5648
-          </span>}
5649
-          <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
5650
-        </span>}
1081
+          "id": "53c4249f076573c0f4000001",
1082
+          "projectId": "myproject-1234123132",
1083
+          "source": {
1084
+            "serviceId": "nginx-1893747912737"
1085
+          },
1086
+          "destination": {
1087
+            "serviceId": "ruby1.9-1237471273",
1088
+            "port": 8080
1089
+          }
1090
+          "policy": "round-robin"
1091
+        }
5651 1092
       ]
5652
-    </span>}
1093
+    }
5653 1094
   ]
5654
-</span>}
5655
-</pre>
5656
-                                                        </small>
5657
-                                                    </p>
5658
-                                                
5659
-                                            
5660
-                                        
5661
-                                    
5662
-                                </div>
5663
-                            
5664
-                        </div>
5665
-                    </div>
5666
-                </div>
5667
-            </div>
5668
-        </div>
5669
-    
5670
-        <div class="modal fade" tabindex="0" id="_templates_post">
5671
-            <div class="modal-dialog">
5672
-                <div class="modal-content">
5673
-                    <div class="modal-header">
5674
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5675
-                        <h4 class="modal-title" id="myModalLabel">
5676
-                            <span class="badge badge_post">post</span>
5677
-                            <span class="parent"></span>/templates
5678
-                        </h4>
5679
-                    </div>
5680
-                    <div class="modal-body">
5681
-                        <div class="alert alert-info"><p>Create a new template</p>
5682
-</div>
5683
-
5684
-                        <!-- Nav tabs -->
5685
-                        <ul class="nav nav-tabs">
5686
-                            <li class="active">
5687
-                                <a href="#_templates_post_request" data-toggle="tab">Request</a>
5688
-                            </li>
5689
-                            
5690
-                        </ul>
5691
-
5692
-                        <!-- Tab panes -->
5693
-                        <div class="tab-content">
5694
-                            <div class="tab-pane active" id="_templates_post_request">
5695
-                                
5696
-
5697
-                                
5698
-
5699
-                                
5700
-
5701
-                                
5702
-                                    <h3>Body</h3>
5703
-                                    
5704
-                                        <p><strong>Type: application/json</strong></p>
5705
-                                        
5706
-
5707
-                                        
5708
-
5709
-                                        
5710
-                                            <p>
5711
-                                                <small>
5712
-                                                    <strong>Example</strong>:
5713
-                                                    <pre>{
5714
-  "<span class="hljs-attribute">data</span>":
5715
-  <span class="hljs-value">{
5716
-    "<span class="hljs-attribute">services</span>": <span class="hljs-value">[
1095
+}
1096
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_templates_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/templates</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new template</p></div><ul class="nav nav-tabs"><li class=active><a href=#_templates_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_templates_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1097
+  "data":
1098
+  {
1099
+    "services": [
5717 1100
       {
5718
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
5719
-        "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
5720
-        "<span class="hljs-attribute">desiredState</span>": 
5721
-        <span class="hljs-value">{
5722
-          "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
5723
-          "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
5724
-          "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
5725
-            "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
5726
-          </span>}</span>,
5727
-          "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
5728
-          "<span class="hljs-attribute">podTemplate</span>": 
5729
-          <span class="hljs-value">{
5730
-             "<span class="hljs-attribute">desiredState</span>":
5731
-             <span class="hljs-value">{
5732
-               "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
5733
-               "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
1101
+        "name": "service-name",
1102
+        "domain": "domain-id",
1103
+        "desiredState": 
1104
+        {
1105
+          "replicas": 3,
1106
+          "replicaSelector": { "name": "service-name" },
1107
+          "replicaPolicy": {
1108
+            "atLeast": 2
1109
+          },
1110
+          "activeDeployment": "a_deployment_id",
1111
+          "podTemplate": 
1112
+          {
1113
+             "desiredState":
1114
+             {
1115
+               "image": "server/domain/name",
1116
+               "network-ports": [
5734 1117
                  {
5735
-                   "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
5736
-                   "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
5737
-                 </span>}
5738
-               ]</span>,
5739
-               "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
5740
-             </span>}</span>,
5741
-             "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
5742
-               "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
5743
-             </span>}
5744
-          </span>}
5745
-        </span>}
5746
-      </span>}
5747
-    ]</span>,
5748
-    "<span class="hljs-attribute">links</span>": <span class="hljs-value">[
1118
+                   "hostPort": 8080,
1119
+                   "containerPort": 80
1120
+                 }
1121
+               ],
1122
+               "owner": true
1123
+             },
1124
+             "labels": {
1125
+               "name": "service-name"
1126
+             }
1127
+          }
1128
+        }
1129
+      }
1130
+    ],
1131
+    "links": [
5749 1132
       {
5750
-        "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
5751
-        "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
5752
-        "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
5753
-          "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
5754
-        </span>}</span>,
5755
-        "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
5756
-          "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
5757
-          "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
5758
-        </span>}
5759
-        <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
5760
-      </span>}
1133
+        "id": "53c4249f076573c0f4000001",
1134
+        "projectId": "myproject-1234123132",
1135
+        "source": {
1136
+          "serviceId": "nginx-1893747912737"
1137
+        },
1138
+        "destination": {
1139
+          "serviceId": "ruby1.9-1237471273",
1140
+          "port": 8080
1141
+        }
1142
+        "policy": "round-robin"
1143
+      }
5761 1144
     ]
5762
-  </span>}
5763
-</span>}
5764
-</pre>
5765
-                                                </small>
5766
-                                            </p>
5767
-                                        
5768
-                                    
5769
-                                
5770
-                            </div>
5771
-
5772
-                            
5773
-                        </div>
5774
-                    </div>
5775
-                </div>
5776
-            </div>
5777
-        </div>
5778
-    
5779
-</div>
5780
-
5781
-
5782
-
5783
-                            </div>
5784
-                        </div>
5785
-                    </div>
5786
-                
5787
-                    <div class="panel panel-default">
5788
-                        <div class="panel-heading">
5789
-                            <h3 id="_template__templateID_" class="panel-title">/template/{templateID}</h3>
5790
-                        </div>
5791
-
5792
-                        <div class="panel-body">
5793
-                            
5794
-
5795
-                            <div class="panel-group">
5796
-                                <div class="panel panel-white">
5797
-    <div class="panel-heading">
5798
-        <h4 class="panel-title">
5799
-            <a class="block collapsed" data-toggle="collapse" href="#panel__template__templateID_">
5800
-                <span class="methods">
5801
-                    
5802
-                        <span class="badge badge_get">get</span>
5803
-                    
5804
-                        <span class="badge badge_put">put</span>
5805
-                    
5806
-                        <span class="badge badge_delete">delete</span>
5807
-                    
5808
-                </span>
5809
-                <span class="parent"></span>/template/{templateID}
5810
-            </a>
5811
-        </h4>
5812
-    </div>
5813
-    <div id="panel__template__templateID_" class="panel-collapse collapse">
5814
-        <div class="panel-body">
5815
-            <div class="list-group">
5816
-                
5817
-                    <a href="#" data-toggle="modal" data-target="#_template__templateID__get" class="list-group-item">
5818
-                        <span class="badge badge_get">get</span>
5819
-                        <div class="method_description">
5820
-                            <p>Get a specific template</p>
5821
-
5822
-                        </div>
5823
-                        <div class="clearfix"></div>
5824
-                    </a>
5825
-                
5826
-                    <a href="#" data-toggle="modal" data-target="#_template__templateID__put" class="list-group-item">
5827
-                        <span class="badge badge_put">put</span>
5828
-                        <div class="method_description">
5829
-                            <p>Update a template</p>
5830
-
5831
-                        </div>
5832
-                        <div class="clearfix"></div>
5833
-                    </a>
5834
-                
5835
-                    <a href="#" data-toggle="modal" data-target="#_template__templateID__delete" class="list-group-item">
5836
-                        <span class="badge badge_delete">delete</span>
5837
-                        <div class="method_description">
5838
-                            <p>Delete a template</p>
5839
-
5840
-                        </div>
5841
-                        <div class="clearfix"></div>
5842
-                    </a>
5843
-                
5844
-            </div>
5845
-        </div>
5846
-    </div>
5847
-
5848
-    
5849
-        <div class="modal fade" tabindex="0" id="_template__templateID__get">
5850
-            <div class="modal-dialog">
5851
-                <div class="modal-content">
5852
-                    <div class="modal-header">
5853
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5854
-                        <h4 class="modal-title" id="myModalLabel">
5855
-                            <span class="badge badge_get">get</span>
5856
-                            <span class="parent"></span>/template/{templateID}
5857
-                        </h4>
5858
-                    </div>
5859
-                    <div class="modal-body">
5860
-                        <div class="alert alert-info"><p>Get a specific template</p>
5861
-</div>
5862
-
5863
-                        <!-- Nav tabs -->
5864
-                        <ul class="nav nav-tabs">
5865
-                            <li class="active">
5866
-                                <a href="#_template__templateID__get_request" data-toggle="tab">Request</a>
5867
-                            </li>
5868
-                            
5869
-                        </ul>
5870
-
5871
-                        <!-- Tab panes -->
5872
-                        <div class="tab-content">
5873
-                            <div class="tab-pane active" id="_template__templateID__get_request">
5874
-                                
5875
-                                    <h3>URI Parameters</h3>
5876
-                                    <ul>
5877
-                                        
5878
-                                            <li>
5879
-                                                <strong>templateID</strong>:
5880
-                                                <em>
5881
-                                                    
5882
-                                                        required
5883
-                                                    
5884
-                                                    (string)
5885
-                                                </em>
5886
-
5887
-                                                
5888
-                                            </li>
5889
-                                        
5890
-                                    </ul>
5891
-                                
5892
-
5893
-                                
5894
-
5895
-                                
5896
-
5897
-                                
5898
-                                    <h3>Body</h3>
5899
-                                    
5900
-                                        <p><strong>Type: application/json</strong></p>
5901
-                                        
5902
-
5903
-                                        
5904
-
5905
-                                        
5906
-                                            <p>
5907
-                                                <small>
5908
-                                                    <strong>Example</strong>:
5909
-                                                    <pre>{
5910
-  "<span class="hljs-attribute">data</span>":
5911
-  <span class="hljs-value">{
5912
-    "<span class="hljs-attribute">services</span>": <span class="hljs-value">[
1145
+  }
1146
+}
1147
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_template__templateID_ class=panel-title>/template/{templateID}</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__template__templateID_><span class=parent></span>/template/{templateID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_template__templateID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_template__templateID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_template__templateID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__template__templateID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_template__templateID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific template</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_template__templateID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a template</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_template__templateID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a template</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_template__templateID__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/template/{templateID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific template</p></div><ul class="nav nav-tabs"><li class=active><a href=#_template__templateID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_template__templateID__get_request><h3>URI Parameters</h3><ul><li><strong>templateID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1148
+  "data":
1149
+  {
1150
+    "services": [
5913 1151
       {
5914
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
5915
-        "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
5916
-        "<span class="hljs-attribute">desiredState</span>": 
5917
-        <span class="hljs-value">{
5918
-          "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
5919
-          "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
5920
-          "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
5921
-            "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
5922
-          </span>}</span>,
5923
-          "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
5924
-          "<span class="hljs-attribute">podTemplate</span>": 
5925
-          <span class="hljs-value">{
5926
-             "<span class="hljs-attribute">desiredState</span>":
5927
-             <span class="hljs-value">{
5928
-               "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
5929
-               "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
1152
+        "name": "service-name",
1153
+        "domain": "domain-id",
1154
+        "desiredState": 
1155
+        {
1156
+          "replicas": 3,
1157
+          "replicaSelector": { "name": "service-name" },
1158
+          "replicaPolicy": {
1159
+            "atLeast": 2
1160
+          },
1161
+          "activeDeployment": "a_deployment_id",
1162
+          "podTemplate": 
1163
+          {
1164
+             "desiredState":
1165
+             {
1166
+               "image": "server/domain/name",
1167
+               "network-ports": [
5930 1168
                  {
5931
-                   "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
5932
-                   "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
5933
-                 </span>}
5934
-               ]</span>,
5935
-               "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
5936
-             </span>}</span>,
5937
-             "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
5938
-               "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
5939
-             </span>}
5940
-          </span>}
5941
-        </span>}
5942
-      </span>}
5943
-    ]</span>,
5944
-    "<span class="hljs-attribute">links</span>": <span class="hljs-value">[
1169
+                   "hostPort": 8080,
1170
+                   "containerPort": 80
1171
+                 }
1172
+               ],
1173
+               "owner": true
1174
+             },
1175
+             "labels": {
1176
+               "name": "service-name"
1177
+             }
1178
+          }
1179
+        }
1180
+      }
1181
+    ],
1182
+    "links": [
5945 1183
       {
5946
-        "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
5947
-        "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
5948
-        "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
5949
-          "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
5950
-        </span>}</span>,
5951
-        "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
5952
-          "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
5953
-          "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
5954
-        </span>}
5955
-        <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
5956
-      </span>}
1184
+        "id": "53c4249f076573c0f4000001",
1185
+        "projectId": "myproject-1234123132",
1186
+        "source": {
1187
+          "serviceId": "nginx-1893747912737"
1188
+        },
1189
+        "destination": {
1190
+          "serviceId": "ruby1.9-1237471273",
1191
+          "port": 8080
1192
+        }
1193
+        "policy": "round-robin"
1194
+      }
5957 1195
     ]
5958
-  </span>}
5959
-</span>}
5960
-</pre>
5961
-                                                </small>
5962
-                                            </p>
5963
-                                        
5964
-                                    
5965
-                                
5966
-                            </div>
5967
-
5968
-                            
5969
-                        </div>
5970
-                    </div>
5971
-                </div>
5972
-            </div>
5973
-        </div>
5974
-    
5975
-        <div class="modal fade" tabindex="0" id="_template__templateID__put">
5976
-            <div class="modal-dialog">
5977
-                <div class="modal-content">
5978
-                    <div class="modal-header">
5979
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
5980
-                        <h4 class="modal-title" id="myModalLabel">
5981
-                            <span class="badge badge_put">put</span>
5982
-                            <span class="parent"></span>/template/{templateID}
5983
-                        </h4>
5984
-                    </div>
5985
-                    <div class="modal-body">
5986
-                        <div class="alert alert-info"><p>Update a template</p>
5987
-</div>
5988
-
5989
-                        <!-- Nav tabs -->
5990
-                        <ul class="nav nav-tabs">
5991
-                            <li class="active">
5992
-                                <a href="#_template__templateID__put_request" data-toggle="tab">Request</a>
5993
-                            </li>
5994
-                            
5995
-                        </ul>
5996
-
5997
-                        <!-- Tab panes -->
5998
-                        <div class="tab-content">
5999
-                            <div class="tab-pane active" id="_template__templateID__put_request">
6000
-                                
6001
-                                    <h3>URI Parameters</h3>
6002
-                                    <ul>
6003
-                                        
6004
-                                            <li>
6005
-                                                <strong>templateID</strong>:
6006
-                                                <em>
6007
-                                                    
6008
-                                                        required
6009
-                                                    
6010
-                                                    (string)
6011
-                                                </em>
6012
-
6013
-                                                
6014
-                                            </li>
6015
-                                        
6016
-                                    </ul>
6017
-                                
6018
-
6019
-                                
6020
-
6021
-                                
6022
-
6023
-                                
6024
-                                    <h3>Body</h3>
6025
-                                    
6026
-                                        <p><strong>Type: application/json</strong></p>
6027
-                                        
6028
-
6029
-                                        
6030
-
6031
-                                        
6032
-                                            <p>
6033
-                                                <small>
6034
-                                                    <strong>Example</strong>:
6035
-                                                    <pre>{
6036
-  "<span class="hljs-attribute">data</span>":
6037
-  <span class="hljs-value">{
6038
-    "<span class="hljs-attribute">services</span>": <span class="hljs-value">[
1196
+  }
1197
+}
1198
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_template__templateID__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent></span>/template/{templateID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a template</p></div><ul class="nav nav-tabs"><li class=active><a href=#_template__templateID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_template__templateID__put_request><h3>URI Parameters</h3><ul><li><strong>templateID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1199
+  "data":
1200
+  {
1201
+    "services": [
6039 1202
       {
6040
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
6041
-        "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
6042
-        "<span class="hljs-attribute">desiredState</span>": 
6043
-        <span class="hljs-value">{
6044
-          "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
6045
-          "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
6046
-          "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
6047
-            "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
6048
-          </span>}</span>,
6049
-          "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
6050
-          "<span class="hljs-attribute">podTemplate</span>": 
6051
-          <span class="hljs-value">{
6052
-             "<span class="hljs-attribute">desiredState</span>":
6053
-             <span class="hljs-value">{
6054
-               "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
6055
-               "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
1203
+        "name": "service-name",
1204
+        "domain": "domain-id",
1205
+        "desiredState": 
1206
+        {
1207
+          "replicas": 3,
1208
+          "replicaSelector": { "name": "service-name" },
1209
+          "replicaPolicy": {
1210
+            "atLeast": 2
1211
+          },
1212
+          "activeDeployment": "a_deployment_id",
1213
+          "podTemplate": 
1214
+          {
1215
+             "desiredState":
1216
+             {
1217
+               "image": "server/domain/name",
1218
+               "network-ports": [
6056 1219
                  {
6057
-                   "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
6058
-                   "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
6059
-                 </span>}
6060
-               ]</span>,
6061
-               "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
6062
-             </span>}</span>,
6063
-             "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
6064
-               "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
6065
-             </span>}
6066
-          </span>}
6067
-        </span>}
6068
-      </span>}
6069
-    ]</span>,
6070
-    "<span class="hljs-attribute">links</span>": <span class="hljs-value">[
1220
+                   "hostPort": 8080,
1221
+                   "containerPort": 80
1222
+                 }
1223
+               ],
1224
+               "owner": true
1225
+             },
1226
+             "labels": {
1227
+               "name": "service-name"
1228
+             }
1229
+          }
1230
+        }
1231
+      }
1232
+    ],
1233
+    "links": [
6071 1234
       {
6072
-        "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
6073
-        "<span class="hljs-attribute">projectId</span>": <span class="hljs-value"><span class="hljs-string">"myproject-1234123132"</span></span>,
6074
-        "<span class="hljs-attribute">source</span>": <span class="hljs-value">{
6075
-          "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"nginx-1893747912737"</span>
6076
-        </span>}</span>,
6077
-        "<span class="hljs-attribute">destination</span>": <span class="hljs-value">{
6078
-          "<span class="hljs-attribute">serviceId</span>": <span class="hljs-value"><span class="hljs-string">"ruby1.9-1237471273"</span></span>,
6079
-          "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
6080
-        </span>}
6081
-        <span class="hljs-string">"policy"</span>: <span class="hljs-string">"round-robin"</span>
6082
-      </span>}
1235
+        "id": "53c4249f076573c0f4000001",
1236
+        "projectId": "myproject-1234123132",
1237
+        "source": {
1238
+          "serviceId": "nginx-1893747912737"
1239
+        },
1240
+        "destination": {
1241
+          "serviceId": "ruby1.9-1237471273",
1242
+          "port": 8080
1243
+        }
1244
+        "policy": "round-robin"
1245
+      }
6083 1246
     ]
6084
-  </span>}
6085
-</span>}
6086
-</pre>
6087
-                                                </small>
6088
-                                            </p>
6089
-                                        
6090
-                                    
6091
-                                
6092
-                            </div>
6093
-
6094
-                            
6095
-                        </div>
6096
-                    </div>
6097
-                </div>
6098
-            </div>
6099
-        </div>
6100
-    
6101
-        <div class="modal fade" tabindex="0" id="_template__templateID__delete">
6102
-            <div class="modal-dialog">
6103
-                <div class="modal-content">
6104
-                    <div class="modal-header">
6105
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6106
-                        <h4 class="modal-title" id="myModalLabel">
6107
-                            <span class="badge badge_delete">delete</span>
6108
-                            <span class="parent"></span>/template/{templateID}
6109
-                        </h4>
6110
-                    </div>
6111
-                    <div class="modal-body">
6112
-                        <div class="alert alert-info"><p>Delete a template</p>
6113
-</div>
6114
-
6115
-                        <!-- Nav tabs -->
6116
-                        <ul class="nav nav-tabs">
6117
-                            <li class="active">
6118
-                                <a href="#_template__templateID__delete_request" data-toggle="tab">Request</a>
6119
-                            </li>
6120
-                            
6121
-                                <li>
6122
-                                    <a href="#_template__templateID__delete_response" data-toggle="tab">Response</a>
6123
-                                </li>
6124
-                            
6125
-                        </ul>
6126
-
6127
-                        <!-- Tab panes -->
6128
-                        <div class="tab-content">
6129
-                            <div class="tab-pane active" id="_template__templateID__delete_request">
6130
-                                
6131
-                                    <h3>URI Parameters</h3>
6132
-                                    <ul>
6133
-                                        
6134
-                                            <li>
6135
-                                                <strong>templateID</strong>:
6136
-                                                <em>
6137
-                                                    
6138
-                                                        required
6139
-                                                    
6140
-                                                    (string)
6141
-                                                </em>
6142
-
6143
-                                                
6144
-                                            </li>
6145
-                                        
6146
-                                    </ul>
6147
-                                
6148
-
6149
-                                
6150
-
6151
-                                
6152
-
6153
-                                
6154
-                            </div>
6155
-
6156
-                            
6157
-                                <div class="tab-pane" id="_template__templateID__delete_response">
6158
-                                    
6159
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
6160
-                                        
6161
-
6162
-                                        
6163
-
6164
-                                        
6165
-                                            <h3>Body</h3>
6166
-                                            
6167
-                                                <p><strong>Type: application/json</strong></p>
6168
-
6169
-                                                
6170
-
6171
-                                                
6172
-                                                    <p>
6173
-                                                        <small>
6174
-                                                            <strong>Example</strong>:
6175
-                                                            <pre>{
6176
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
6177
-</span>}
6178
-</pre>
6179
-                                                        </small>
6180
-                                                    </p>
6181
-                                                
6182
-                                            
6183
-                                        
6184
-                                    
6185
-                                </div>
6186
-                            
6187
-                        </div>
6188
-                    </div>
6189
-                </div>
6190
-            </div>
6191
-        </div>
6192
-    
6193
-</div>
6194
-
6195
-
6196
-
6197
-                            </div>
6198
-                        </div>
6199
-                    </div>
6200
-                
6201
-                    <div class="panel panel-default">
6202
-                        <div class="panel-heading">
6203
-                            <h3 id="_pods" class="panel-title">/pods</h3>
6204
-                        </div>
6205
-
6206
-                        <div class="panel-body">
6207
-                            
6208
-
6209
-                            <div class="panel-group">
6210
-                                <div class="panel panel-white">
6211
-    <div class="panel-heading">
6212
-        <h4 class="panel-title">
6213
-            <a class="block collapsed" data-toggle="collapse" href="#panel__pods">
6214
-                <span class="methods">
6215
-                    
6216
-                        <span class="badge badge_get">get</span>
6217
-                    
6218
-                        <span class="badge badge_post">post</span>
6219
-                    
6220
-                </span>
6221
-                <span class="parent"></span>/pods
6222
-            </a>
6223
-        </h4>
6224
-    </div>
6225
-    <div id="panel__pods" class="panel-collapse collapse">
6226
-        <div class="panel-body">
6227
-            <div class="list-group">
6228
-                
6229
-                    <a href="#" data-toggle="modal" data-target="#_pods_get" class="list-group-item">
6230
-                        <span class="badge badge_get">get</span>
6231
-                        <div class="method_description">
6232
-                            <p>List all pods on this cluster</p>
6233
-
6234
-                        </div>
6235
-                        <div class="clearfix"></div>
6236
-                    </a>
6237
-                
6238
-                    <a href="#" data-toggle="modal" data-target="#_pods_post" class="list-group-item">
6239
-                        <span class="badge badge_post">post</span>
6240
-                        <div class="method_description">
6241
-                            <p>Create a new pod. currentState is ignored if present.</p>
6242
-
6243
-                        </div>
6244
-                        <div class="clearfix"></div>
6245
-                    </a>
6246
-                
6247
-            </div>
6248
-        </div>
6249
-    </div>
6250
-
6251
-    
6252
-        <div class="modal fade" tabindex="0" id="_pods_get">
6253
-            <div class="modal-dialog">
6254
-                <div class="modal-content">
6255
-                    <div class="modal-header">
6256
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6257
-                        <h4 class="modal-title" id="myModalLabel">
6258
-                            <span class="badge badge_get">get</span>
6259
-                            <span class="parent"></span>/pods
6260
-                        </h4>
6261
-                    </div>
6262
-                    <div class="modal-body">
6263
-                        <div class="alert alert-info"><p>List all pods on this cluster</p>
6264
-</div>
6265
-
6266
-                        <!-- Nav tabs -->
6267
-                        <ul class="nav nav-tabs">
6268
-                            <li class="active">
6269
-                                <a href="#_pods_get_request" data-toggle="tab">Request</a>
6270
-                            </li>
6271
-                            
6272
-                                <li>
6273
-                                    <a href="#_pods_get_response" data-toggle="tab">Response</a>
6274
-                                </li>
6275
-                            
6276
-                        </ul>
6277
-
6278
-                        <!-- Tab panes -->
6279
-                        <div class="tab-content">
6280
-                            <div class="tab-pane active" id="_pods_get_request">
6281
-                                
6282
-
6283
-                                
6284
-
6285
-                                
6286
-
6287
-                                
6288
-                            </div>
6289
-
6290
-                            
6291
-                                <div class="tab-pane" id="_pods_get_response">
6292
-                                    
6293
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
6294
-                                        
6295
-
6296
-                                        
6297
-
6298
-                                        
6299
-                                            <h3>Body</h3>
6300
-                                            
6301
-                                                <p><strong>Type: application/json</strong></p>
6302
-
6303
-                                                
6304
-
6305
-                                                
6306
-                                                    <p>
6307
-                                                        <small>
6308
-                                                            <strong>Example</strong>:
6309
-                                                            <pre>{
6310
-    "<span class="hljs-attribute">items</span>": <span class="hljs-value">[
1247
+  }
1248
+}
1249
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_template__templateID__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent></span>/template/{templateID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a template</p></div><ul class="nav nav-tabs"><li class=active><a href=#_template__templateID__delete_request data-toggle=tab>Request</a></li><li><a href=#_template__templateID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_template__templateID__delete_request><h3>URI Parameters</h3><ul><li><strong>templateID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_template__templateID__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1250
+    "apiVersion": "v1beta1",
1251
+    "creationTimestamp": null,
1252
+    "kind": "Status",
1253
+    "status": "success"
1254
+}
1255
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_pods class=panel-title>/pods</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__pods><span class=parent></span>/pods</a> <span class=methods><a href=# data-toggle=modal data-target=#_pods_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_pods_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__pods class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_pods_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all pods on this cluster</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_pods_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new pod. currentState is ignored if present.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_pods_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/pods</h4></div><div class=modal-body><div class="alert alert-info"><p>List all pods on this cluster</p></div><ul class="nav nav-tabs"><li class=active><a href=#_pods_get_request data-toggle=tab>Request</a></li><li><a href=#_pods_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_pods_get_request></div><div class=tab-pane id=_pods_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1256
+    "items": [
6311 1257
         {
6312
-            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"my-pod-1"</span></span>,
6313
-            "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
6314
-                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span></span>,
6315
-                "<span class="hljs-attribute">replicationController</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span>
6316
-            </span>}</span>,
6317
-            "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
6318
-              "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
6319
-                "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
6320
-                "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"my-pod-1"</span></span>,
6321
-                "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
6322
-                  "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
6323
-                  "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{
6324
-                    "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
6325
-                    "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
6326
-                  </span>}]
6327
-                </span>}
1258
+            "id": "my-pod-1",
1259
+            "labels": {
1260
+                "name": "testRun",
1261
+                "replicationController": "testRun"
1262
+            },
1263
+            "desiredState": {
1264
+              "manifest": {
1265
+                "version": "v1beta1",
1266
+                "id": "my-pod-1",
1267
+                "containers": [{
1268
+                  "image": "dockerfile/nginx",
1269
+                  "ports": [{
1270
+                    "hostPort": 8080,
1271
+                    "containerPort": 80
1272
+                  }]
1273
+                }
6328 1274
               }
6329 1275
             },
6330
-            <span class="hljs-string">"currentState"</span>: {
6331
-                "<span class="hljs-attribute">host</span>": <span class="hljs-value"><span class="hljs-string">"host-1"</span>
6332
-            </span>}
1276
+            "currentState": {
1277
+                "host": "host-1"
1278
+            }
6333 1279
         },
6334 1280
         {
6335
-            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"my-pod-2"</span></span>,
6336
-            "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
6337
-                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span></span>,
6338
-                "<span class="hljs-attribute">replicationController</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span>
6339
-            </span>}</span>,
6340
-            "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
6341
-              "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
6342
-                "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
6343
-                "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"my-pod-2"</span></span>,
6344
-                "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
6345
-                  "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
6346
-                  "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{
6347
-                    "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
6348
-                    "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
6349
-                  </span>}]
6350
-                </span>}
1281
+            "id": "my-pod-2",
1282
+            "labels": {
1283
+                "name": "testRun",
1284
+                "replicationController": "testRun"
1285
+            },
1286
+            "desiredState": {
1287
+              "manifest": {
1288
+                "version": "v1beta1",
1289
+                "id": "my-pod-2",
1290
+                "containers": [{
1291
+                  "image": "dockerfile/nginx",
1292
+                  "ports": [{
1293
+                    "hostPort": 8080,
1294
+                    "containerPort": 80
1295
+                  }]
1296
+                }
6351 1297
               }
6352 1298
             },
6353
-            <span class="hljs-string">"currentState"</span>: {
6354
-                "<span class="hljs-attribute">host</span>": <span class="hljs-value"><span class="hljs-string">"host-2"</span>
6355
-            </span>}
1299
+            "currentState": {
1300
+                "host": "host-2"
1301
+            }
6356 1302
         }
6357 1303
     ]
6358
-</span>}
6359
-</span></span></span></span></span></span></pre>
6360
-                                                        </small>
6361
-                                                    </p>
6362
-                                                
6363
-                                            
6364
-                                        
6365
-                                    
6366
-                                </div>
6367
-                            
6368
-                        </div>
6369
-                    </div>
6370
-                </div>
6371
-            </div>
6372
-        </div>
6373
-    
6374
-        <div class="modal fade" tabindex="0" id="_pods_post">
6375
-            <div class="modal-dialog">
6376
-                <div class="modal-content">
6377
-                    <div class="modal-header">
6378
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6379
-                        <h4 class="modal-title" id="myModalLabel">
6380
-                            <span class="badge badge_post">post</span>
6381
-                            <span class="parent"></span>/pods
6382
-                        </h4>
6383
-                    </div>
6384
-                    <div class="modal-body">
6385
-                        <div class="alert alert-info"><p>Create a new pod. currentState is ignored if present.</p>
6386
-</div>
6387
-
6388
-                        <!-- Nav tabs -->
6389
-                        <ul class="nav nav-tabs">
6390
-                            <li class="active">
6391
-                                <a href="#_pods_post_request" data-toggle="tab">Request</a>
6392
-                            </li>
6393
-                            
6394
-                        </ul>
6395
-
6396
-                        <!-- Tab panes -->
6397
-                        <div class="tab-content">
6398
-                            <div class="tab-pane active" id="_pods_post_request">
6399
-                                
6400
-
6401
-                                
6402
-
6403
-                                
6404
-
6405
-                                
6406
-                                    <h3>Body</h3>
6407
-                                    
6408
-                                        <p><strong>Type: application/json</strong></p>
6409
-                                        
6410
-
6411
-                                        
6412
-                                            <p>
6413
-                                                <small>
6414
-                                                    <strong>Schema</strong>:
6415
-                                                    <pre>{
6416
-  &quot;$schema&quot;: &quot;http://json-schema.org/draft-03/schema&quot;,
6417
-  &quot;type&quot;: &quot;object&quot;,
6418
-  &quot;required&quot;: false,
6419
-  &quot;description&quot;: &quot;Pod resource. A pod corresponds to a co-located group of [Docker containers](http://docker.io).&quot;,
6420
-  &quot;properties&quot;: {
6421
-    &quot;kind&quot;: {
6422
-      &quot;type&quot;: &quot;string&quot;,
6423
-      &quot;required&quot;: false
1304
+}
1305
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_pods_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/pods</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new pod. currentState is ignored if present.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_pods_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_pods_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
1306
+  "$schema": "http://json-schema.org/draft-03/schema",
1307
+  "type": "object",
1308
+  "required": false,
1309
+  "description": "Pod resource. A pod corresponds to a co-located group of [Docker containers](http://docker.io).",
1310
+  "properties": {
1311
+    "kind": {
1312
+      "type": "string",
1313
+      "required": false
6424 1314
     },
6425
-    &quot;id&quot;: {
6426
-      &quot;type&quot;: &quot;string&quot;,
6427
-      &quot;required&quot;: false
1315
+    "id": {
1316
+      "type": "string",
1317
+      "required": false
6428 1318
     },
6429
-    &quot;creationTimestamp&quot;: {
6430
-      &quot;type&quot;: &quot;string&quot;,
6431
-      &quot;required&quot;: false
1319
+    "creationTimestamp": {
1320
+      "type": "string",
1321
+      "required": false
6432 1322
     },
6433
-    &quot;selfLink&quot;: {
6434
-      &quot;type&quot;: &quot;string&quot;,
6435
-      &quot;required&quot;: false
1323
+    "selfLink": {
1324
+      "type": "string",
1325
+      "required": false
6436 1326
     },
6437
-    &quot;desiredState&quot;: {
6438
-      &quot;type&quot;: &quot;object&quot;,
6439
-      &quot;required&quot;: false,
6440
-      &quot;description&quot;: &quot;The desired configuration of the pod&quot;,
6441
-      &quot;properties&quot;: {
6442
-        &quot;manifest&quot;: {
6443
-          &quot;type&quot;: &quot;object&quot;,
6444
-          &quot;required&quot;: false,
6445
-          &quot;description&quot;: &quot;Manifest describing group of [Docker containers](http://docker.io); compatible with format used by [Google Cloud Platform&#x27;s container-vm images](https://developers.google.com/compute/docs/containers)&quot;
1327
+    "desiredState": {
1328
+      "type": "object",
1329
+      "required": false,
1330
+      "description": "The desired configuration of the pod",
1331
+      "properties": {
1332
+        "manifest": {
1333
+          "type": "object",
1334
+          "required": false,
1335
+          "description": "Manifest describing group of [Docker containers](http://docker.io); compatible with format used by [Google Cloud Platform&#x27;s container-vm images](https://developers.google.com/compute/docs/containers)"
6446 1336
         },
6447
-        &quot;status&quot;: {
6448
-          &quot;type&quot;: &quot;string&quot;,
6449
-          &quot;required&quot;: false,
6450
-          &quot;description&quot;: &quot;&quot;
1337
+        "status": {
1338
+          "type": "string",
1339
+          "required": false,
1340
+          "description": ""
6451 1341
         },
6452
-        &quot;host&quot;: {
6453
-          &quot;type&quot;: &quot;string&quot;,
6454
-          &quot;required&quot;: false,
6455
-          &quot;description&quot;: &quot;&quot;
1342
+        "host": {
1343
+          "type": "string",
1344
+          "required": false,
1345
+          "description": ""
6456 1346
         },
6457
-        &quot;hostIP&quot;: {
6458
-          &quot;type&quot;: &quot;string&quot;,
6459
-          &quot;required&quot;: false,
6460
-          &quot;description&quot;: &quot;&quot;
1347
+        "hostIP": {
1348
+          "type": "string",
1349
+          "required": false,
1350
+          "description": ""
6461 1351
         },
6462
-        &quot;info&quot;: {
6463
-          &quot;type&quot;: &quot;object&quot;,
6464
-          &quot;required&quot;: false,
6465
-          &quot;description&quot;: &quot;&quot;
1352
+        "info": {
1353
+          "type": "object",
1354
+          "required": false,
1355
+          "description": ""
6466 1356
         }
6467 1357
       }
6468 1358
     },
6469
-    &quot;currentState&quot;: {
6470
-      &quot;type&quot;: &quot;object&quot;,
6471
-      &quot;required&quot;: false,
6472
-      &quot;description&quot;: &quot;The current configuration and status of the pod. Fields in common with desiredState have the same meaning.&quot;,
6473
-      &quot;properties&quot;: {
6474
-        &quot;manifest&quot;: {
6475
-          &quot;type&quot;: &quot;object&quot;,
6476
-          &quot;required&quot;: false
1359
+    "currentState": {
1360
+      "type": "object",
1361
+      "required": false,
1362
+      "description": "The current configuration and status of the pod. Fields in common with desiredState have the same meaning.",
1363
+      "properties": {
1364
+        "manifest": {
1365
+          "type": "object",
1366
+          "required": false
6477 1367
         },
6478
-        &quot;status&quot;: {
6479
-          &quot;type&quot;: &quot;string&quot;,
6480
-          &quot;required&quot;: false
1368
+        "status": {
1369
+          "type": "string",
1370
+          "required": false
6481 1371
         },
6482
-        &quot;host&quot;: {
6483
-          &quot;type&quot;: &quot;string&quot;,
6484
-          &quot;required&quot;: false
1372
+        "host": {
1373
+          "type": "string",
1374
+          "required": false
6485 1375
         },
6486
-        &quot;hostIP&quot;: {
6487
-          &quot;type&quot;: &quot;string&quot;,
6488
-          &quot;required&quot;: false
1376
+        "hostIP": {
1377
+          "type": "string",
1378
+          "required": false
6489 1379
         },
6490
-        &quot;info&quot;: {
6491
-          &quot;type&quot;: &quot;object&quot;,
6492
-          &quot;required&quot;: false
1380
+        "info": {
1381
+          "type": "object",
1382
+          "required": false
6493 1383
         }
6494 1384
       }
6495 1385
     },
6496
-    &quot;labels&quot;: {
6497
-      &quot;type&quot;: &quot;object&quot;,
6498
-      &quot;required&quot;: false
1386
+    "labels": {
1387
+      "type": "object",
1388
+      "required": false
6499 1389
     }
6500 1390
   }
6501 1391
 }
6502
-</pre>
6503
-                                                </small>
6504
-                                            </p>
6505
-                                        
6506
-
6507
-                                        
6508
-                                            <p>
6509
-                                                <small>
6510
-                                                    <strong>Example</strong>:
6511
-                                                    <pre>{
6512
-  "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"php"</span></span>,
6513
-  "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
6514
-    "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
6515
-      "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
6516
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"php"</span></span>,
6517
-      "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
6518
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>,
6519
-        "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
6520
-        "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{
6521
-          "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>,
6522
-          "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
6523
-        </span>}]</span>,
6524
-        "<span class="hljs-attribute">livenessProbe</span>": <span class="hljs-value">{
6525
-          "<span class="hljs-attribute">enabled</span>": <span class="hljs-value"><span class="hljs-literal">true</span></span>,
6526
-          "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"http"</span></span>,
6527
-          "<span class="hljs-attribute">initialDelaySeconds</span>": <span class="hljs-value"><span class="hljs-number">30</span></span>,
6528
-          "<span class="hljs-attribute">httpGet</span>": <span class="hljs-value">{
6529
-            "<span class="hljs-attribute">path</span>": <span class="hljs-value"><span class="hljs-string">"/index.html"</span></span>,
6530
-            "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-string">"8080"</span>
6531
-          </span>}
6532
-        </span>}
6533
-      </span>}]
6534
-    </span>}
6535
-  </span>}</span>,
6536
-  "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
6537
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"foo"</span>
6538
-  </span>}
6539
-</span>}
6540
-    
6541
-</pre>
6542
-                                                </small>
6543
-                                            </p>
6544
-                                        
6545
-                                    
6546
-                                
6547
-                            </div>
6548
-
6549
-                            
6550
-                        </div>
6551
-                    </div>
6552
-                </div>
6553
-            </div>
6554
-        </div>
6555
-    
6556
-</div>
6557
-
6558
-
6559
-    <div class="panel panel-white">
6560
-    <div class="panel-heading">
6561
-        <h4 class="panel-title">
6562
-            <a class="block collapsed" data-toggle="collapse" href="#panel__pods__podId_">
6563
-                <span class="methods">
6564
-                    
6565
-                        <span class="badge badge_get">get</span>
6566
-                    
6567
-                        <span class="badge badge_put">put</span>
6568
-                    
6569
-                        <span class="badge badge_delete">delete</span>
6570
-                    
6571
-                </span>
6572
-                <span class="parent">/pods</span>/{podId}
6573
-            </a>
6574
-        </h4>
6575
-    </div>
6576
-    <div id="panel__pods__podId_" class="panel-collapse collapse">
6577
-        <div class="panel-body">
6578
-            <div class="list-group">
6579
-                
6580
-                    <a href="#" data-toggle="modal" data-target="#_pods__podId__get" class="list-group-item">
6581
-                        <span class="badge badge_get">get</span>
6582
-                        <div class="method_description">
6583
-                            <p>Get a specific pod</p>
6584
-
6585
-                        </div>
6586
-                        <div class="clearfix"></div>
6587
-                    </a>
6588
-                
6589
-                    <a href="#" data-toggle="modal" data-target="#_pods__podId__put" class="list-group-item">
6590
-                        <span class="badge badge_put">put</span>
6591
-                        <div class="method_description">
6592
-                            <p>Update a pod</p>
6593
-
6594
-                        </div>
6595
-                        <div class="clearfix"></div>
6596
-                    </a>
6597
-                
6598
-                    <a href="#" data-toggle="modal" data-target="#_pods__podId__delete" class="list-group-item">
6599
-                        <span class="badge badge_delete">delete</span>
6600
-                        <div class="method_description">
6601
-                            <p>Delete a specific pod</p>
6602
-
6603
-                        </div>
6604
-                        <div class="clearfix"></div>
6605
-                    </a>
6606
-                
6607
-            </div>
6608
-        </div>
6609
-    </div>
6610
-
6611
-    
6612
-        <div class="modal fade" tabindex="0" id="_pods__podId__get">
6613
-            <div class="modal-dialog">
6614
-                <div class="modal-content">
6615
-                    <div class="modal-header">
6616
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6617
-                        <h4 class="modal-title" id="myModalLabel">
6618
-                            <span class="badge badge_get">get</span>
6619
-                            <span class="parent">/pods</span>/{podId}
6620
-                        </h4>
6621
-                    </div>
6622
-                    <div class="modal-body">
6623
-                        <div class="alert alert-info"><p>Get a specific pod</p>
6624
-</div>
6625
-
6626
-                        <!-- Nav tabs -->
6627
-                        <ul class="nav nav-tabs">
6628
-                            <li class="active">
6629
-                                <a href="#_pods__podId__get_request" data-toggle="tab">Request</a>
6630
-                            </li>
6631
-                            
6632
-                                <li>
6633
-                                    <a href="#_pods__podId__get_response" data-toggle="tab">Response</a>
6634
-                                </li>
6635
-                            
6636
-                        </ul>
6637
-
6638
-                        <!-- Tab panes -->
6639
-                        <div class="tab-content">
6640
-                            <div class="tab-pane active" id="_pods__podId__get_request">
6641
-                                
6642
-                                    <h3>URI Parameters</h3>
6643
-                                    <ul>
6644
-                                        
6645
-                                            <li>
6646
-                                                <strong>podId</strong>:
6647
-                                                <em>
6648
-                                                    
6649
-                                                        required
6650
-                                                    
6651
-                                                    (string)
6652
-                                                </em>
6653
-
6654
-                                                
6655
-                                            </li>
6656
-                                        
6657
-                                    </ul>
6658
-                                
6659
-
6660
-                                
6661
-
6662
-                                
6663
-
6664
-                                
6665
-                            </div>
6666
-
6667
-                            
6668
-                                <div class="tab-pane" id="_pods__podId__get_response">
6669
-                                    
6670
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
6671
-                                        
6672
-
6673
-                                        
6674
-
6675
-                                        
6676
-                                            <h3>Body</h3>
6677
-                                            
6678
-                                                <p><strong>Type: application/json</strong></p>
6679
-
6680
-                                                
6681
-
6682
-                                                
6683
-                                                    <p>
6684
-                                                        <small>
6685
-                                                            <strong>Example</strong>:
6686
-                                                            <pre>{
6687
-  "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"php"</span></span>,
6688
-  "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
6689
-    "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
6690
-      "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
6691
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"php"</span></span>,
6692
-      "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
6693
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>,
6694
-        "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
6695
-        "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{
6696
-          "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>,
6697
-          "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
6698
-        </span>}]</span>,
6699
-        "<span class="hljs-attribute">livenessProbe</span>": <span class="hljs-value">{
6700
-          "<span class="hljs-attribute">enabled</span>": <span class="hljs-value"><span class="hljs-literal">true</span></span>,
6701
-          "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"http"</span></span>,
6702
-          "<span class="hljs-attribute">initialDelaySeconds</span>": <span class="hljs-value"><span class="hljs-number">30</span></span>,
6703
-          "<span class="hljs-attribute">httpGet</span>": <span class="hljs-value">{
6704
-            "<span class="hljs-attribute">path</span>": <span class="hljs-value"><span class="hljs-string">"/index.html"</span></span>,
6705
-            "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-string">"8080"</span>
6706
-          </span>}
6707
-        </span>}
6708
-      </span>}]
6709
-    </span>}
6710
-  </span>}</span>,
6711
-  "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
6712
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"foo"</span>
6713
-  </span>}
6714
-</span>}
1392
+</code></pre><p><strong>Example</strong>:</p><pre><code>{
1393
+  "id": "php",
1394
+  "desiredState": {
1395
+    "manifest": {
1396
+      "version": "v1beta1",
1397
+      "id": "php",
1398
+      "containers": [{
1399
+        "name": "nginx",
1400
+        "image": "dockerfile/nginx",
1401
+        "ports": [{
1402
+          "containerPort": 80,
1403
+          "hostPort": 8080
1404
+        }],
1405
+        "livenessProbe": {
1406
+          "enabled": true,
1407
+          "type": "http",
1408
+          "initialDelaySeconds": 30,
1409
+          "httpGet": {
1410
+            "path": "/index.html",
1411
+            "port": "8080"
1412
+          }
1413
+        }
1414
+      }]
1415
+    }
1416
+  },
1417
+  "labels": {
1418
+    "name": "foo"
1419
+  }
1420
+}
6715 1421
     
6716
-</pre>
6717
-                                                        </small>
6718
-                                                    </p>
6719
-                                                
6720
-                                            
6721
-                                        
6722
-                                    
6723
-                                </div>
6724
-                            
6725
-                        </div>
6726
-                    </div>
6727
-                </div>
6728
-            </div>
6729
-        </div>
1422
+</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__pods__podId_><span class=parent>/pods</span>/{podId}</a> <span class=methods><a href=# data-toggle=modal data-target=#_pods__podId__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_pods__podId__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_pods__podId__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__pods__podId_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_pods__podId__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific pod</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_pods__podId__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a pod</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_pods__podId__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific pod</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_pods__podId__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent>/pods</span>/{podId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific pod</p></div><ul class="nav nav-tabs"><li class=active><a href=#_pods__podId__get_request data-toggle=tab>Request</a></li><li><a href=#_pods__podId__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_pods__podId__get_request><h3>URI Parameters</h3><ul><li><strong>podId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_pods__podId__get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1423
+  "id": "php",
1424
+  "desiredState": {
1425
+    "manifest": {
1426
+      "version": "v1beta1",
1427
+      "id": "php",
1428
+      "containers": [{
1429
+        "name": "nginx",
1430
+        "image": "dockerfile/nginx",
1431
+        "ports": [{
1432
+          "containerPort": 80,
1433
+          "hostPort": 8080
1434
+        }],
1435
+        "livenessProbe": {
1436
+          "enabled": true,
1437
+          "type": "http",
1438
+          "initialDelaySeconds": 30,
1439
+          "httpGet": {
1440
+            "path": "/index.html",
1441
+            "port": "8080"
1442
+          }
1443
+        }
1444
+      }]
1445
+    }
1446
+  },
1447
+  "labels": {
1448
+    "name": "foo"
1449
+  }
1450
+}
6730 1451
     
6731
-        <div class="modal fade" tabindex="0" id="_pods__podId__put">
6732
-            <div class="modal-dialog">
6733
-                <div class="modal-content">
6734
-                    <div class="modal-header">
6735
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6736
-                        <h4 class="modal-title" id="myModalLabel">
6737
-                            <span class="badge badge_put">put</span>
6738
-                            <span class="parent">/pods</span>/{podId}
6739
-                        </h4>
6740
-                    </div>
6741
-                    <div class="modal-body">
6742
-                        <div class="alert alert-info"><p>Update a pod</p>
6743
-</div>
6744
-
6745
-                        <!-- Nav tabs -->
6746
-                        <ul class="nav nav-tabs">
6747
-                            <li class="active">
6748
-                                <a href="#_pods__podId__put_request" data-toggle="tab">Request</a>
6749
-                            </li>
6750
-                            
6751
-                        </ul>
6752
-
6753
-                        <!-- Tab panes -->
6754
-                        <div class="tab-content">
6755
-                            <div class="tab-pane active" id="_pods__podId__put_request">
6756
-                                
6757
-                                    <h3>URI Parameters</h3>
6758
-                                    <ul>
6759
-                                        
6760
-                                            <li>
6761
-                                                <strong>podId</strong>:
6762
-                                                <em>
6763
-                                                    
6764
-                                                        required
6765
-                                                    
6766
-                                                    (string)
6767
-                                                </em>
6768
-
6769
-                                                
6770
-                                            </li>
6771
-                                        
6772
-                                    </ul>
6773
-                                
6774
-
6775
-                                
6776
-
6777
-                                
6778
-
6779
-                                
6780
-                                    <h3>Body</h3>
6781
-                                    
6782
-                                        <p><strong>Type: application/json</strong></p>
6783
-                                        
6784
-
6785
-                                        
6786
-                                            <p>
6787
-                                                <small>
6788
-                                                    <strong>Schema</strong>:
6789
-                                                    <pre>{
6790
-  &quot;$schema&quot;: &quot;http://json-schema.org/draft-03/schema&quot;,
6791
-  &quot;type&quot;: &quot;object&quot;,
6792
-  &quot;required&quot;: false,
6793
-  &quot;description&quot;: &quot;Pod resource. A pod corresponds to a co-located group of [Docker containers](http://docker.io).&quot;,
6794
-  &quot;properties&quot;: {
6795
-    &quot;kind&quot;: {
6796
-      &quot;type&quot;: &quot;string&quot;,
6797
-      &quot;required&quot;: false
1452
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_pods__podId__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent>/pods</span>/{podId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a pod</p></div><ul class="nav nav-tabs"><li class=active><a href=#_pods__podId__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_pods__podId__put_request><h3>URI Parameters</h3><ul><li><strong>podId</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
1453
+  "$schema": "http://json-schema.org/draft-03/schema",
1454
+  "type": "object",
1455
+  "required": false,
1456
+  "description": "Pod resource. A pod corresponds to a co-located group of [Docker containers](http://docker.io).",
1457
+  "properties": {
1458
+    "kind": {
1459
+      "type": "string",
1460
+      "required": false
6798 1461
     },
6799
-    &quot;id&quot;: {
6800
-      &quot;type&quot;: &quot;string&quot;,
6801
-      &quot;required&quot;: false
1462
+    "id": {
1463
+      "type": "string",
1464
+      "required": false
6802 1465
     },
6803
-    &quot;creationTimestamp&quot;: {
6804
-      &quot;type&quot;: &quot;string&quot;,
6805
-      &quot;required&quot;: false
1466
+    "creationTimestamp": {
1467
+      "type": "string",
1468
+      "required": false
6806 1469
     },
6807
-    &quot;selfLink&quot;: {
6808
-      &quot;type&quot;: &quot;string&quot;,
6809
-      &quot;required&quot;: false
1470
+    "selfLink": {
1471
+      "type": "string",
1472
+      "required": false
6810 1473
     },
6811
-    &quot;desiredState&quot;: {
6812
-      &quot;type&quot;: &quot;object&quot;,
6813
-      &quot;required&quot;: false,
6814
-      &quot;description&quot;: &quot;The desired configuration of the pod&quot;,
6815
-      &quot;properties&quot;: {
6816
-        &quot;manifest&quot;: {
6817
-          &quot;type&quot;: &quot;object&quot;,
6818
-          &quot;required&quot;: false,
6819
-          &quot;description&quot;: &quot;Manifest describing group of [Docker containers](http://docker.io); compatible with format used by [Google Cloud Platform&#x27;s container-vm images](https://developers.google.com/compute/docs/containers)&quot;
1474
+    "desiredState": {
1475
+      "type": "object",
1476
+      "required": false,
1477
+      "description": "The desired configuration of the pod",
1478
+      "properties": {
1479
+        "manifest": {
1480
+          "type": "object",
1481
+          "required": false,
1482
+          "description": "Manifest describing group of [Docker containers](http://docker.io); compatible with format used by [Google Cloud Platform&#x27;s container-vm images](https://developers.google.com/compute/docs/containers)"
6820 1483
         },
6821
-        &quot;status&quot;: {
6822
-          &quot;type&quot;: &quot;string&quot;,
6823
-          &quot;required&quot;: false,
6824
-          &quot;description&quot;: &quot;&quot;
1484
+        "status": {
1485
+          "type": "string",
1486
+          "required": false,
1487
+          "description": ""
6825 1488
         },
6826
-        &quot;host&quot;: {
6827
-          &quot;type&quot;: &quot;string&quot;,
6828
-          &quot;required&quot;: false,
6829
-          &quot;description&quot;: &quot;&quot;
1489
+        "host": {
1490
+          "type": "string",
1491
+          "required": false,
1492
+          "description": ""
6830 1493
         },
6831
-        &quot;hostIP&quot;: {
6832
-          &quot;type&quot;: &quot;string&quot;,
6833
-          &quot;required&quot;: false,
6834
-          &quot;description&quot;: &quot;&quot;
1494
+        "hostIP": {
1495
+          "type": "string",
1496
+          "required": false,
1497
+          "description": ""
6835 1498
         },
6836
-        &quot;info&quot;: {
6837
-          &quot;type&quot;: &quot;object&quot;,
6838
-          &quot;required&quot;: false,
6839
-          &quot;description&quot;: &quot;&quot;
1499
+        "info": {
1500
+          "type": "object",
1501
+          "required": false,
1502
+          "description": ""
6840 1503
         }
6841 1504
       }
6842 1505
     },
6843
-    &quot;currentState&quot;: {
6844
-      &quot;type&quot;: &quot;object&quot;,
6845
-      &quot;required&quot;: false,
6846
-      &quot;description&quot;: &quot;The current configuration and status of the pod. Fields in common with desiredState have the same meaning.&quot;,
6847
-      &quot;properties&quot;: {
6848
-        &quot;manifest&quot;: {
6849
-          &quot;type&quot;: &quot;object&quot;,
6850
-          &quot;required&quot;: false
1506
+    "currentState": {
1507
+      "type": "object",
1508
+      "required": false,
1509
+      "description": "The current configuration and status of the pod. Fields in common with desiredState have the same meaning.",
1510
+      "properties": {
1511
+        "manifest": {
1512
+          "type": "object",
1513
+          "required": false
6851 1514
         },
6852
-        &quot;status&quot;: {
6853
-          &quot;type&quot;: &quot;string&quot;,
6854
-          &quot;required&quot;: false
1515
+        "status": {
1516
+          "type": "string",
1517
+          "required": false
6855 1518
         },
6856
-        &quot;host&quot;: {
6857
-          &quot;type&quot;: &quot;string&quot;,
6858
-          &quot;required&quot;: false
1519
+        "host": {
1520
+          "type": "string",
1521
+          "required": false
6859 1522
         },
6860
-        &quot;hostIP&quot;: {
6861
-          &quot;type&quot;: &quot;string&quot;,
6862
-          &quot;required&quot;: false
1523
+        "hostIP": {
1524
+          "type": "string",
1525
+          "required": false
6863 1526
         },
6864
-        &quot;info&quot;: {
6865
-          &quot;type&quot;: &quot;object&quot;,
6866
-          &quot;required&quot;: false
1527
+        "info": {
1528
+          "type": "object",
1529
+          "required": false
6867 1530
         }
6868 1531
       }
6869 1532
     },
6870
-    &quot;labels&quot;: {
6871
-      &quot;type&quot;: &quot;object&quot;,
6872
-      &quot;required&quot;: false
1533
+    "labels": {
1534
+      "type": "object",
1535
+      "required": false
6873 1536
     }
6874 1537
   }
6875 1538
 }
6876
-</pre>
6877
-                                                </small>
6878
-                                            </p>
6879
-                                        
6880
-
6881
-                                        
6882
-                                            <p>
6883
-                                                <small>
6884
-                                                    <strong>Example</strong>:
6885
-                                                    <pre>{
6886
-  "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"php"</span></span>,
6887
-  "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
6888
-    "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
6889
-      "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
6890
-      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"php"</span></span>,
6891
-      "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
6892
-        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>,
6893
-        "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
6894
-        "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{
6895
-          "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>,
6896
-          "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span>
6897
-        </span>}]</span>,
6898
-        "<span class="hljs-attribute">livenessProbe</span>": <span class="hljs-value">{
6899
-          "<span class="hljs-attribute">enabled</span>": <span class="hljs-value"><span class="hljs-literal">true</span></span>,
6900
-          "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"http"</span></span>,
6901
-          "<span class="hljs-attribute">initialDelaySeconds</span>": <span class="hljs-value"><span class="hljs-number">30</span></span>,
6902
-          "<span class="hljs-attribute">httpGet</span>": <span class="hljs-value">{
6903
-            "<span class="hljs-attribute">path</span>": <span class="hljs-value"><span class="hljs-string">"/index.html"</span></span>,
6904
-            "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-string">"8080"</span>
6905
-          </span>}
6906
-        </span>}
6907
-      </span>}]
6908
-    </span>}
6909
-  </span>}</span>,
6910
-  "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
6911
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"foo"</span>
6912
-  </span>}
6913
-</span>}
6914
-    
6915
-</pre>
6916
-                                                </small>
6917
-                                            </p>
6918
-                                        
6919
-                                    
6920
-                                
6921
-                            </div>
6922
-
6923
-                            
6924
-                        </div>
6925
-                    </div>
6926
-                </div>
6927
-            </div>
6928
-        </div>
6929
-    
6930
-        <div class="modal fade" tabindex="0" id="_pods__podId__delete">
6931
-            <div class="modal-dialog">
6932
-                <div class="modal-content">
6933
-                    <div class="modal-header">
6934
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
6935
-                        <h4 class="modal-title" id="myModalLabel">
6936
-                            <span class="badge badge_delete">delete</span>
6937
-                            <span class="parent">/pods</span>/{podId}
6938
-                        </h4>
6939
-                    </div>
6940
-                    <div class="modal-body">
6941
-                        <div class="alert alert-info"><p>Delete a specific pod</p>
6942
-</div>
6943
-
6944
-                        <!-- Nav tabs -->
6945
-                        <ul class="nav nav-tabs">
6946
-                            <li class="active">
6947
-                                <a href="#_pods__podId__delete_request" data-toggle="tab">Request</a>
6948
-                            </li>
6949
-                            
6950
-                                <li>
6951
-                                    <a href="#_pods__podId__delete_response" data-toggle="tab">Response</a>
6952
-                                </li>
6953
-                            
6954
-                        </ul>
6955
-
6956
-                        <!-- Tab panes -->
6957
-                        <div class="tab-content">
6958
-                            <div class="tab-pane active" id="_pods__podId__delete_request">
6959
-                                
6960
-                                    <h3>URI Parameters</h3>
6961
-                                    <ul>
6962
-                                        
6963
-                                            <li>
6964
-                                                <strong>podId</strong>:
6965
-                                                <em>
6966
-                                                    
6967
-                                                        required
6968
-                                                    
6969
-                                                    (string)
6970
-                                                </em>
6971
-
6972
-                                                
6973
-                                            </li>
6974
-                                        
6975
-                                    </ul>
6976
-                                
6977
-
6978
-                                
6979
-
6980
-                                
6981
-
6982
-                                
6983
-                            </div>
6984
-
6985
-                            
6986
-                                <div class="tab-pane" id="_pods__podId__delete_response">
6987
-                                    
6988
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
6989
-                                        
6990
-
6991
-                                        
6992
-
6993
-                                        
6994
-                                            <h3>Body</h3>
6995
-                                            
6996
-                                                <p><strong>Type: application/json</strong></p>
6997
-
6998
-                                                
6999
-
7000
-                                                
7001
-                                                    <p>
7002
-                                                        <small>
7003
-                                                            <strong>Example</strong>:
7004
-                                                            <pre>{ 
7005
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
7006
-</span>}
7007
-</pre>
7008
-                                                        </small>
7009
-                                                    </p>
7010
-                                                
7011
-                                            
7012
-                                        
7013
-                                    
7014
-                                </div>
7015
-                            
7016
-                        </div>
7017
-                    </div>
7018
-                </div>
7019
-            </div>
7020
-        </div>
7021
-    
7022
-</div>
7023
-
7024
-
7025
-
7026
-
7027
-
7028
-                            </div>
7029
-                        </div>
7030
-                    </div>
7031
-                
7032
-                    <div class="panel panel-default">
7033
-                        <div class="panel-heading">
7034
-                            <h3 id="_replicationControllers" class="panel-title">/replicationControllers</h3>
7035
-                        </div>
7036
-
7037
-                        <div class="panel-body">
7038
-                            
7039
-
7040
-                            <div class="panel-group">
7041
-                                <div class="panel panel-white">
7042
-    <div class="panel-heading">
7043
-        <h4 class="panel-title">
7044
-            <a class="block collapsed" data-toggle="collapse" href="#panel__replicationControllers">
7045
-                <span class="methods">
7046
-                    
7047
-                        <span class="badge badge_get">get</span>
7048
-                    
7049
-                        <span class="badge badge_post">post</span>
7050
-                    
7051
-                </span>
7052
-                <span class="parent"></span>/replicationControllers
7053
-            </a>
7054
-        </h4>
7055
-    </div>
7056
-    <div id="panel__replicationControllers" class="panel-collapse collapse">
7057
-        <div class="panel-body">
7058
-            <div class="list-group">
7059
-                
7060
-                    <a href="#" data-toggle="modal" data-target="#_replicationControllers_get" class="list-group-item">
7061
-                        <span class="badge badge_get">get</span>
7062
-                        <div class="method_description">
7063
-                            <p>List all replicationControllers on this cluster</p>
7064
-
7065
-                        </div>
7066
-                        <div class="clearfix"></div>
7067
-                    </a>
7068
-                
7069
-                    <a href="#" data-toggle="modal" data-target="#_replicationControllers_post" class="list-group-item">
7070
-                        <span class="badge badge_post">post</span>
7071
-                        <div class="method_description">
7072
-                            <p>Create a new controller. currentState is ignored if present.</p>
7073
-
7074
-                        </div>
7075
-                        <div class="clearfix"></div>
7076
-                    </a>
7077
-                
7078
-            </div>
7079
-        </div>
7080
-    </div>
7081
-
1539
+</code></pre><p><strong>Example</strong>:</p><pre><code>{
1540
+  "id": "php",
1541
+  "desiredState": {
1542
+    "manifest": {
1543
+      "version": "v1beta1",
1544
+      "id": "php",
1545
+      "containers": [{
1546
+        "name": "nginx",
1547
+        "image": "dockerfile/nginx",
1548
+        "ports": [{
1549
+          "containerPort": 80,
1550
+          "hostPort": 8080
1551
+        }],
1552
+        "livenessProbe": {
1553
+          "enabled": true,
1554
+          "type": "http",
1555
+          "initialDelaySeconds": 30,
1556
+          "httpGet": {
1557
+            "path": "/index.html",
1558
+            "port": "8080"
1559
+          }
1560
+        }
1561
+      }]
1562
+    }
1563
+  },
1564
+  "labels": {
1565
+    "name": "foo"
1566
+  }
1567
+}
7082 1568
     
7083
-        <div class="modal fade" tabindex="0" id="_replicationControllers_get">
7084
-            <div class="modal-dialog">
7085
-                <div class="modal-content">
7086
-                    <div class="modal-header">
7087
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7088
-                        <h4 class="modal-title" id="myModalLabel">
7089
-                            <span class="badge badge_get">get</span>
7090
-                            <span class="parent"></span>/replicationControllers
7091
-                        </h4>
7092
-                    </div>
7093
-                    <div class="modal-body">
7094
-                        <div class="alert alert-info"><p>List all replicationControllers on this cluster</p>
7095
-</div>
7096
-
7097
-                        <!-- Nav tabs -->
7098
-                        <ul class="nav nav-tabs">
7099
-                            <li class="active">
7100
-                                <a href="#_replicationControllers_get_request" data-toggle="tab">Request</a>
7101
-                            </li>
7102
-                            
7103
-                                <li>
7104
-                                    <a href="#_replicationControllers_get_response" data-toggle="tab">Response</a>
7105
-                                </li>
7106
-                            
7107
-                        </ul>
7108
-
7109
-                        <!-- Tab panes -->
7110
-                        <div class="tab-content">
7111
-                            <div class="tab-pane active" id="_replicationControllers_get_request">
7112
-                                
7113
-
7114
-                                
7115
-
7116
-                                
7117
-
7118
-                                
7119
-                            </div>
7120
-
7121
-                            
7122
-                                <div class="tab-pane" id="_replicationControllers_get_response">
7123
-                                    
7124
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
7125
-                                        
7126
-
7127
-                                        
7128
-
7129
-                                        
7130
-                                            <h3>Body</h3>
7131
-                                            
7132
-                                                <p><strong>Type: application/json</strong></p>
7133
-
7134
-                                                
7135
-
7136
-                                                
7137
-                                                    <p>
7138
-                                                        <small>
7139
-                                                            <strong>Example</strong>:
7140
-                                                            <pre>{
7141
-    "<span class="hljs-attribute">items</span>": <span class="hljs-value">[
1569
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_pods__podId__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent>/pods</span>/{podId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific pod</p></div><ul class="nav nav-tabs"><li class=active><a href=#_pods__podId__delete_request data-toggle=tab>Request</a></li><li><a href=#_pods__podId__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_pods__podId__delete_request><h3>URI Parameters</h3><ul><li><strong>podId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_pods__podId__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1570
+    "apiVersion": "v1beta1",
1571
+    "creationTimestamp": null,
1572
+    "kind": "Status",
1573
+    "status": "success"
1574
+}
1575
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_replicationControllers class=panel-title>/replicationControllers</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__replicationControllers><span class=parent></span>/replicationControllers</a> <span class=methods><a href=# data-toggle=modal data-target=#_replicationControllers_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_replicationControllers_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__replicationControllers class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_replicationControllers_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all replicationControllers on this cluster</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_replicationControllers_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new controller. currentState is ignored if present.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_replicationControllers_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/replicationControllers</h4></div><div class=modal-body><div class="alert alert-info"><p>List all replicationControllers on this cluster</p></div><ul class="nav nav-tabs"><li class=active><a href=#_replicationControllers_get_request data-toggle=tab>Request</a></li><li><a href=#_replicationControllers_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_replicationControllers_get_request></div><div class=tab-pane id=_replicationControllers_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1576
+    "items": [
7142 1577
         {
7143
-            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span></span>,
7144
-            "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7145
-                "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
7146
-                "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{
7147
-                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span>
7148
-                </span>}</span>,
7149
-                "<span class="hljs-attribute">podTemplate</span>": <span class="hljs-value">{
7150
-                    "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7151
-                        "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
7152
-                        "<span class="hljs-attribute">networkPorts</span>": <span class="hljs-value">[
1578
+            "id": "testRun",
1579
+            "desiredState": {
1580
+                "replicas": 2,
1581
+                "replicaSelector": {
1582
+                    "name": "testRun"
1583
+                },
1584
+                "podTemplate": {
1585
+                    "desiredState": {
1586
+                        "image": "dockerfile/nginx",
1587
+                        "networkPorts": [
7153 1588
                             {
7154
-                                "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
7155
-                                "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
7156
-                            </span>}
1589
+                                "hostPort": 8080,
1590
+                                "containerPort": 80
1591
+                            }
7157 1592
                         ]
7158
-                    </span>}</span>,
7159
-                    "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
7160
-                        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span>
7161
-                    </span>}
7162
-                </span>}
7163
-            </span>}</span>,
7164
-            "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
7165
-                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"testRun"</span>
7166
-            </span>}
7167
-        </span>}
1593
+                    },
1594
+                    "labels": {
1595
+                        "name": "testRun"
1596
+                    }
1597
+                }
1598
+            },
1599
+            "labels": {
1600
+                "name": "testRun"
1601
+            }
1602
+        }
7168 1603
     ]
7169
-</span>}</pre>
7170
-                                                        </small>
7171
-                                                    </p>
7172
-                                                
7173
-                                            
7174
-                                        
7175
-                                    
7176
-                                </div>
7177
-                            
7178
-                        </div>
7179
-                    </div>
7180
-                </div>
7181
-            </div>
7182
-        </div>
7183
-    
7184
-        <div class="modal fade" tabindex="0" id="_replicationControllers_post">
7185
-            <div class="modal-dialog">
7186
-                <div class="modal-content">
7187
-                    <div class="modal-header">
7188
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7189
-                        <h4 class="modal-title" id="myModalLabel">
7190
-                            <span class="badge badge_post">post</span>
7191
-                            <span class="parent"></span>/replicationControllers
7192
-                        </h4>
7193
-                    </div>
7194
-                    <div class="modal-body">
7195
-                        <div class="alert alert-info"><p>Create a new controller. currentState is ignored if present.</p>
7196
-</div>
7197
-
7198
-                        <!-- Nav tabs -->
7199
-                        <ul class="nav nav-tabs">
7200
-                            <li class="active">
7201
-                                <a href="#_replicationControllers_post_request" data-toggle="tab">Request</a>
7202
-                            </li>
7203
-                            
7204
-                        </ul>
7205
-
7206
-                        <!-- Tab panes -->
7207
-                        <div class="tab-content">
7208
-                            <div class="tab-pane active" id="_replicationControllers_post_request">
7209
-                                
7210
-
7211
-                                
7212
-
7213
-                                
7214
-
7215
-                                
7216
-                                    <h3>Body</h3>
7217
-                                    
7218
-                                        <p><strong>Type: application/json</strong></p>
7219
-                                        
7220
-
7221
-                                        
7222
-                                            <p>
7223
-                                                <small>
7224
-                                                    <strong>Schema</strong>:
7225
-                                                    <pre>{
7226
-  &quot;$schema&quot;: &quot;http://json-schema.org/draft-03/schema&quot;,
7227
-  &quot;type&quot;: &quot;object&quot;,
7228
-  &quot;required&quot;: false,
7229
-  &quot;description&quot;: &quot;A replicationController resource. A replicationController helps to create and manage a set of pods. It acts as a factory to create new pods based on a template. It ensures that there are a specific number of pods running. If fewer pods are running than &#x60;replicas&#x60; then the needed pods are generated using &#x60;podTemplate&#x60;. If more pods are running than &#x60;replicas&#x60;, then excess pods are deleted.&quot;,
7230
-  &quot;properties&quot;: {
7231
-    &quot;kind&quot;: {
7232
-      &quot;type&quot;: &quot;string&quot;,
7233
-      &quot;required&quot;: false
1604
+}</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_replicationControllers_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/replicationControllers</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new controller. currentState is ignored if present.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_replicationControllers_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_replicationControllers_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
1605
+  "$schema": "http://json-schema.org/draft-03/schema",
1606
+  "type": "object",
1607
+  "required": false,
1608
+  "description": "A replicationController resource. A replicationController helps to create and manage a set of pods. It acts as a factory to create new pods based on a template. It ensures that there are a specific number of pods running. If fewer pods are running than &#x60;replicas&#x60; then the needed pods are generated using &#x60;podTemplate&#x60;. If more pods are running than &#x60;replicas&#x60;, then excess pods are deleted.",
1609
+  "properties": {
1610
+    "kind": {
1611
+      "type": "string",
1612
+      "required": false
7234 1613
     },
7235
-    &quot;id&quot;: {
7236
-      &quot;type&quot;: &quot;string&quot;,
7237
-      &quot;required&quot;: false
1614
+    "id": {
1615
+      "type": "string",
1616
+      "required": false
7238 1617
     },
7239
-    &quot;creationTimestamp&quot;: {
7240
-      &quot;type&quot;: &quot;string&quot;,
7241
-      &quot;required&quot;: false
1618
+    "creationTimestamp": {
1619
+      "type": "string",
1620
+      "required": false
7242 1621
     },
7243
-    &quot;selfLink&quot;: {
7244
-      &quot;type&quot;: &quot;string&quot;,
7245
-      &quot;required&quot;: false
1622
+    "selfLink": {
1623
+      "type": "string",
1624
+      "required": false
7246 1625
     },
7247
-    &quot;desiredState&quot;: {
7248
-      &quot;type&quot;: &quot;object&quot;,
7249
-      &quot;required&quot;: false,
7250
-      &quot;description&quot;: &quot;The desired configuration of the replicationController&quot;,
7251
-      &quot;properties&quot;: {
7252
-        &quot;replicas&quot;: {
7253
-          &quot;type&quot;: &quot;number&quot;,
7254
-          &quot;required&quot;: false,
7255
-          &quot;description&quot;: &quot;Number of pods desired in the set&quot;
1626
+    "desiredState": {
1627
+      "type": "object",
1628
+      "required": false,
1629
+      "description": "The desired configuration of the replicationController",
1630
+      "properties": {
1631
+        "replicas": {
1632
+          "type": "number",
1633
+          "required": false,
1634
+          "description": "Number of pods desired in the set"
7256 1635
         },
7257
-        &quot;replicaSelector&quot;: {
7258
-          &quot;type&quot;: &quot;object&quot;,
7259
-          &quot;required&quot;: false,
7260
-          &quot;description&quot;: &quot;Required labels used to identify pods in the set&quot;
1636
+        "replicaSelector": {
1637
+          "type": "object",
1638
+          "required": false,
1639
+          "description": "Required labels used to identify pods in the set"
7261 1640
         },
7262
-        &quot;podTemplate&quot;: {
7263
-          &quot;type&quot;: &quot;object&quot;,
7264
-          &quot;required&quot;: false,
7265
-          &quot;description&quot;: &quot;Template from which to create new pods, as necessary. Identical to pod schema.&quot;
1641
+        "podTemplate": {
1642
+          "type": "object",
1643
+          "required": false,
1644
+          "description": "Template from which to create new pods, as necessary. Identical to pod schema."
7266 1645
         }
7267 1646
       }
7268 1647
     },
7269
-    &quot;labels&quot;: {
7270
-      &quot;type&quot;: &quot;object&quot;,
7271
-      &quot;required&quot;: false
1648
+    "labels": {
1649
+      "type": "object",
1650
+      "required": false
7272 1651
     }
7273 1652
   }
7274 1653
 }
7275
-</pre>
7276
-                                                </small>
7277
-                                            </p>
7278
-                                        
7279
-
7280
-                                        
7281
-                                            <p>
7282
-                                                <small>
7283
-                                                    <strong>Example</strong>:
7284
-                                                    <pre>  {
7285
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"nginxController"</span></span>,
7286
-    "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7287
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
7288
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}</span>,
7289
-      "<span class="hljs-attribute">podTemplate</span>": <span class="hljs-value">{
7290
-        "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7291
-           "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
7292
-             "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
7293
-             "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"nginxController"</span></span>,
7294
-             "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
7295
-               "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>,
7296
-               "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
7297
-               "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
7298
-             </span>}]
7299
-           </span>}
7300
-         </span>}</span>,
7301
-         "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}
7302
-        </span>}</span>}</span>,
7303
-    "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}
7304
-  </span>}
7305
-</pre>
7306
-                                                </small>
7307
-                                            </p>
7308
-                                        
7309
-                                    
7310
-                                
7311
-                            </div>
7312
-
7313
-                            
7314
-                        </div>
7315
-                    </div>
7316
-                </div>
7317
-            </div>
7318
-        </div>
7319
-    
7320
-</div>
7321
-
7322
-
7323
-    <div class="panel panel-white">
7324
-    <div class="panel-heading">
7325
-        <h4 class="panel-title">
7326
-            <a class="block collapsed" data-toggle="collapse" href="#panel__replicationControllers__controllerId_">
7327
-                <span class="methods">
7328
-                    
7329
-                        <span class="badge badge_get">get</span>
7330
-                    
7331
-                        <span class="badge badge_put">put</span>
7332
-                    
7333
-                        <span class="badge badge_delete">delete</span>
7334
-                    
7335
-                </span>
7336
-                <span class="parent">/replicationControllers</span>/{controllerId}
7337
-            </a>
7338
-        </h4>
7339
-    </div>
7340
-    <div id="panel__replicationControllers__controllerId_" class="panel-collapse collapse">
7341
-        <div class="panel-body">
7342
-            <div class="list-group">
7343
-                
7344
-                    <a href="#" data-toggle="modal" data-target="#_replicationControllers__controllerId__get" class="list-group-item">
7345
-                        <span class="badge badge_get">get</span>
7346
-                        <div class="method_description">
7347
-                            <p>Get a specific controller</p>
7348
-
7349
-                        </div>
7350
-                        <div class="clearfix"></div>
7351
-                    </a>
7352
-                
7353
-                    <a href="#" data-toggle="modal" data-target="#_replicationControllers__controllerId__put" class="list-group-item">
7354
-                        <span class="badge badge_put">put</span>
7355
-                        <div class="method_description">
7356
-                            <p>Update a controller</p>
7357
-
7358
-                        </div>
7359
-                        <div class="clearfix"></div>
7360
-                    </a>
7361
-                
7362
-                    <a href="#" data-toggle="modal" data-target="#_replicationControllers__controllerId__delete" class="list-group-item">
7363
-                        <span class="badge badge_delete">delete</span>
7364
-                        <div class="method_description">
7365
-                            <p>Delete a specific controller</p>
7366
-
7367
-                        </div>
7368
-                        <div class="clearfix"></div>
7369
-                    </a>
7370
-                
7371
-            </div>
7372
-        </div>
7373
-    </div>
7374
-
7375
-    
7376
-        <div class="modal fade" tabindex="0" id="_replicationControllers__controllerId__get">
7377
-            <div class="modal-dialog">
7378
-                <div class="modal-content">
7379
-                    <div class="modal-header">
7380
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7381
-                        <h4 class="modal-title" id="myModalLabel">
7382
-                            <span class="badge badge_get">get</span>
7383
-                            <span class="parent">/replicationControllers</span>/{controllerId}
7384
-                        </h4>
7385
-                    </div>
7386
-                    <div class="modal-body">
7387
-                        <div class="alert alert-info"><p>Get a specific controller</p>
7388
-</div>
7389
-
7390
-                        <!-- Nav tabs -->
7391
-                        <ul class="nav nav-tabs">
7392
-                            <li class="active">
7393
-                                <a href="#_replicationControllers__controllerId__get_request" data-toggle="tab">Request</a>
7394
-                            </li>
7395
-                            
7396
-                                <li>
7397
-                                    <a href="#_replicationControllers__controllerId__get_response" data-toggle="tab">Response</a>
7398
-                                </li>
7399
-                            
7400
-                        </ul>
7401
-
7402
-                        <!-- Tab panes -->
7403
-                        <div class="tab-content">
7404
-                            <div class="tab-pane active" id="_replicationControllers__controllerId__get_request">
7405
-                                
7406
-                                    <h3>URI Parameters</h3>
7407
-                                    <ul>
7408
-                                        
7409
-                                            <li>
7410
-                                                <strong>controllerId</strong>:
7411
-                                                <em>
7412
-                                                    
7413
-                                                        required
7414
-                                                    
7415
-                                                    (string)
7416
-                                                </em>
7417
-
7418
-                                                
7419
-                                            </li>
7420
-                                        
7421
-                                    </ul>
7422
-                                
7423
-
7424
-                                
7425
-
7426
-                                
7427
-
7428
-                                
7429
-                            </div>
7430
-
7431
-                            
7432
-                                <div class="tab-pane" id="_replicationControllers__controllerId__get_response">
7433
-                                    
7434
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
7435
-                                        
7436
-
7437
-                                        
7438
-
7439
-                                        
7440
-                                            <h3>Body</h3>
7441
-                                            
7442
-                                                <p><strong>Type: application/json</strong></p>
7443
-
7444
-                                                
7445
-
7446
-                                                
7447
-                                                    <p>
7448
-                                                        <small>
7449
-                                                            <strong>Example</strong>:
7450
-                                                            <pre>  {
7451
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"nginxController"</span></span>,
7452
-    "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7453
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
7454
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}</span>,
7455
-      "<span class="hljs-attribute">podTemplate</span>": <span class="hljs-value">{
7456
-        "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7457
-           "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
7458
-             "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
7459
-             "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"nginxController"</span></span>,
7460
-             "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
7461
-               "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>,
7462
-               "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
7463
-               "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
7464
-             </span>}]
7465
-           </span>}
7466
-         </span>}</span>,
7467
-         "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}
7468
-        </span>}</span>}</span>,
7469
-    "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}
7470
-  </span>}
7471
-</pre>
7472
-                                                        </small>
7473
-                                                    </p>
7474
-                                                
7475
-                                            
7476
-                                        
7477
-                                    
7478
-                                </div>
7479
-                            
7480
-                        </div>
7481
-                    </div>
7482
-                </div>
7483
-            </div>
7484
-        </div>
7485
-    
7486
-        <div class="modal fade" tabindex="0" id="_replicationControllers__controllerId__put">
7487
-            <div class="modal-dialog">
7488
-                <div class="modal-content">
7489
-                    <div class="modal-header">
7490
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7491
-                        <h4 class="modal-title" id="myModalLabel">
7492
-                            <span class="badge badge_put">put</span>
7493
-                            <span class="parent">/replicationControllers</span>/{controllerId}
7494
-                        </h4>
7495
-                    </div>
7496
-                    <div class="modal-body">
7497
-                        <div class="alert alert-info"><p>Update a controller</p>
7498
-</div>
7499
-
7500
-                        <!-- Nav tabs -->
7501
-                        <ul class="nav nav-tabs">
7502
-                            <li class="active">
7503
-                                <a href="#_replicationControllers__controllerId__put_request" data-toggle="tab">Request</a>
7504
-                            </li>
7505
-                            
7506
-                        </ul>
7507
-
7508
-                        <!-- Tab panes -->
7509
-                        <div class="tab-content">
7510
-                            <div class="tab-pane active" id="_replicationControllers__controllerId__put_request">
7511
-                                
7512
-                                    <h3>URI Parameters</h3>
7513
-                                    <ul>
7514
-                                        
7515
-                                            <li>
7516
-                                                <strong>controllerId</strong>:
7517
-                                                <em>
7518
-                                                    
7519
-                                                        required
7520
-                                                    
7521
-                                                    (string)
7522
-                                                </em>
7523
-
7524
-                                                
7525
-                                            </li>
7526
-                                        
7527
-                                    </ul>
7528
-                                
7529
-
7530
-                                
7531
-
7532
-                                
7533
-
7534
-                                
7535
-                                    <h3>Body</h3>
7536
-                                    
7537
-                                        <p><strong>Type: application/json</strong></p>
7538
-                                        
7539
-
7540
-                                        
7541
-                                            <p>
7542
-                                                <small>
7543
-                                                    <strong>Schema</strong>:
7544
-                                                    <pre>{
7545
-  &quot;$schema&quot;: &quot;http://json-schema.org/draft-03/schema&quot;,
7546
-  &quot;type&quot;: &quot;object&quot;,
7547
-  &quot;required&quot;: false,
7548
-  &quot;description&quot;: &quot;A replicationController resource. A replicationController helps to create and manage a set of pods. It acts as a factory to create new pods based on a template. It ensures that there are a specific number of pods running. If fewer pods are running than &#x60;replicas&#x60; then the needed pods are generated using &#x60;podTemplate&#x60;. If more pods are running than &#x60;replicas&#x60;, then excess pods are deleted.&quot;,
7549
-  &quot;properties&quot;: {
7550
-    &quot;kind&quot;: {
7551
-      &quot;type&quot;: &quot;string&quot;,
7552
-      &quot;required&quot;: false
1654
+</code></pre><p><strong>Example</strong>:</p><pre><code>  {
1655
+    "id": "nginxController",
1656
+    "desiredState": {
1657
+      "replicas": 2,
1658
+      "replicaSelector": {"name": "nginx"},
1659
+      "podTemplate": {
1660
+        "desiredState": {
1661
+           "manifest": {
1662
+             "version": "v1beta1",
1663
+             "id": "nginxController",
1664
+             "containers": [{
1665
+               "name": "nginx",
1666
+               "image": "dockerfile/nginx",
1667
+               "ports": [{"containerPort": 80, "hostPort": 8080}]
1668
+             }]
1669
+           }
1670
+         },
1671
+         "labels": {"name": "nginx"}
1672
+        }},
1673
+    "labels": {"name": "nginx"}
1674
+  }
1675
+</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__replicationControllers__controllerId_><span class=parent>/replicationControllers</span>/{controllerId}</a> <span class=methods><a href=# data-toggle=modal data-target=#_replicationControllers__controllerId__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_replicationControllers__controllerId__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_replicationControllers__controllerId__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__replicationControllers__controllerId_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_replicationControllers__controllerId__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific controller</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_replicationControllers__controllerId__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a controller</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_replicationControllers__controllerId__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific controller</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_replicationControllers__controllerId__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent>/replicationControllers</span>/{controllerId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific controller</p></div><ul class="nav nav-tabs"><li class=active><a href=#_replicationControllers__controllerId__get_request data-toggle=tab>Request</a></li><li><a href=#_replicationControllers__controllerId__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_replicationControllers__controllerId__get_request><h3>URI Parameters</h3><ul><li><strong>controllerId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_replicationControllers__controllerId__get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>  {
1676
+    "id": "nginxController",
1677
+    "desiredState": {
1678
+      "replicas": 2,
1679
+      "replicaSelector": {"name": "nginx"},
1680
+      "podTemplate": {
1681
+        "desiredState": {
1682
+           "manifest": {
1683
+             "version": "v1beta1",
1684
+             "id": "nginxController",
1685
+             "containers": [{
1686
+               "name": "nginx",
1687
+               "image": "dockerfile/nginx",
1688
+               "ports": [{"containerPort": 80, "hostPort": 8080}]
1689
+             }]
1690
+           }
1691
+         },
1692
+         "labels": {"name": "nginx"}
1693
+        }},
1694
+    "labels": {"name": "nginx"}
1695
+  }
1696
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_replicationControllers__controllerId__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent>/replicationControllers</span>/{controllerId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a controller</p></div><ul class="nav nav-tabs"><li class=active><a href=#_replicationControllers__controllerId__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_replicationControllers__controllerId__put_request><h3>URI Parameters</h3><ul><li><strong>controllerId</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
1697
+  "$schema": "http://json-schema.org/draft-03/schema",
1698
+  "type": "object",
1699
+  "required": false,
1700
+  "description": "A replicationController resource. A replicationController helps to create and manage a set of pods. It acts as a factory to create new pods based on a template. It ensures that there are a specific number of pods running. If fewer pods are running than &#x60;replicas&#x60; then the needed pods are generated using &#x60;podTemplate&#x60;. If more pods are running than &#x60;replicas&#x60;, then excess pods are deleted.",
1701
+  "properties": {
1702
+    "kind": {
1703
+      "type": "string",
1704
+      "required": false
7553 1705
     },
7554
-    &quot;id&quot;: {
7555
-      &quot;type&quot;: &quot;string&quot;,
7556
-      &quot;required&quot;: false
1706
+    "id": {
1707
+      "type": "string",
1708
+      "required": false
7557 1709
     },
7558
-    &quot;creationTimestamp&quot;: {
7559
-      &quot;type&quot;: &quot;string&quot;,
7560
-      &quot;required&quot;: false
1710
+    "creationTimestamp": {
1711
+      "type": "string",
1712
+      "required": false
7561 1713
     },
7562
-    &quot;selfLink&quot;: {
7563
-      &quot;type&quot;: &quot;string&quot;,
7564
-      &quot;required&quot;: false
1714
+    "selfLink": {
1715
+      "type": "string",
1716
+      "required": false
7565 1717
     },
7566
-    &quot;desiredState&quot;: {
7567
-      &quot;type&quot;: &quot;object&quot;,
7568
-      &quot;required&quot;: false,
7569
-      &quot;description&quot;: &quot;The desired configuration of the replicationController&quot;,
7570
-      &quot;properties&quot;: {
7571
-        &quot;replicas&quot;: {
7572
-          &quot;type&quot;: &quot;number&quot;,
7573
-          &quot;required&quot;: false,
7574
-          &quot;description&quot;: &quot;Number of pods desired in the set&quot;
1718
+    "desiredState": {
1719
+      "type": "object",
1720
+      "required": false,
1721
+      "description": "The desired configuration of the replicationController",
1722
+      "properties": {
1723
+        "replicas": {
1724
+          "type": "number",
1725
+          "required": false,
1726
+          "description": "Number of pods desired in the set"
7575 1727
         },
7576
-        &quot;replicaSelector&quot;: {
7577
-          &quot;type&quot;: &quot;object&quot;,
7578
-          &quot;required&quot;: false,
7579
-          &quot;description&quot;: &quot;Required labels used to identify pods in the set&quot;
1728
+        "replicaSelector": {
1729
+          "type": "object",
1730
+          "required": false,
1731
+          "description": "Required labels used to identify pods in the set"
7580 1732
         },
7581
-        &quot;podTemplate&quot;: {
7582
-          &quot;type&quot;: &quot;object&quot;,
7583
-          &quot;required&quot;: false,
7584
-          &quot;description&quot;: &quot;Template from which to create new pods, as necessary. Identical to pod schema.&quot;
1733
+        "podTemplate": {
1734
+          "type": "object",
1735
+          "required": false,
1736
+          "description": "Template from which to create new pods, as necessary. Identical to pod schema."
7585 1737
         }
7586 1738
       }
7587 1739
     },
7588
-    &quot;labels&quot;: {
7589
-      &quot;type&quot;: &quot;object&quot;,
7590
-      &quot;required&quot;: false
1740
+    "labels": {
1741
+      "type": "object",
1742
+      "required": false
7591 1743
     }
7592 1744
   }
7593 1745
 }
7594
-</pre>
7595
-                                                </small>
7596
-                                            </p>
7597
-                                        
7598
-
7599
-                                        
7600
-                                            <p>
7601
-                                                <small>
7602
-                                                    <strong>Example</strong>:
7603
-                                                    <pre>  {
7604
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"nginxController"</span></span>,
7605
-    "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7606
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
7607
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}</span>,
7608
-      "<span class="hljs-attribute">podTemplate</span>": <span class="hljs-value">{
7609
-        "<span class="hljs-attribute">desiredState</span>": <span class="hljs-value">{
7610
-           "<span class="hljs-attribute">manifest</span>": <span class="hljs-value">{
7611
-             "<span class="hljs-attribute">version</span>": <span class="hljs-value"><span class="hljs-string">"v1beta1"</span></span>,
7612
-             "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"nginxController"</span></span>,
7613
-             "<span class="hljs-attribute">containers</span>": <span class="hljs-value">[{
7614
-               "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>,
7615
-               "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"dockerfile/nginx"</span></span>,
7616
-               "<span class="hljs-attribute">ports</span>": <span class="hljs-value">[{"<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span></span>, "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>}]
7617
-             </span>}]
7618
-           </span>}
7619
-         </span>}</span>,
7620
-         "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}
7621
-        </span>}</span>}</span>,
7622
-    "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span></span>}
7623
-  </span>}
7624
-</pre>
7625
-                                                </small>
7626
-                                            </p>
7627
-                                        
7628
-                                    
7629
-                                
7630
-                            </div>
7631
-
7632
-                            
7633
-                        </div>
7634
-                    </div>
7635
-                </div>
7636
-            </div>
7637
-        </div>
7638
-    
7639
-        <div class="modal fade" tabindex="0" id="_replicationControllers__controllerId__delete">
7640
-            <div class="modal-dialog">
7641
-                <div class="modal-content">
7642
-                    <div class="modal-header">
7643
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7644
-                        <h4 class="modal-title" id="myModalLabel">
7645
-                            <span class="badge badge_delete">delete</span>
7646
-                            <span class="parent">/replicationControllers</span>/{controllerId}
7647
-                        </h4>
7648
-                    </div>
7649
-                    <div class="modal-body">
7650
-                        <div class="alert alert-info"><p>Delete a specific controller</p>
7651
-</div>
7652
-
7653
-                        <!-- Nav tabs -->
7654
-                        <ul class="nav nav-tabs">
7655
-                            <li class="active">
7656
-                                <a href="#_replicationControllers__controllerId__delete_request" data-toggle="tab">Request</a>
7657
-                            </li>
7658
-                            
7659
-                                <li>
7660
-                                    <a href="#_replicationControllers__controllerId__delete_response" data-toggle="tab">Response</a>
7661
-                                </li>
7662
-                            
7663
-                        </ul>
7664
-
7665
-                        <!-- Tab panes -->
7666
-                        <div class="tab-content">
7667
-                            <div class="tab-pane active" id="_replicationControllers__controllerId__delete_request">
7668
-                                
7669
-                                    <h3>URI Parameters</h3>
7670
-                                    <ul>
7671
-                                        
7672
-                                            <li>
7673
-                                                <strong>controllerId</strong>:
7674
-                                                <em>
7675
-                                                    
7676
-                                                        required
7677
-                                                    
7678
-                                                    (string)
7679
-                                                </em>
7680
-
7681
-                                                
7682
-                                            </li>
7683
-                                        
7684
-                                    </ul>
7685
-                                
7686
-
7687
-                                
7688
-
7689
-                                
7690
-
7691
-                                
7692
-                            </div>
7693
-
7694
-                            
7695
-                                <div class="tab-pane" id="_replicationControllers__controllerId__delete_response">
7696
-                                    
7697
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
7698
-                                        
7699
-
7700
-                                        
7701
-
7702
-                                        
7703
-                                            <h3>Body</h3>
7704
-                                            
7705
-                                                <p><strong>Type: application/json</strong></p>
7706
-
7707
-                                                
7708
-
7709
-                                                
7710
-                                                    <p>
7711
-                                                        <small>
7712
-                                                            <strong>Example</strong>:
7713
-                                                            <pre>{ 
7714
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
7715
-</span>}
7716
-</pre>
7717
-                                                        </small>
7718
-                                                    </p>
7719
-                                                
7720
-                                            
7721
-                                        
7722
-                                    
7723
-                                </div>
7724
-                            
7725
-                        </div>
7726
-                    </div>
7727
-                </div>
7728
-            </div>
7729
-        </div>
7730
-    
7731
-</div>
7732
-
7733
-
7734
-
7735
-
7736
-
7737
-                            </div>
7738
-                        </div>
7739
-                    </div>
7740
-                
7741
-                    <div class="panel panel-default">
7742
-                        <div class="panel-heading">
7743
-                            <h3 id="_lbservices" class="panel-title">/lbservices</h3>
7744
-                        </div>
7745
-
7746
-                        <div class="panel-body">
7747
-                            
7748
-
7749
-                            <div class="panel-group">
7750
-                                <div class="panel panel-white">
7751
-    <div class="panel-heading">
7752
-        <h4 class="panel-title">
7753
-            <a class="block collapsed" data-toggle="collapse" href="#panel__lbservices">
7754
-                <span class="methods">
7755
-                    
7756
-                        <span class="badge badge_get">get</span>
7757
-                    
7758
-                        <span class="badge badge_post">post</span>
7759
-                    
7760
-                </span>
7761
-                <span class="parent"></span>/lbservices
7762
-            </a>
7763
-        </h4>
7764
-    </div>
7765
-    <div id="panel__lbservices" class="panel-collapse collapse">
7766
-        <div class="panel-body">
7767
-            <div class="list-group">
7768
-                
7769
-                    <a href="#" data-toggle="modal" data-target="#_lbservices_get" class="list-group-item">
7770
-                        <span class="badge badge_get">get</span>
7771
-                        <div class="method_description">
7772
-                            <p>List all services on this cluster</p>
7773
-
7774
-                        </div>
7775
-                        <div class="clearfix"></div>
7776
-                    </a>
7777
-                
7778
-                    <a href="#" data-toggle="modal" data-target="#_lbservices_post" class="list-group-item">
7779
-                        <span class="badge badge_post">post</span>
7780
-                        <div class="method_description">
7781
-                            <p>Create a new service</p>
7782
-
7783
-                        </div>
7784
-                        <div class="clearfix"></div>
7785
-                    </a>
7786
-                
7787
-            </div>
7788
-        </div>
7789
-    </div>
7790
-
7791
-    
7792
-        <div class="modal fade" tabindex="0" id="_lbservices_get">
7793
-            <div class="modal-dialog">
7794
-                <div class="modal-content">
7795
-                    <div class="modal-header">
7796
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7797
-                        <h4 class="modal-title" id="myModalLabel">
7798
-                            <span class="badge badge_get">get</span>
7799
-                            <span class="parent"></span>/lbservices
7800
-                        </h4>
7801
-                    </div>
7802
-                    <div class="modal-body">
7803
-                        <div class="alert alert-info"><p>List all services on this cluster</p>
7804
-</div>
7805
-
7806
-                        <!-- Nav tabs -->
7807
-                        <ul class="nav nav-tabs">
7808
-                            <li class="active">
7809
-                                <a href="#_lbservices_get_request" data-toggle="tab">Request</a>
7810
-                            </li>
7811
-                            
7812
-                                <li>
7813
-                                    <a href="#_lbservices_get_response" data-toggle="tab">Response</a>
7814
-                                </li>
7815
-                            
7816
-                        </ul>
7817
-
7818
-                        <!-- Tab panes -->
7819
-                        <div class="tab-content">
7820
-                            <div class="tab-pane active" id="_lbservices_get_request">
7821
-                                
7822
-
7823
-                                
7824
-
7825
-                                
7826
-
7827
-                                
7828
-                            </div>
7829
-
7830
-                            
7831
-                                <div class="tab-pane" id="_lbservices_get_response">
7832
-                                    
7833
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
7834
-                                        
7835
-
7836
-                                        
7837
-
7838
-                                        
7839
-                                            <h3>Body</h3>
7840
-                                            
7841
-                                                <p><strong>Type: application/json</strong></p>
7842
-
7843
-                                                
7844
-
7845
-                                                
7846
-                                                    <p>
7847
-                                                        <small>
7848
-                                                            <strong>Example</strong>:
7849
-                                                            <pre>{
7850
-    "<span class="hljs-attribute">items</span>": <span class="hljs-value">[
1746
+</code></pre><p><strong>Example</strong>:</p><pre><code>  {
1747
+    "id": "nginxController",
1748
+    "desiredState": {
1749
+      "replicas": 2,
1750
+      "replicaSelector": {"name": "nginx"},
1751
+      "podTemplate": {
1752
+        "desiredState": {
1753
+           "manifest": {
1754
+             "version": "v1beta1",
1755
+             "id": "nginxController",
1756
+             "containers": [{
1757
+               "name": "nginx",
1758
+               "image": "dockerfile/nginx",
1759
+               "ports": [{"containerPort": 80, "hostPort": 8080}]
1760
+             }]
1761
+           }
1762
+         },
1763
+         "labels": {"name": "nginx"}
1764
+        }},
1765
+    "labels": {"name": "nginx"}
1766
+  }
1767
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_replicationControllers__controllerId__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent>/replicationControllers</span>/{controllerId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific controller</p></div><ul class="nav nav-tabs"><li class=active><a href=#_replicationControllers__controllerId__delete_request data-toggle=tab>Request</a></li><li><a href=#_replicationControllers__controllerId__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_replicationControllers__controllerId__delete_request><h3>URI Parameters</h3><ul><li><strong>controllerId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_replicationControllers__controllerId__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1768
+    "apiVersion": "v1beta1",
1769
+    "creationTimestamp": null,
1770
+    "kind": "Status",
1771
+    "status": "success"
1772
+}
1773
+</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_lbservices class=panel-title>/lbservices</h3></div><div class=panel-body><div class=panel-group><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__lbservices><span class=parent></span>/lbservices</a> <span class=methods><a href=# data-toggle=modal data-target=#_lbservices_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_lbservices_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__lbservices class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_lbservices_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all services on this cluster</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_lbservices_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new service</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_lbservices_get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent></span>/lbservices</h4></div><div class=modal-body><div class="alert alert-info"><p>List all services on this cluster</p></div><ul class="nav nav-tabs"><li class=active><a href=#_lbservices_get_request data-toggle=tab>Request</a></li><li><a href=#_lbservices_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_lbservices_get_request></div><div class=tab-pane id=_lbservices_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1774
+    "items": [
7851 1775
         {
7852
-            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example1"</span></span>,
7853
-            "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8000</span></span>,
7854
-            "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
7855
-                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
7856
-            </span>}
7857
-            <span class="hljs-string">"selector"</span>: {
7858
-                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
7859
-            </span>}
7860
-        </span>},
1776
+            "id": "example1",
1777
+            "port": 8000,
1778
+            "labels": {
1779
+                "name": "nginx"
1780
+            }
1781
+            "selector": {
1782
+                "name": "nginx"
1783
+            }
1784
+        },
7861 1785
         {
7862
-            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example2"</span></span>,
7863
-            "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
7864
-            "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
7865
-                "<span class="hljs-attribute">env</span>": <span class="hljs-value"><span class="hljs-string">"prod"</span></span>,
7866
-                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"jetty"</span>
7867
-            </span>}
7868
-            <span class="hljs-string">"selector"</span>: {
7869
-                "<span class="hljs-attribute">env</span>": <span class="hljs-value"><span class="hljs-string">"prod"</span></span>,
7870
-                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"jetty"</span>
7871
-            </span>}
7872
-        </span>}
1786
+            "id": "example2",
1787
+            "port": 8080,
1788
+            "labels": {
1789
+                "env": "prod",
1790
+                "name": "jetty"
1791
+            }
1792
+            "selector": {
1793
+                "env": "prod",
1794
+                "name": "jetty"
1795
+            }
1796
+        }
7873 1797
     ]
7874
-</span>}
7875
-</pre>
7876
-                                                        </small>
7877
-                                                    </p>
7878
-                                                
7879
-                                            
7880
-                                        
7881
-                                    
7882
-                                </div>
7883
-                            
7884
-                        </div>
7885
-                    </div>
7886
-                </div>
7887
-            </div>
7888
-        </div>
7889
-    
7890
-        <div class="modal fade" tabindex="0" id="_lbservices_post">
7891
-            <div class="modal-dialog">
7892
-                <div class="modal-content">
7893
-                    <div class="modal-header">
7894
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7895
-                        <h4 class="modal-title" id="myModalLabel">
7896
-                            <span class="badge badge_post">post</span>
7897
-                            <span class="parent"></span>/lbservices
7898
-                        </h4>
7899
-                    </div>
7900
-                    <div class="modal-body">
7901
-                        <div class="alert alert-info"><p>Create a new service</p>
7902
-</div>
7903
-
7904
-                        <!-- Nav tabs -->
7905
-                        <ul class="nav nav-tabs">
7906
-                            <li class="active">
7907
-                                <a href="#_lbservices_post_request" data-toggle="tab">Request</a>
7908
-                            </li>
7909
-                            
7910
-                        </ul>
7911
-
7912
-                        <!-- Tab panes -->
7913
-                        <div class="tab-content">
7914
-                            <div class="tab-pane active" id="_lbservices_post_request">
7915
-                                
7916
-
7917
-                                
7918
-
7919
-                                
7920
-
7921
-                                
7922
-                                    <h3>Body</h3>
7923
-                                    
7924
-                                        <p><strong>Type: application/json</strong></p>
7925
-                                        
7926
-
7927
-                                        
7928
-                                            <p>
7929
-                                                <small>
7930
-                                                    <strong>Schema</strong>:
7931
-                                                    <pre>{
7932
-  &quot;$schema&quot;: &quot;http://json-schema.org/draft-03/schema&quot;,
7933
-  &quot;type&quot;: &quot;object&quot;,
7934
-  &quot;required&quot;: false,
7935
-  &quot;description&quot;: &quot;A service resource.&quot;,
7936
-  &quot;properties&quot;: {
7937
-    &quot;kind&quot;: {
7938
-      &quot;type&quot;: &quot;string&quot;,
7939
-      &quot;required&quot;: false
1798
+}
1799
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_lbservices_post><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_post">post</span> <span class=parent></span>/lbservices</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_lbservices_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_lbservices_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
1800
+  "$schema": "http://json-schema.org/draft-03/schema",
1801
+  "type": "object",
1802
+  "required": false,
1803
+  "description": "A service resource.",
1804
+  "properties": {
1805
+    "kind": {
1806
+      "type": "string",
1807
+      "required": false
7940 1808
     },
7941
-    &quot;id&quot;: {
7942
-      &quot;type&quot;: &quot;string&quot;,
7943
-      &quot;required&quot;: false
1809
+    "id": {
1810
+      "type": "string",
1811
+      "required": false
7944 1812
     },
7945
-    &quot;creationTimestamp&quot;: {
7946
-      &quot;type&quot;: &quot;string&quot;,
7947
-      &quot;required&quot;: false
1813
+    "creationTimestamp": {
1814
+      "type": "string",
1815
+      "required": false
7948 1816
     },
7949
-    &quot;selfLink&quot;: {
7950
-      &quot;type&quot;: &quot;string&quot;,
7951
-      &quot;required&quot;: false
1817
+    "selfLink": {
1818
+      "type": "string",
1819
+      "required": false
7952 1820
     },
7953
-    &quot;name&quot;: {
7954
-      &quot;type&quot;: &quot;string&quot;,
7955
-      &quot;required&quot;: false
1821
+    "name": {
1822
+      "type": "string",
1823
+      "required": false
7956 1824
     },
7957
-    &quot;port&quot;: {
7958
-      &quot;type&quot;: &quot;number&quot;,
7959
-      &quot;required&quot;: false
1825
+    "port": {
1826
+      "type": "number",
1827
+      "required": false
7960 1828
     },
7961
-    &quot;labels&quot;: {
7962
-      &quot;type&quot;: &quot;object&quot;,
7963
-      &quot;required&quot;: false
1829
+    "labels": {
1830
+      "type": "object",
1831
+      "required": false
7964 1832
     },
7965
-    &quot;selector&quot;: {
7966
-      &quot;type&quot;: &quot;object&quot;,
7967
-      &quot;required&quot;: false
1833
+    "selector": {
1834
+      "type": "object",
1835
+      "required": false
7968 1836
     }
7969 1837
   }
7970 1838
 }
7971
-</pre>
7972
-                                                </small>
7973
-                                            </p>
7974
-                                        
7975
-
7976
-                                        
7977
-                                            <p>
7978
-                                                <small>
7979
-                                                    <strong>Example</strong>:
7980
-                                                    <pre>{
7981
-  "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example"</span></span>,
7982
-  "<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8000</span></span>,
7983
-  "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
7984
-     "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
7985
-  </span>}</span>,
7986
-  "<span class="hljs-attribute">selector</span>": <span class="hljs-value">{
7987
-     "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
7988
-  </span>}
7989
-</span>}
7990
-</pre>
7991
-                                                </small>
7992
-                                            </p>
7993
-                                        
7994
-                                    
7995
-                                
7996
-                            </div>
7997
-
7998
-                            
7999
-                        </div>
8000
-                    </div>
8001
-                </div>
8002
-            </div>
8003
-        </div>
8004
-    
8005
-</div>
8006
-
8007
-
8008
-    <div class="panel panel-white">
8009
-    <div class="panel-heading">
8010
-        <h4 class="panel-title">
8011
-            <a class="block collapsed" data-toggle="collapse" href="#panel__lbservices__serviceId_">
8012
-                <span class="methods">
8013
-                    
8014
-                        <span class="badge badge_get">get</span>
8015
-                    
8016
-                        <span class="badge badge_put">put</span>
8017
-                    
8018
-                        <span class="badge badge_delete">delete</span>
8019
-                    
8020
-                </span>
8021
-                <span class="parent">/lbservices</span>/{serviceId}
8022
-            </a>
8023
-        </h4>
8024
-    </div>
8025
-    <div id="panel__lbservices__serviceId_" class="panel-collapse collapse">
8026
-        <div class="panel-body">
8027
-            <div class="list-group">
8028
-                
8029
-                    <a href="#" data-toggle="modal" data-target="#_lbservices__serviceId__get" class="list-group-item">
8030
-                        <span class="badge badge_get">get</span>
8031
-                        <div class="method_description">
8032
-                            <p>Get a specific service</p>
8033
-
8034
-                        </div>
8035
-                        <div class="clearfix"></div>
8036
-                    </a>
8037
-                
8038
-                    <a href="#" data-toggle="modal" data-target="#_lbservices__serviceId__put" class="list-group-item">
8039
-                        <span class="badge badge_put">put</span>
8040
-                        <div class="method_description">
8041
-                            <p>Update a service</p>
8042
-
8043
-                        </div>
8044
-                        <div class="clearfix"></div>
8045
-                    </a>
8046
-                
8047
-                    <a href="#" data-toggle="modal" data-target="#_lbservices__serviceId__delete" class="list-group-item">
8048
-                        <span class="badge badge_delete">delete</span>
8049
-                        <div class="method_description">
8050
-                            <p>Delete a specific service</p>
8051
-
8052
-                        </div>
8053
-                        <div class="clearfix"></div>
8054
-                    </a>
8055
-                
8056
-            </div>
8057
-        </div>
8058
-    </div>
8059
-
8060
-    
8061
-        <div class="modal fade" tabindex="0" id="_lbservices__serviceId__get">
8062
-            <div class="modal-dialog">
8063
-                <div class="modal-content">
8064
-                    <div class="modal-header">
8065
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
8066
-                        <h4 class="modal-title" id="myModalLabel">
8067
-                            <span class="badge badge_get">get</span>
8068
-                            <span class="parent">/lbservices</span>/{serviceId}
8069
-                        </h4>
8070
-                    </div>
8071
-                    <div class="modal-body">
8072
-                        <div class="alert alert-info"><p>Get a specific service</p>
8073
-</div>
8074
-
8075
-                        <!-- Nav tabs -->
8076
-                        <ul class="nav nav-tabs">
8077
-                            <li class="active">
8078
-                                <a href="#_lbservices__serviceId__get_request" data-toggle="tab">Request</a>
8079
-                            </li>
8080
-                            
8081
-                                <li>
8082
-                                    <a href="#_lbservices__serviceId__get_response" data-toggle="tab">Response</a>
8083
-                                </li>
8084
-                            
8085
-                        </ul>
8086
-
8087
-                        <!-- Tab panes -->
8088
-                        <div class="tab-content">
8089
-                            <div class="tab-pane active" id="_lbservices__serviceId__get_request">
8090
-                                
8091
-                                    <h3>URI Parameters</h3>
8092
-                                    <ul>
8093
-                                        
8094
-                                            <li>
8095
-                                                <strong>serviceId</strong>:
8096
-                                                <em>
8097
-                                                    
8098
-                                                        required
8099
-                                                    
8100
-                                                    (string)
8101
-                                                </em>
8102
-
8103
-                                                
8104
-                                            </li>
8105
-                                        
8106
-                                    </ul>
8107
-                                
8108
-
8109
-                                
8110
-
8111
-                                
8112
-
8113
-                                
8114
-                            </div>
8115
-
8116
-                            
8117
-                                <div class="tab-pane" id="_lbservices__serviceId__get_response">
8118
-                                    
8119
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
8120
-                                        
8121
-
8122
-                                        
8123
-
8124
-                                        
8125
-                                            <h3>Body</h3>
8126
-                                            
8127
-                                                <p><strong>Type: application/json</strong></p>
8128
-
8129
-                                                
8130
-
8131
-                                                
8132
-                                                    <p>
8133
-                                                        <small>
8134
-                                                            <strong>Example</strong>:
8135
-                                                            <pre>{
8136
-  "<span class="hljs-attribute">data</span>":
8137
-  <span class="hljs-value">{
8138
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
8139
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
8140
-    "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
8141
-    "<span class="hljs-attribute">desiredState</span>": 
8142
-    <span class="hljs-value">{
8143
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
8144
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
8145
-      "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
8146
-        "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
8147
-      </span>}</span>,
8148
-      "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
8149
-      "<span class="hljs-attribute">podTemplate</span>": 
8150
-      <span class="hljs-value">{
8151
-         "<span class="hljs-attribute">desiredState</span>":
8152
-         <span class="hljs-value">{
8153
-           "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
8154
-           "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
1839
+</code></pre><p><strong>Example</strong>:</p><pre><code>{
1840
+  "id": "example",
1841
+  "port": 8000,
1842
+  "labels": {
1843
+     "name": "nginx"
1844
+  },
1845
+  "selector": {
1846
+     "name": "nginx"
1847
+  }
1848
+}
1849
+</code></pre></div></div></div></div></div></div></div><div class="panel panel-white"><div class=panel-heading><h4 class=panel-title><a class=collapsed data-toggle=collapse href=#panel__lbservices__serviceId_><span class=parent>/lbservices</span>/{serviceId}</a> <span class=methods><a href=# data-toggle=modal data-target=#_lbservices__serviceId__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_lbservices__serviceId__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_lbservices__serviceId__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__lbservices__serviceId_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_lbservices__serviceId__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific service</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_lbservices__serviceId__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a service</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_lbservices__serviceId__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific service</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_lbservices__serviceId__get><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_get">get</span> <span class=parent>/lbservices</span>/{serviceId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_lbservices__serviceId__get_request data-toggle=tab>Request</a></li><li><a href=#_lbservices__serviceId__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_lbservices__serviceId__get_request><h3>URI Parameters</h3><ul><li><strong>serviceId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_lbservices__serviceId__get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1850
+  "data":
1851
+  {
1852
+    "id": "53c4249f076573c0f4000001",
1853
+    "name": "service-name",
1854
+    "domain": "domain-id",
1855
+    "desiredState": 
1856
+    {
1857
+      "replicas": 3,
1858
+      "replicaSelector": { "name": "service-name" },
1859
+      "replicaPolicy": {
1860
+        "atLeast": 2
1861
+      },
1862
+      "activeDeployment": "a_deployment_id",
1863
+      "podTemplate": 
1864
+      {
1865
+         "desiredState":
1866
+         {
1867
+           "image": "server/domain/name",
1868
+           "network-ports": [
8155 1869
              {
8156
-               "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
8157
-               "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
8158
-             </span>}
8159
-           ]</span>,
8160
-           "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
8161
-         </span>}</span>,
8162
-         "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
8163
-           "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
8164
-         </span>}
8165
-      </span>}
8166
-    </span>}
8167
-  </span>}
8168
-</span>}
8169
-</pre>
8170
-                                                        </small>
8171
-                                                    </p>
8172
-                                                
8173
-                                            
8174
-                                        
8175
-                                    
8176
-                                </div>
8177
-                            
8178
-                        </div>
8179
-                    </div>
8180
-                </div>
8181
-            </div>
8182
-        </div>
8183
-    
8184
-        <div class="modal fade" tabindex="0" id="_lbservices__serviceId__put">
8185
-            <div class="modal-dialog">
8186
-                <div class="modal-content">
8187
-                    <div class="modal-header">
8188
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
8189
-                        <h4 class="modal-title" id="myModalLabel">
8190
-                            <span class="badge badge_put">put</span>
8191
-                            <span class="parent">/lbservices</span>/{serviceId}
8192
-                        </h4>
8193
-                    </div>
8194
-                    <div class="modal-body">
8195
-                        <div class="alert alert-info"><p>Update a service</p>
8196
-</div>
8197
-
8198
-                        <!-- Nav tabs -->
8199
-                        <ul class="nav nav-tabs">
8200
-                            <li class="active">
8201
-                                <a href="#_lbservices__serviceId__put_request" data-toggle="tab">Request</a>
8202
-                            </li>
8203
-                            
8204
-                        </ul>
8205
-
8206
-                        <!-- Tab panes -->
8207
-                        <div class="tab-content">
8208
-                            <div class="tab-pane active" id="_lbservices__serviceId__put_request">
8209
-                                
8210
-                                    <h3>URI Parameters</h3>
8211
-                                    <ul>
8212
-                                        
8213
-                                            <li>
8214
-                                                <strong>serviceId</strong>:
8215
-                                                <em>
8216
-                                                    
8217
-                                                        required
8218
-                                                    
8219
-                                                    (string)
8220
-                                                </em>
8221
-
8222
-                                                
8223
-                                            </li>
8224
-                                        
8225
-                                    </ul>
8226
-                                
8227
-
8228
-                                
8229
-
8230
-                                
8231
-
8232
-                                
8233
-                                    <h3>Body</h3>
8234
-                                    
8235
-                                        <p><strong>Type: application/json</strong></p>
8236
-                                        
8237
-
8238
-                                        
8239
-                                            <p>
8240
-                                                <small>
8241
-                                                    <strong>Schema</strong>:
8242
-                                                    <pre>{
8243
-  &quot;$schema&quot;: &quot;http://json-schema.org/draft-03/schema&quot;,
8244
-  &quot;type&quot;: &quot;object&quot;,
8245
-  &quot;required&quot;: false,
8246
-  &quot;description&quot;: &quot;A service resource.&quot;,
8247
-  &quot;properties&quot;: {
8248
-    &quot;kind&quot;: {
8249
-      &quot;type&quot;: &quot;string&quot;,
8250
-      &quot;required&quot;: false
1870
+               "hostPort": 8080,
1871
+               "containerPort": 80
1872
+             }
1873
+           ],
1874
+           "owner": true
1875
+         },
1876
+         "labels": {
1877
+           "name": "service-name"
1878
+         }
1879
+      }
1880
+    }
1881
+  }
1882
+}
1883
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_lbservices__serviceId__put><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_put">put</span> <span class=parent>/lbservices</span>/{serviceId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_lbservices__serviceId__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_lbservices__serviceId__put_request><h3>URI Parameters</h3><ul><li><strong>serviceId</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
1884
+  "$schema": "http://json-schema.org/draft-03/schema",
1885
+  "type": "object",
1886
+  "required": false,
1887
+  "description": "A service resource.",
1888
+  "properties": {
1889
+    "kind": {
1890
+      "type": "string",
1891
+      "required": false
8251 1892
     },
8252
-    &quot;id&quot;: {
8253
-      &quot;type&quot;: &quot;string&quot;,
8254
-      &quot;required&quot;: false
1893
+    "id": {
1894
+      "type": "string",
1895
+      "required": false
8255 1896
     },
8256
-    &quot;creationTimestamp&quot;: {
8257
-      &quot;type&quot;: &quot;string&quot;,
8258
-      &quot;required&quot;: false
1897
+    "creationTimestamp": {
1898
+      "type": "string",
1899
+      "required": false
8259 1900
     },
8260
-    &quot;selfLink&quot;: {
8261
-      &quot;type&quot;: &quot;string&quot;,
8262
-      &quot;required&quot;: false
1901
+    "selfLink": {
1902
+      "type": "string",
1903
+      "required": false
8263 1904
     },
8264
-    &quot;name&quot;: {
8265
-      &quot;type&quot;: &quot;string&quot;,
8266
-      &quot;required&quot;: false
1905
+    "name": {
1906
+      "type": "string",
1907
+      "required": false
8267 1908
     },
8268
-    &quot;port&quot;: {
8269
-      &quot;type&quot;: &quot;number&quot;,
8270
-      &quot;required&quot;: false
1909
+    "port": {
1910
+      "type": "number",
1911
+      "required": false
8271 1912
     },
8272
-    &quot;labels&quot;: {
8273
-      &quot;type&quot;: &quot;object&quot;,
8274
-      &quot;required&quot;: false
1913
+    "labels": {
1914
+      "type": "object",
1915
+      "required": false
8275 1916
     },
8276
-    &quot;selector&quot;: {
8277
-      &quot;type&quot;: &quot;object&quot;,
8278
-      &quot;required&quot;: false
1917
+    "selector": {
1918
+      "type": "object",
1919
+      "required": false
8279 1920
     }
8280 1921
   }
8281 1922
 }
8282
-</pre>
8283
-                                                </small>
8284
-                                            </p>
8285
-                                        
8286
-
8287
-                                        
8288
-                                            <p>
8289
-                                                <small>
8290
-                                                    <strong>Example</strong>:
8291
-                                                    <pre>{
8292
-  "<span class="hljs-attribute">data</span>":
8293
-  <span class="hljs-value">{
8294
-    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"53c4249f076573c0f4000001"</span></span>,
8295
-    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span></span>,
8296
-    "<span class="hljs-attribute">domain</span>": <span class="hljs-value"><span class="hljs-string">"domain-id"</span></span>,
8297
-    "<span class="hljs-attribute">desiredState</span>": 
8298
-    <span class="hljs-value">{
8299
-      "<span class="hljs-attribute">replicas</span>": <span class="hljs-value"><span class="hljs-number">3</span></span>,
8300
-      "<span class="hljs-attribute">replicaSelector</span>": <span class="hljs-value">{ "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span> </span>}</span>,
8301
-      "<span class="hljs-attribute">replicaPolicy</span>": <span class="hljs-value">{
8302
-        "<span class="hljs-attribute">atLeast</span>": <span class="hljs-value"><span class="hljs-number">2</span>
8303
-      </span>}</span>,
8304
-      "<span class="hljs-attribute">activeDeployment</span>": <span class="hljs-value"><span class="hljs-string">"a_deployment_id"</span></span>,
8305
-      "<span class="hljs-attribute">podTemplate</span>": 
8306
-      <span class="hljs-value">{
8307
-         "<span class="hljs-attribute">desiredState</span>":
8308
-         <span class="hljs-value">{
8309
-           "<span class="hljs-attribute">image</span>": <span class="hljs-value"><span class="hljs-string">"server/domain/name"</span></span>,
8310
-           "<span class="hljs-attribute">network-ports</span>": <span class="hljs-value">[
1923
+</code></pre><p><strong>Example</strong>:</p><pre><code>{
1924
+  "data":
1925
+  {
1926
+    "id": "53c4249f076573c0f4000001",
1927
+    "name": "service-name",
1928
+    "domain": "domain-id",
1929
+    "desiredState": 
1930
+    {
1931
+      "replicas": 3,
1932
+      "replicaSelector": { "name": "service-name" },
1933
+      "replicaPolicy": {
1934
+        "atLeast": 2
1935
+      },
1936
+      "activeDeployment": "a_deployment_id",
1937
+      "podTemplate": 
1938
+      {
1939
+         "desiredState":
1940
+         {
1941
+           "image": "server/domain/name",
1942
+           "network-ports": [
8311 1943
              {
8312
-               "<span class="hljs-attribute">hostPort</span>": <span class="hljs-value"><span class="hljs-number">8080</span></span>,
8313
-               "<span class="hljs-attribute">containerPort</span>": <span class="hljs-value"><span class="hljs-number">80</span>
8314
-             </span>}
8315
-           ]</span>,
8316
-           "<span class="hljs-attribute">owner</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
8317
-         </span>}</span>,
8318
-         "<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
8319
-           "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"service-name"</span>
8320
-         </span>}
8321
-      </span>}
8322
-    </span>}
8323
-  </span>}
8324
-</span>}
8325
-</pre>
8326
-                                                </small>
8327
-                                            </p>
8328
-                                        
8329
-                                    
8330
-                                
8331
-                            </div>
8332
-
8333
-                            
8334
-                        </div>
8335
-                    </div>
8336
-                </div>
8337
-            </div>
8338
-        </div>
8339
-    
8340
-        <div class="modal fade" tabindex="0" id="_lbservices__serviceId__delete">
8341
-            <div class="modal-dialog">
8342
-                <div class="modal-content">
8343
-                    <div class="modal-header">
8344
-                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
8345
-                        <h4 class="modal-title" id="myModalLabel">
8346
-                            <span class="badge badge_delete">delete</span>
8347
-                            <span class="parent">/lbservices</span>/{serviceId}
8348
-                        </h4>
8349
-                    </div>
8350
-                    <div class="modal-body">
8351
-                        <div class="alert alert-info"><p>Delete a specific service</p>
8352
-</div>
8353
-
8354
-                        <!-- Nav tabs -->
8355
-                        <ul class="nav nav-tabs">
8356
-                            <li class="active">
8357
-                                <a href="#_lbservices__serviceId__delete_request" data-toggle="tab">Request</a>
8358
-                            </li>
8359
-                            
8360
-                                <li>
8361
-                                    <a href="#_lbservices__serviceId__delete_response" data-toggle="tab">Response</a>
8362
-                                </li>
8363
-                            
8364
-                        </ul>
8365
-
8366
-                        <!-- Tab panes -->
8367
-                        <div class="tab-content">
8368
-                            <div class="tab-pane active" id="_lbservices__serviceId__delete_request">
8369
-                                
8370
-                                    <h3>URI Parameters</h3>
8371
-                                    <ul>
8372
-                                        
8373
-                                            <li>
8374
-                                                <strong>serviceId</strong>:
8375
-                                                <em>
8376
-                                                    
8377
-                                                        required
8378
-                                                    
8379
-                                                    (string)
8380
-                                                </em>
8381
-
8382
-                                                
8383
-                                            </li>
8384
-                                        
8385
-                                    </ul>
8386
-                                
8387
-
8388
-                                
8389
-
8390
-                                
8391
-
8392
-                                
8393
-                            </div>
8394
-
8395
-                            
8396
-                                <div class="tab-pane" id="_lbservices__serviceId__delete_response">
8397
-                                    
8398
-                                        <h2>HTTP status code <a href="http://httpstatus.es/200" target="_blank">200</a></h2>
8399
-                                        
8400
-
8401
-                                        
8402
-
8403
-                                        
8404
-                                            <h3>Body</h3>
8405
-                                            
8406
-                                                <p><strong>Type: application/json</strong></p>
8407
-
8408
-                                                
8409
-
8410
-                                                
8411
-                                                    <p>
8412
-                                                        <small>
8413
-                                                            <strong>Example</strong>:
8414
-                                                            <pre>{ 
8415
-  "<span class="hljs-attribute">success</span>": <span class="hljs-value"><span class="hljs-literal">true</span>
8416
-</span>}
8417
-</pre>
8418
-                                                        </small>
8419
-                                                    </p>
8420
-                                                
8421
-                                            
8422
-                                        
8423
-                                    
8424
-                                </div>
8425
-                            
8426
-                        </div>
8427
-                    </div>
8428
-                </div>
8429
-            </div>
8430
-        </div>
8431
-    
8432
-</div>
8433
-
8434
-
8435
-
8436
-
8437
-
8438
-                            </div>
8439
-                        </div>
8440
-                    </div>
8441
-                
8442
-            </div>
8443
-
8444
-            <div class="col-md-3">
8445
-                <div id="sidebar" class="hidden-print affix" role="complementary">
8446
-                    <ul class="nav nav-pills nav-stacked">
8447
-                        
8448
-                            <li><a href="#_projects">/projects</a></li>
8449
-                        
8450
-                            <li><a href="#_project__projectID_">/project/{projectID}</a></li>
8451
-                        
8452
-                            <li><a href="#_image_repositories">/image-repositories</a></li>
8453
-                        
8454
-                            <li><a href="#_image_repository__repositoryID_">/image-repository/{repositoryID}</a></li>
8455
-                        
8456
-                            <li><a href="#_images">/images</a></li>
8457
-                        
8458
-                            <li><a href="#_image__imageID_">/image/{imageID}</a></li>
8459
-                        
8460
-                            <li><a href="#_services">/services</a></li>
8461
-                        
8462
-                            <li><a href="#_service__serviceID_">/service/{serviceID}</a></li>
8463
-                        
8464
-                            <li><a href="#_deployments">/deployments</a></li>
8465
-                        
8466
-                            <li><a href="#_deployment__deploymentID_">/deployment/{deploymentID}</a></li>
8467
-                        
8468
-                            <li><a href="#_links">/links</a></li>
8469
-                        
8470
-                            <li><a href="#_link__linkID_">/link/{linkID}</a></li>
8471
-                        
8472
-                            <li><a href="#_aliases">/aliases</a></li>
8473
-                        
8474
-                            <li><a href="#_alias__aliasID_">/alias/{aliasID}</a></li>
8475
-                        
8476
-                            <li><a href="#_builds">/builds</a></li>
8477
-                        
8478
-                            <li><a href="#_build__buildId_">/build/{buildId}</a></li>
8479
-                        
8480
-                            <li><a href="#_templates">/templates</a></li>
8481
-                        
8482
-                            <li><a href="#_template__templateID_">/template/{templateID}</a></li>
8483
-                        
8484
-                            <li><a href="#_pods">/pods</a></li>
8485
-                        
8486
-                            <li><a href="#_replicationControllers">/replicationControllers</a></li>
8487
-                        
8488
-                            <li><a href="#_lbservices">/lbservices</a></li>
8489
-                        
8490
-                    </ul>
8491
-                </div>
8492
-            </div>
8493
-        </div>
8494
-    </div>
8495
-</body>
8496
-</html>
1944
+               "hostPort": 8080,
1945
+               "containerPort": 80
1946
+             }
1947
+           ],
1948
+           "owner": true
1949
+         },
1950
+         "labels": {
1951
+           "name": "service-name"
1952
+         }
1953
+      }
1954
+    }
1955
+  }
1956
+}
1957
+</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_lbservices__serviceId__delete><div class=modal-dialog><div class=modal-content><div class=modal-header><button type=button class=close data-dismiss=modal aria-hidden=true>&times;</button><h4 class=modal-title id=myModalLabel><span class="badge badge_delete">delete</span> <span class=parent>/lbservices</span>/{serviceId}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific service</p></div><ul class="nav nav-tabs"><li class=active><a href=#_lbservices__serviceId__delete_request data-toggle=tab>Request</a></li><li><a href=#_lbservices__serviceId__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_lbservices__serviceId__delete_request><h3>URI Parameters</h3><ul><li><strong>serviceId</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_lbservices__serviceId__delete_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
1958
+    "apiVersion": "v1beta1",
1959
+    "creationTimestamp": null,
1960
+    "kind": "Status",
1961
+    "status": "success"
1962
+}
1963
+</code></pre></div></div></div></div></div></div></div></div></div></div></div><div class=col-md-3><div id=sidebar class="hidden-print affix" role=complementary><ul class="nav nav-pills nav-stacked"><li><a href=#_projects>/projects</a></li><li><a href=#_project__projectID_>/project/{projectID}</a></li><li><a href=#_imageRepositories>/imageRepositories</a></li><li><a href=#_imageRepositories__repositoryID_>/imageRepositories/{repositoryID}</a></li><li><a href=#_images>/images</a></li><li><a href=#_images__imageID_>/images/{imageID}</a></li><li><a href=#_imageRepositoryMappings>/imageRepositoryMappings</a></li><li><a href=#_services>/services</a></li><li><a href=#_service__serviceID_>/service/{serviceID}</a></li><li><a href=#_deployments>/deployments</a></li><li><a href=#_deployment__deploymentID_>/deployment/{deploymentID}</a></li><li><a href=#_links>/links</a></li><li><a href=#_link__linkID_>/link/{linkID}</a></li><li><a href=#_aliases>/aliases</a></li><li><a href=#_alias__aliasID_>/alias/{aliasID}</a></li><li><a href=#_builds>/builds</a></li><li><a href=#_build__buildId_>/build/{buildId}</a></li><li><a href=#_buildConfigHooks__buildId___secret___plugin_>/buildConfigHooks/{buildId}/{secret}/{plugin}</a></li><li><a href=#_templates>/templates</a></li><li><a href=#_template__templateID_>/template/{templateID}</a></li><li><a href=#_pods>/pods</a></li><li><a href=#_replicationControllers>/replicationControllers</a></li><li><a href=#_lbservices>/lbservices</a></li></ul></div></div></div></div></body></html>
8497 1964
\ No newline at end of file
... ...
@@ -40,30 +40,20 @@ documentation:
40 40
       responses:
41 41
         200:
42 42
           body:
43
-            example: |
44
-              {
45
-                "success": true
46
-              }
43
+            example: !include examples/status-success.json
47 44
     post:
48 45
       description: Instantiate a template in the given project
49 46
       body:
50 47
         example: !include examples/project-post.json
51
-/image-repositories:
48
+
49
+/imageRepositories:
52 50
   get:
53
-    queryParameters:
54
-      projectId:
55
-        description: Filter list by project
56
-        type: string
57
-      visibility:
58
-        description: Filter by visibility (public, private)
59
-        type: string
60 51
     description: |
61
-      Lists all image repositories that you have access to.
52
+      Lists all image repositories.
62 53
 
63
-      An image repository is a collection of images that share the same metadata. It contains
64
-      multiple versions of an image as it evolves over time with new builds of the codebase.
65
-      An image repository may be associated with a build which can be triggered by an event such
66
-      as a commit to a source repository. The build will then push a new image on to the repository.
54
+      An image repository is a collection of images that share the same metadata. It may
55
+      reference a Docker image repository on a Docker registry, but this is optional. An
56
+      image repository also contains a mapping of tags to images.
67 57
     responses:
68 58
       200:
69 59
         body:
... ...
@@ -71,8 +61,9 @@ documentation:
71 71
   post:
72 72
     description: Create a new image repository
73 73
     body:
74
-      example: !include examples/image-repository.json
75
-/image-repository/{repositoryID}:
74
+      example: !include examples/create-image-repository.json
75
+
76
+/imageRepositories/{repositoryID}:
76 77
     get:
77 78
       description: Get information about an image repository
78 79
       body:
... ...
@@ -86,22 +77,16 @@ documentation:
86 86
       responses:
87 87
         200:
88 88
           body:
89
-            example: |
90
-              {
91
-                "success": true
92
-              }
89
+            example: !include examples/status-success.json
93 90
 /images:
94 91
   get:
95
-    queryParameters:
96
-      repositoryId:
97
-        description: Filter list by repository
98
-        type: string
99 92
     description: |
100
-      Lists images visible to you
93
+      Lists all images.
101 94
 
102
-      Images can be stored in Openshift servers or can be references to images from
103
-      an external repository. The metadata that Openshift stores for an image will augment
104
-      the metadata that has already been specified in the image through its Dockerfile.
95
+      An image is a reference to an image in a Docker image repository on a Docker
96
+      registry, plus a set of metadata. The metadata that Openshift stores for an image
97
+      will augment the metadata that has already been specified in the image through
98
+      its Dockerfile.
105 99
     responses:
106 100
       200:
107 101
         body:
... ...
@@ -110,11 +95,31 @@ documentation:
110 110
     description: Create a new image definition
111 111
     body:
112 112
       example: !include examples/create-image.json
113
-/image/{imageID}:
113
+
114
+/images/{imageID}:
114 115
     get:
115 116
       description: Get image definition
116 117
       body:
117 118
         example: !include examples/image.json
119
+    delete:
120
+      description: Delete an image
121
+      responses:
122
+        200:
123
+          body:
124
+            example: !include examples/status-success.json
125
+
126
+/imageRepositoryMappings:
127
+  post:
128
+    description: |
129
+      Creates an image and updates an image repository.
130
+
131
+      This is designed as a webhook that a Docker registry can invoke when a
132
+      new tag is created. The image repository mapping contains a reference
133
+      to the repository, the image's metadata, and the name of the new tag.
134
+      Upon execution, a new image is created if it doesn't already exist, and
135
+      the image repository is updated with the new tag.
136
+    body:
137
+      example: !include examples/create-image-repository-mapping.json
118 138
 
119 139
 /services:
120 140
   get:
... ...
@@ -154,10 +159,7 @@ documentation:
154 154
       responses:
155 155
         200:
156 156
           body:
157
-            example: |
158
-              {
159
-                "success": true
160
-              }
157
+            example: !include examples/status-success.json
161 158
     /environment-variables:
162 159
       get:
163 160
         description: Environment variables associated with this service
... ...
@@ -183,10 +185,7 @@ documentation:
183 183
           responses:
184 184
             200:
185 185
               body:
186
-                example: |
187
-                  {
188
-                    "success": true
189
-                  }
186
+                example: !include examples/status-success.json
190 187
 /deployments:
191 188
   get:
192 189
     description: |
... ...
@@ -245,10 +244,7 @@ documentation:
245 245
     responses:
246 246
       200:
247 247
         body:
248
-          example: |
249
-            {
250
-              "success": true
251
-            }
248
+          example: !include examples/status-success.json
252 249
 /aliases:
253 250
   get:
254 251
     description: |
... ...
@@ -281,10 +277,7 @@ documentation:
281 281
     responses:
282 282
       200:
283 283
         body:
284
-          example: |
285
-            {
286
-              "success": true
287
-            }
284
+          example: !include examples/status-success.json
288 285
 /builds:
289 286
   get:
290 287
     description: |
... ...
@@ -318,10 +311,7 @@ documentation:
318 318
     responses:
319 319
       200:
320 320
         body:
321
-          example: |
322
-            {
323
-              "success": true
324
-            }
321
+          example: !include examples/status-success.json
325 322
   post:
326 323
     description: Launch a build
327 324
     body:
... ...
@@ -335,7 +325,8 @@ documentation:
335 335
             example: !include examples/build-results.json
336 336
 /buildConfigHooks/{buildId}/{secret}/{plugin}:
337 337
   post:
338
-    description: Webhook on push event from external repository
338
+    description: |
339
+      Webhook on push event from external repository
339 340
 
340 341
       buildId specifies which build to trigger, whereas plugin defines source of
341 342
       the request, this might be github, bitbucket or others.
... ...
@@ -373,10 +364,7 @@ documentation:
373 373
     responses:
374 374
       200:
375 375
         body:
376
-          example: |
377
-            {
378
-              "success": true
379
-            }
376
+          example: !include examples/status-success.json
380 377
 /pods:
381 378
   get:
382 379
     description: List all pods on this cluster
... ...
@@ -407,10 +395,7 @@ documentation:
407 407
       responses:
408 408
         200:
409 409
           body:
410
-            example: |
411
-              {
412
-                "success": true
413
-              }
410
+            example: !include examples/status-success.json
414 411
 
415 412
 /replicationControllers:
416 413
   get:
... ...
@@ -442,10 +427,7 @@ documentation:
442 442
       responses:
443 443
         200:
444 444
           body:
445
-            example: |
446
-              {
447
-                "success": true
448
-              }
445
+            example: !include examples/status-success.json
449 446
 
450 447
 /lbservices:
451 448
   get:
... ...
@@ -477,8 +459,4 @@ documentation:
477 477
       responses:
478 478
         200:
479 479
           body:
480
-            example: |
481
-              {
482
-                "success": true
483
-              }
484
-
480
+            example: !include examples/status-success.json