Browse code

Remove API docs and replace with link to Swagger UI

Clayton Coleman authored on 2014/12/16 06:11:13
Showing 49 changed files
... ...
@@ -62,10 +62,3 @@ clean:
62 62
 	rm -rf $(OUT_DIR) $(OUT_PKG_DIR)
63 63
 .PHONY: clean
64 64
 
65
-# Generate api docs from .raml to .html.
66
-#
67
-# Example:
68
-#   make api
69
-api:
70
-	hack/build-api-docs-image.sh
71
-.PHONY: api
... ...
@@ -138,7 +138,11 @@ The Kubernetes APIs are exposed at `http://localhost:8080/api/v1beta2/*`:
138 138
 * `http://localhost:8080/api/v1beta2/replicationControllers`
139 139
 * `http://localhost:8080/api/v1beta2/operations`
140 140
 
141
-A draft of the proposed API is available at http://rawgit.com/openshift/origin/master/api/openshift3.html and is developed under the [api](./api) directory.  Expect significant changes.
141
+OpenShift and Kubernetes integrate with the [Swagger 2.0 API framework](http://swagger.io) which aims to make it easier to document and write clients for RESTful APIs.  When you start OpenShift, the Swagger API endpoint is exposed at `http://localhost:8080/swaggerapi`. The Swagger UI makes it easy to view your documentation - to view the docs for your local version of OpenShift start the server with CORS enabled:
142
+
143
+    $ openshift start --cors-allowed-origins=.*
144
+
145
+and then browse to http://openshift3swagger-claytondev.rhcloud.com (which runs a copy of the Swagger UI that points to localhost:8080 by default).  Expand the operations available on v1beta1 to see the schemas (and to try the API directly).
142 146
 
143 147
 
144 148
 FAQ
145 149
deleted file mode 100644
... ...
@@ -1,5 +0,0 @@
1
-FROM google/nodejs
2
-RUN npm i -g raml2html@1.0.4
3
-ADD . /data
4
-CMD ["-i", "/data/openshift3.raml", "-o", "/data/openshift3.html"]
5
-ENTRYPOINT ["raml2html"]
... ...
@@ -1,18 +1,4 @@
1
-# DRAFT #
2
-# OpenShift v3 REST API (Alpha) 
1
+The API documentation has moved
2
+-------------------------------
3 3
 
4
-## Viewing the documentation ##
5
-Use htmlpreview for github with a URL like:
6
-[http://rawgit.com/openshift/origin/master/api/openshift3.html] (http://rawgit.com/openshift/origin/master/api/openshift3.html)
7
-
8
-## Generating the API document
9
-```
10
-make api
11
-```
12
-
13
-or:
14
-```
15
-hack/build-api-docs-image.sh
16
-```
17
-
18
-For additional documentation on raml go to [http://raml.org/](http://raml.org/)
4
+See https://github.com/openshift/origin/blob/master/README.md#api for instructions on how to use the new Swagger based UI
19 5
deleted file mode 100644
... ...
@@ -1,38 +0,0 @@
1
-{
2
-  "$schema": "http://json-schema.org/draft-03/schema",
3
-  "type": "object",
4
-  "required": true,
5
-  "description": "Config resource.",
6
-  "properties": {
7
-    "id": {
8
-      "type": "string",
9
-      "required": true
10
-    },
11
-    "name": {
12
-      "type": "string",
13
-      "required": true
14
-    },
15
-    "description": {
16
-      "type": "string",
17
-      "required": false
18
-    },
19
-    "items": {
20
-      "type": "array",
21
-      "required": false,
22
-      "items": {
23
-        "type": "object",
24
-        "required": true,
25
-        "properties": {
26
-          "kind": {
27
-            "type": "string",
28
-            "required": true
29
-          },
30
-          "id": {
31
-            "type": "string",
32
-            "required": true
33
-          }
34
-        }
35
-      }
36
-    }
37
-  }
38
-}
39 1
\ No newline at end of file
40 2
deleted file mode 100644
... ...
@@ -1,50 +0,0 @@
1
-{
2
-  "$schema": "http://json-schema.org/draft-03/schema",
3
-  "type": "object",
4
-  "required": false,
5
-  "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 `replicas` then the needed pods are generated using `podTemplate`. If more pods are running than `replicas`, then excess pods are deleted.",
6
-  "properties": {
7
-    "kind": {
8
-      "type": "string",
9
-      "required": false
10
-    },
11
-    "id": {
12
-      "type": "string",
13
-      "required": false
14
-    },
15
-    "creationTimestamp": {
16
-      "type": "string",
17
-      "required": false
18
-    },
19
-    "selfLink": {
20
-      "type": "string",
21
-      "required": false
22
-    },
23
-    "desiredState": {
24
-      "type": "object",
25
-      "required": false,
26
-      "description": "The desired configuration of the replicationController",
27
-      "properties": {
28
-        "replicas": {
29
-          "type": "number",
30
-          "required": false,
31
-          "description": "Number of pods desired in the set"
32
-        },
33
-        "replicaSelector": {
34
-          "type": "object",
35
-          "required": false,
36
-          "description": "Required labels used to identify pods in the set"
37
-        },
38
-        "podTemplate": {
39
-          "type": "object",
40
-          "required": false,
41
-          "description": "Template from which to create new pods, as necessary. Identical to pod schema."
42
-        }
43
-      }
44
-    },
45
-    "labels": {
46
-      "type": "object",
47
-      "required": false
48
-    }
49
-  }
50
-}
51 1
deleted file mode 100644
... ...
@@ -1,126 +0,0 @@
1
-{
2
-  "$schema": "http://json-schema.org/draft-04/schema",
3
-  "type": "object",
4
-  "description": "Manifest describing group of [Docker containers](http://docker.io); also used by [Google Cloud Platform's container-vm images](https://developers.google.com/compute/docs/containers).",
5
-  "properties": {
6
-    "version": {
7
-      "type": "string",
8
-      "description": "The version of the manifest.",
9
-      "enum": [
10
-        "v1beta1"
11
-      ]
12
-    },
13
-    "containers": {
14
-      "type": "array",
15
-      "description": "The list of containers to launch.",
16
-      "items": {
17
-        "type": "object",
18
-        "required": [
19
-          "image"
20
-        ],
21
-        "properties": {
22
-          "name": {
23
-            "type": "string",
24
-            "description" : "A symbolic name used to create and track the container. Must be an RFC1035 compatible value (a single segment of a DNS name). All containers must have unique names."
25
-          }, 
26
-          "image": {
27
-            "type": "string",
28
-            "description" : "The container image to run."
29
-          }, 
30
-          "command": {
31
-            "type": "array",
32
-            "description" : "The command line to run. If this is omitted, the container is assumed to have a command embedded in it.",
33
-            "items": {
34
-              "type": "string"
35
-            }
36
-          },
37
-          "workingDir": {
38
-            "type": "string",
39
-            "description" : "The initial working directory for the command. Default is the container’s embedded working directory or else the Docker default."
40
-          }, 
41
-          "volumeMounts": {
42
-            "type": "array",
43
-            "description" : "Data volumes to expose into the container.",
44
-            "items": {
45
-              "type": "object",
46
-              "properties": {
47
-                "name": {
48
-                  "type": "string",
49
-                  "description" : "The name of the volume to mount. This must match the name of a volume defined in volumes[]."
50
-                }, 
51
-                "mountPath": {
52
-                  "type": "string",
53
-                  "description" : "The path at which to mount the volume inside the container. This must be an absolute path and no longer than 512 characters."
54
-                }, 
55
-                "readOnly": {
56
-                  "type": "boolean",
57
-                  "description" : "Whether this volume should be read-only. Default is false (read-write)."
58
-                }
59
-              }
60
-            }
61
-          },
62
-          "ports": {
63
-            "type": "array",
64
-            "description" : "Ports to expose from the container. All of these are exposed out through the public interface of the VM.",
65
-            "items": {
66
-              "type": "object",
67
-              "properties": {
68
-                "name": {
69
-                  "type": "string",
70
-                  "description" : "A symbolic name used to create and track the port. Must be an RFC1035 compatible value (a single segment of a DNS name)."
71
-                },
72
-                "containerPort": {
73
-                  "type": "integer",
74
-                  "description" : "The port on which the container is listening."
75
-                }, 
76
-                "hostPort": {
77
-                  "type": "integer",
78
-                  "description" : "The port on the host which maps to the containerPort. Default is auto-allocated."
79
-                }, 
80
-                "protocol": {
81
-                  "type": "string",
82
-                  "description" : "The protocol for this port. Valid options are TCP and UDP. Default is TCP."
83
-                }
84
-              }
85
-            }
86
-          },
87
-          "env": {
88
-            "type": "array",
89
-            "description" : "Environment variables to set before the container runs.",
90
-            "items": {
91
-              "type": "object",
92
-              "properties": {
93
-                "name": {
94
-                  "type": "string",
95
-                  "description" : "The name of the environment variable."
96
-                }, 
97
-                "value": {
98
-                  "type": "string",
99
-                  "description" : "The value of the environment variable."
100
-                }
101
-              }
102
-            }
103
-          }
104
-        }
105
-      }
106
-    }, 
107
-    "volumes": {
108
-      "type": "array", 
109
-      "description" : "A list of volumes to share between containers.",
110
-      "uniqueItems": true,
111
-      "items": {
112
-        "type": "object",
113
-        "required": [
114
-          "name"
115
-        ],
116
-        "properties": {
117
-          "name": {
118
-            "type": "string",
119
-            "description" : "The name of the volume. Must be an RFC1035 compatible value (a single segment of a DNS name). All volumes must have unique names. These are referenced by `containers[].volumeMounts[].name`.",
120
-            "pattern": "^[a-z]([-a-z0-9]*[a-z0-9])*"
121
-          }
122
-        }
123
-      }
124
-    }
125
-  }
126
-}
127 1
deleted file mode 100644
... ...
@@ -1,87 +0,0 @@
1
-{
2
-  "$schema": "http://json-schema.org/draft-03/schema",
3
-  "type": "object",
4
-  "required": false,
5
-  "description": "Pod resource. A pod corresponds to a co-located group of [Docker containers](http://docker.io).",
6
-  "properties": {
7
-    "kind": {
8
-      "type": "string",
9
-      "required": false
10
-    },
11
-    "id": {
12
-      "type": "string",
13
-      "required": false
14
-    },
15
-    "creationTimestamp": {
16
-      "type": "string",
17
-      "required": false
18
-    },
19
-    "selfLink": {
20
-      "type": "string",
21
-      "required": false
22
-    },
23
-    "desiredState": {
24
-      "type": "object",
25
-      "required": false,
26
-      "description": "The desired configuration of the pod",
27
-      "properties": {
28
-        "manifest": {
29
-          "type": "object",
30
-          "required": false,
31
-          "description": "Manifest describing group of [Docker containers](http://docker.io); compatible with format used by [Google Cloud Platform's container-vm images](https://developers.google.com/compute/docs/containers)"
32
-        },
33
-        "status": {
34
-          "type": "string",
35
-          "required": false,
36
-          "description": ""
37
-        },
38
-        "host": {
39
-          "type": "string",
40
-          "required": false,
41
-          "description": ""
42
-        },
43
-        "hostIP": {
44
-          "type": "string",
45
-          "required": false,
46
-          "description": ""
47
-        },
48
-        "info": {
49
-          "type": "object",
50
-          "required": false,
51
-          "description": ""
52
-        }
53
-      }
54
-    },
55
-    "currentState": {
56
-      "type": "object",
57
-      "required": false,
58
-      "description": "The current configuration and status of the pod. Fields in common with desiredState have the same meaning.",
59
-      "properties": {
60
-        "manifest": {
61
-          "type": "object",
62
-          "required": false
63
-        },
64
-        "status": {
65
-          "type": "string",
66
-          "required": false
67
-        },
68
-        "host": {
69
-          "type": "string",
70
-          "required": false
71
-        },
72
-        "hostIP": {
73
-          "type": "string",
74
-          "required": false
75
-        },
76
-        "info": {
77
-          "type": "object",
78
-          "required": false
79
-        }
80
-      }
81
-    },
82
-    "labels": {
83
-      "type": "object",
84
-      "required": false
85
-    }
86
-  }
87
-}
88 1
deleted file mode 100644
... ...
@@ -1,40 +0,0 @@
1
-{
2
-  "$schema": "http://json-schema.org/draft-03/schema",
3
-  "type": "object",
4
-  "required": false,
5
-  "description": "A service resource.",
6
-  "properties": {
7
-    "kind": {
8
-      "type": "string",
9
-      "required": false
10
-    },
11
-    "id": {
12
-      "type": "string",
13
-      "required": false
14
-    },
15
-    "creationTimestamp": {
16
-      "type": "string",
17
-      "required": false
18
-    },
19
-    "selfLink": {
20
-      "type": "string",
21
-      "required": false
22
-    },
23
-    "name": {
24
-      "type": "string",
25
-      "required": false
26
-    },
27
-    "port": {
28
-      "type": "number",
29
-      "required": false
30
-    },
31
-    "labels": {
32
-      "type": "object",
33
-      "required": false
34
-    },
35
-    "selector": {
36
-      "type": "object",
37
-      "required": false
38
-    }
39
-  }
40
-}
41 1
deleted file mode 100644
... ...
@@ -1,68 +0,0 @@
1
-{
2
-  "$schema": "http://json-schema.org/draft-03/schema",
3
-  "type": "object",
4
-  "required": true,
5
-  "description": "Template resource.",
6
-  "properties": {
7
-    "id": {
8
-      "type": "string",
9
-      "required": true
10
-    },
11
-    "name": {
12
-      "type": "string",
13
-      "required": true
14
-    },
15
-    "description": {
16
-      "type": "string",
17
-      "required": false
18
-    },
19
-    "parameters": {
20
-      "type": "array",
21
-      "required": false,
22
-      "items": {
23
-        "type": "object",
24
-        "required": false,
25
-        "properties": {
26
-          "name": {
27
-            "type": "string",
28
-            "required": true
29
-          },
30
-          "generate": {
31
-            "type": "string",
32
-            "required": false
33
-          },
34
-          "from": {
35
-            "type": "string",
36
-            "required": false
37
-          },
38
-          "value": {
39
-            "type": "string",
40
-            "required": false
41
-          },
42
-          "description": {
43
-            "type": "string",
44
-            "required": false
45
-          }
46
-        }
47
-      }
48
-    },
49
-    "items": {
50
-      "type": "array",
51
-      "required": false,
52
-      "items": {
53
-        "type": "object",
54
-        "required": true,
55
-        "properties": {
56
-          "kind": {
57
-            "type": "string",
58
-            "required": true
59
-          },
60
-          "id": {
61
-            "type": "string",
62
-            "required": true
63
-          }
64
-        }
65
-      }
66
-    }
67
-  }
68
-}
69 1
\ No newline at end of file
70 2
deleted file mode 100644
... ...
@@ -1,55 +0,0 @@
1
-{
2
-  "items":
3
-  [
4
-    {
5
-      "apiVersion": "v1beta1",
6
-      "creationTimestamp": "2014-09-10T19:30:36Z",
7
-      "id": "9a3a5b7c-4ee9-11e4-9d75-0800279696e1",
8
-      "kind": "BuildConfig",
9
-      "parameters": {
10
-        "source": {
11
-          "type": "Git",
12
-          "git": {
13
-            "uri": "git://github.com/openshift/ruby-hello-world.git"
14
-          }
15
-        },
16
-        "strategy": {
17
-          "type": "Docker",
18
-          "dockerStrategy": {
19
-            "contextDir": "/my/build"
20
-          }
21
-        },
22
-        "output": {
23
-          "imageTag": "openshift/origin-ruby-sample:latest",
24
-          "registry": "172.30.17.1:5001"
25
-        }
26
-      },
27
-      "resourceVersion": 116
28
-    },
29
-    {
30
-      "apiVersion": "v1beta1",
31
-      "creationTimestamp": "2014-09-16T19:33:36Z",
32
-      "id": "5a6a5b9c-3dd8-11e4-9d75-0800279696e1",
33
-      "kind": "BuildConfig",
34
-      "parameters": {
35
-        "source": {
36
-          "type": "Git",
37
-          "git": {
38
-            "uri": "git://github.com/openshift/ruby-hello-world.git"
39
-          }
40
-        },
41
-        "strategy": {
42
-          "type": "STI",
43
-          "stiStrategy": {
44
-            "image": "openshift/sti-builder"
45
-          }
46
-        },
47
-        "output": {
48
-          "imageTag": "openshift/origin-ruby-sample:latest",
49
-          "registry": "172.30.17.1:5001"
50
-        }
51
-      },
52
-      "resourceVersion": 117
53
-    }
54
-  ]
55
-}
56 1
deleted file mode 100644
... ...
@@ -1,22 +0,0 @@
1
-{
2
-  "apiVersion": "v1beta1",
3
-  "creationTimestamp": "2014-09-16T19:33:36Z",
4
-  "parameters": {
5
-    "source": {
6
-      "type": "Git",
7
-      "git": {
8
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
9
-      }
10
-    },
11
-    "strategy": {
12
-      "type": "Docker"
13
-    },
14
-    "output": {
15
-      "imageTag": "openshift/origin-ruby-sample:latest",
16
-      "registry": "172.30.17.1:5001"
17
-    }
18
-  },
19
-  "id": "5a6a5b9c-3dd8-11e4-9d75-0800279696e1",
20
-  "kind": "BuildConfig",
21
-  "resourceVersion": 117
22
-}
23 1
\ No newline at end of file
24 2
deleted file mode 100644
... ...
@@ -1,30 +0,0 @@
1
-{
2
-  "apiVersion": "v1beta1",
3
-  "creationTimestamp": null,
4
-  "items": [
5
-    {
6
-      "creationTimestamp": "2014-09-16T02:58:19Z",
7
-      "id": "5065bcf2-3d4d-11e4-a95b-0800279696e1",
8
-      "podID": "build-sti-5065bcf2-3d4d-11e4-a95b-0800279696e1",
9
-      "parameters": {
10
-        "source": {
11
-          "type": "Git",
12
-          "git": {
13
-            "uri": "git://github.com/openshift/ruby-hello-world.git"
14
-          }
15
-        },
16
-        "strategy": {
17
-          "type": "Docker"
18
-        },
19
-        "output": {
20
-          "imageTag": "openshift/origin-ruby-sample:latest",
21
-          "registry": "172.30.17.1:5001"
22
-        }
23
-      },
24
-      "resourceVersion": 114,
25
-      "status": "new"
26
-    }
27
-  ],
28
-  "kind": "BuildList",
29
-  "resourceVersion": 116
30
-}
31 1
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-{
2
-  "list":
3
-  [
4
-    {
5
-      "id": "53c4249f076573c0f4000001",
6
-      "startTime": "2014-07-15T03:58:40Z",
7
-      "endTime": "2014-07-15T03:59:40Z",
8
-      "result": "SUCCESS",
9
-      "logs": "http://url/to/build/logs"
10
-    },
11
-    {
12
-      "id": "53c4249f076573c0f4000002",
13
-      "startTime": "2014-07-15T04:58:40Z",
14
-      "endTime": "2014-07-15T04:59:40Z",
15
-      "result": "FAILURE",
16
-      "logs": "http://url/to/build/logs"
17
-    }
18
-  ]
19
-}
20 1
deleted file mode 100644
... ...
@@ -1,24 +0,0 @@
1
-{
2
-  "apiVersion": "v1beta1",
3
-  "creationTimestamp": "2014-09-16T02:58:19Z",
4
-  "id": "5065bcf2-3d4d-11e4-a95b-0800279696e1",
5
-  "parameters": {
6
-    "source": {
7
-      "type": "Git",
8
-      "git": {
9
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
10
-      }
11
-    },
12
-    "strategy": {
13
-      "type": "Docker"
14
-    },
15
-    "output": {
16
-      "imageTag": "openshift/origin-ruby-sample:latest",
17
-      "registry": "172.30.17.1:5001"
18
-    }
19
-  },
20
-  "kind": "Build",
21
-  "podID": "build-sti-5065bcf2-3d4d-11e4-a95b-0800279696e1",
22
-  "resourceVersion": 114,
23
-  "status": "pending"
24
-}
25 1
deleted file mode 100644
... ...
@@ -1,148 +0,0 @@
1
-{
2
-  "kind": "Config",
3
-  "id": "example1",
4
-  "name": "My awesome PHP app",
5
-  "description": "Example PHP application with PostgreSQL database",
6
-  "apiVersion": "v1beta1",
7
-  "creationTimestamp": "2014-09-22T09:48:27Z",
8
-  "items": [
9
-    {
10
-      "kind": "Service",
11
-      "id": "frontend",
12
-      "creationTimestamp": null,
13
-      "apiVersion": "v1beta1",
14
-      "port": 8080,
15
-      "containerPort": 9292,
16
-      "selector": {
17
-        "name": "frontend"
18
-      }
19
-    },
20
-    {
21
-      "kind": "Service",
22
-      "id": "database",
23
-      "creationTimestamp": null,
24
-      "apiVersion": "v1beta1",
25
-      "port": 5432,
26
-      "containerPort": 5432,
27
-      "selector": {
28
-        "name": "database"
29
-      }      
30
-    },
31
-    {
32
-      "kind": "ReplicationController",
33
-      "id": "frontendController",
34
-      "creationTimestamp": null,
35
-      "apiVersion": "v1beta1",
36
-      "desiredState": {
37
-        "replicas": 2,
38
-        "replicaSelector": {
39
-          "name": "frontend"
40
-        },
41
-        "podTemplate": {
42
-          "desiredState": {
43
-            "manifest": {
44
-              "version": "v1beta1",
45
-              "id": "frontendController",
46
-              "volumes": null,
47
-              "containers": [
48
-                {
49
-                  "name": "nginx-php-app",
50
-                  "image": "mfojtik/nginx-php-app",
51
-                  "ports": [
52
-                    {
53
-                      "hostPort": 8080,
54
-                      "containerPort": 9292,
55
-                      "protocol": "TCP"
56
-                    }
57
-                  ],
58
-                  "env": [
59
-                    {
60
-                      "name": "PGPASSWORD",
61
-                      "key": "PGPASSWORD",
62
-                      "value": "MPbGM5T0"
63
-                    },
64
-                    {
65
-                      "name": "PGUSER",
66
-                      "key": "PGUSER",
67
-                      "value": "adminO8bR"
68
-                    },
69
-                    {
70
-                      "name": "PGDATABASE",
71
-                      "key": "PGDATABASE",
72
-                      "value": "mydb"
73
-                    }
74
-                  ]
75
-                }
76
-              ]
77
-            },
78
-            "restartpolicy": {}
79
-          },
80
-          "labels": {
81
-            "name": "frontend"
82
-          }
83
-        }
84
-      },
85
-      "labels": {
86
-        "name": "frontend"
87
-      }
88
-    },
89
-    {
90
-      "kind": "Pod",
91
-      "id": "postgresql",
92
-      "creationTimestamp": null,
93
-      "apiVersion": "v1beta1",
94
-      "labels": {
95
-        "name": "database"
96
-      },
97
-      "desiredState": {
98
-        "manifest": {
99
-          "version": "v1beta1",
100
-          "id": "database",
101
-          "volumes": null,
102
-          "containers": [
103
-            {
104
-              "name": "postgresql",
105
-              "image": "postgres",
106
-              "ports": [
107
-                {
108
-                  "hostPort": 5432,
109
-                  "containerPort": 5432,
110
-                  "protocol": "TCP"
111
-                }
112
-              ],
113
-              "env": [
114
-                {
115
-                  "name": "PGPASSWORD",
116
-                  "key": "PGPASSWORD",
117
-                  "value": "MPbGM5T0"
118
-                },
119
-                {
120
-                  "name": "PGUSER",
121
-                  "key": "PGUSER",
122
-                  "value": "adminO8bR"
123
-                },
124
-                {
125
-                  "name": "PGDATABASE",
126
-                  "key": "PGDATABASE",
127
-                  "value": "mydb"
128
-                }
129
-              ]
130
-            }
131
-          ]
132
-        },
133
-        "restartpolicy": {
134
-          "type": "RestartAlways"
135
-        }
136
-      },
137
-      "currentState": {
138
-        "manifest": {
139
-          "version": "",
140
-          "id": "",
141
-          "volumes": null,
142
-          "containers": null
143
-        },
144
-        "restartpolicy": {}
145
-      }
146
-    }
147
-  ]
148
-}
149 1
\ No newline at end of file
150 2
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-{
2
-  "kind": "BuildConfig",
3
-  "apiVersion": "v1beta1",
4
-  "parameters": {
5
-    "source": {
6
-      "type": "Git",
7
-      "git": {
8
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
9
-      }
10
-    },
11
-    "strategy": {
12
-      "type": "Docker"
13
-    },
14
-    "output": {
15
-      "imageTag": "openshift/origin-ruby-sample:latest",
16
-      "registry": "172.30.17.1:5001"
17
-    }
18
-  }
19
-}
20 1
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-{
2
-  "kind": "Build",
3
-  "apiVersion": "v1beta1",
4
-  "parameters": {
5
-    "source": {
6
-      "type": "Git",
7
-      "git": {
8
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
9
-      }
10
-    },
11
-    "strategy": {
12
-      "type": "Docker"
13
-    },
14
-    "output": {
15
-      "imageTag": "openshift/origin-ruby-sample:latest",
16
-      "registry": "172.30.17.1:5001"
17
-    }
18
-  }
19
-}
20 1
deleted file mode 100644
... ...
@@ -1,86 +0,0 @@
1
-{
2
-    "dockerImageRepository": "localhost:5000/someproject/somerepo",
3
-    "image": {
4
-        "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
5
-        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
6
-        "metadata": {
7
-            "Size": 0,
8
-            "architecture": "amd64",
9
-            "config": {
10
-                "AttachStderr": false,
11
-                "AttachStdin": false,
12
-                "AttachStdout": false,
13
-                "Cmd": [
14
-                    "/bin/sh"
15
-                ],
16
-                "CpuShares": 0,
17
-                "Cpuset": "",
18
-                "Domainname": "",
19
-                "Entrypoint": null,
20
-                "Env": [
21
-                    "c=e",
22
-                    "b=2",
23
-                    "a=1",
24
-                    "HOME=/",
25
-                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
26
-                ],
27
-                "ExposedPorts": null,
28
-                "Hostname": "",
29
-                "Image": "",
30
-                "Memory": 0,
31
-                "MemorySwap": 0,
32
-                "NetworkDisabled": false,
33
-                "OnBuild": null,
34
-                "OpenStdin": false,
35
-                "PortSpecs": null,
36
-                "StdinOnce": false,
37
-                "Tty": false,
38
-                "User": "",
39
-                "Volumes": null,
40
-                "WorkingDir": ""
41
-            },
42
-            "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
43
-            "container_config": {
44
-                "AttachStderr": true,
45
-                "AttachStdin": false,
46
-                "AttachStdout": true,
47
-                "Cmd": [
48
-                    "/bin/sh"
49
-                ],
50
-                "CpuShares": 0,
51
-                "Cpuset": "",
52
-                "Domainname": "",
53
-                "Entrypoint": null,
54
-                "Env": [
55
-                    "c=e",
56
-                    "b=2",
57
-                    "a=1",
58
-                    "HOME=/",
59
-                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
60
-                ],
61
-                "ExposedPorts": null,
62
-                "Hostname": "6b03c2dda0f8",
63
-                "Image": "localhost:5000/someproject/somerepo",
64
-                "Memory": 0,
65
-                "MemorySwap": 0,
66
-                "NetworkDisabled": false,
67
-                "OnBuild": null,
68
-                "OpenStdin": false,
69
-                "PortSpecs": null,
70
-                "StdinOnce": false,
71
-                "Tty": false,
72
-                "User": "",
73
-                "Volumes": null,
74
-                "WorkingDir": ""
75
-            },
76
-            "created": "2014-09-04T17:43:39.863545902Z",
77
-            "docker_version": "1.1.2",
78
-            "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
79
-            "os": "linux",
80
-            "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
81
-        }
82
-    },
83
-    "kind": "ImageRepositoryMapping",
84
-    "tag": "latest",
85
-    "version": "v1beta1"
86
-}
87 1
deleted file mode 100644
... ...
@@ -1,12 +0,0 @@
1
-{
2
-    "apiVersion": "v1beta1",
3
-    "dockerImageRepository": "openshift/ruby-19-centos",
4
-    "id": "test",
5
-    "kind": "ImageRepository",
6
-    "labels": {
7
-        "color": "blue"
8
-    },
9
-    "tags": {
10
-        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
11
-    }
12
-}
13 1
deleted file mode 100644
... ...
@@ -1,64 +0,0 @@
1
-{
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
-    },
64
-}
65 1
deleted file mode 100644
... ...
@@ -1,16 +0,0 @@
1
-{
2
-  "data":
3
-  {
4
-    "id": "53c4249f076573c0f4000001",
5
-    "suffix": "dev.rhcloud.com",
6
-    "name": "mydomain",
7
-    "members": [
8
-       {
9
-         "login": "adminuser",
10
-         "role": "admin",
11
-         "type": "user",
12
-         "owner": true
13
-       }
14
-    ]
15
-  }
16
-}
17 1
deleted file mode 100644
... ...
@@ -1,26 +0,0 @@
1
-{
2
-  "data":
3
-  {
4
-    "name": "service-name",
5
-    "desiredState": 
6
-    {
7
-      "replicas": 3,
8
-      "replicaPolicy": {
9
-        "atLeast": 2
10
-      },
11
-      "podTemplate": 
12
-      {
13
-         "desiredState":
14
-         {
15
-           "image": "server/domain/name",
16
-           "network-ports": [
17
-             {
18
-               "hostPort": 8080,
19
-               "containerPort": 80
20
-             }
21
-           ]
22
-         }
23
-      }
24
-    }
25
-  }
26
-}
27 1
deleted file mode 100644
... ...
@@ -1,52 +0,0 @@
1
-{
2
-  "apiVersion": "v1beta1",
3
-  "creationTimestamp": null,
4
-  "kind": "DeploymentConfigList",
5
-  "items": [
6
-    {
7
-      "id": "redisslave-config",
8
-      "kind": "DeploymentConfig",
9
-      "apiVersion": "v1beta1",
10
-      "triggerPolicy": "manual",
11
-      "template": {
12
-        "strategy": {
13
-          "type": "Recreate"
14
-        },
15
-        "controllerTemplate": {
16
-          "replicas": 2,
17
-          "replicaSelector": {
18
-            "name": "redisslave"
19
-          },
20
-          "podTemplate": {
21
-            "desiredState": {
22
-              "manifest": {
23
-                "version": "v1beta1",
24
-                "id": "redisSlaveController",
25
-                "containers": [
26
-                  {
27
-                    "name": "slave",
28
-                    "image": "brendanburns/redis-slave",
29
-                    "env": [
30
-                      {
31
-                        "name": "REDIS_PASSWORD",
32
-                        "value": "secret"
33
-                      }
34
-                    ],
35
-                    "ports": [
36
-                      {
37
-                        "containerPort": 6379
38
-                      }
39
-                    ]
40
-                  }
41
-                ]
42
-              }
43
-            },
44
-            "labels": {
45
-              "name": "redisslave"
46
-            }
47
-          }
48
-        }
49
-      }
50
-    }
51
-  ]
52
-}
53 1
deleted file mode 100644
... ...
@@ -1,45 +0,0 @@
1
-{
2
-  "id": "redisslave-config",
3
-  "kind": "DeploymentConfig",
4
-  "apiVersion": "v1beta1",
5
-  "triggerPolicy": "manual",
6
-  "template": {
7
-    "strategy": {
8
-      "type": "Recreate"
9
-    },
10
-    "controllerTemplate": {
11
-      "replicas": 2,
12
-      "replicaSelector": {
13
-        "name": "redisslave"
14
-      },
15
-      "podTemplate": {
16
-        "desiredState": {
17
-          "manifest": {
18
-            "version": "v1beta1",
19
-            "id": "redisSlaveController",
20
-            "containers": [
21
-              {
22
-                "name": "slave",
23
-                "image": "brendanburns/redis-slave",
24
-                "env": [
25
-                  {
26
-                    "name": "REDIS_PASSWORD",
27
-                    "value": "secret"
28
-                  }
29
-                ],
30
-                "ports": [
31
-                  {
32
-                    "containerPort": 6379
33
-                  }
34
-                ]
35
-              }
36
-            ]
37
-          }
38
-        },
39
-        "labels": {
40
-          "name": "redisslave"
41
-        }
42
-      }
43
-    }
44
-  }
45
-}
46 1
deleted file mode 100644
... ...
@@ -1,51 +0,0 @@
1
-{
2
-  "apiVersion": "v1beta1",
3
-  "creationTimestamp": null,
4
-  "kind": "DeploymentList",
5
-  "items": [
6
-    {
7
-      "id": "redisslave-deploy",
8
-      "kind": "Deployment",
9
-      "apiVersion": "v1beta1",
10
-      "triggerPolicy": "manual",
11
-      "configId": "redisslave-config",
12
-      "strategy": {
13
-        "type": "Recreate"
14
-      },
15
-      "controllerTemplate": {
16
-        "replicas": 2,
17
-        "replicaSelector": {
18
-          "name": "redisslave"
19
-        },
20
-        "podTemplate": {
21
-          "desiredState": {
22
-            "manifest": {
23
-              "version": "v1beta1",
24
-              "id": "redisSlaveController",
25
-              "containers": [
26
-                {
27
-                  "name": "slave",
28
-                  "image": "brendanburns/redis-slave",
29
-                  "env": [
30
-                    {
31
-                      "name": "REDIS_PASSWORD",
32
-                      "value": "secret"
33
-                    }
34
-                  ],
35
-                  "ports": [
36
-                    {
37
-                      "containerPort": 6379
38
-                    }
39
-                  ]
40
-                }
41
-              ]
42
-            }
43
-          },
44
-          "labels": {
45
-            "name": "redisslave"
46
-          }
47
-        }
48
-      }
49
-    }
50
-  ]
51
-}
52 1
deleted file mode 100644
... ...
@@ -1,44 +0,0 @@
1
-{
2
-  "id": "redisslave-deploy",
3
-  "kind": "Deployment",
4
-  "apiVersion": "v1beta1",
5
-  "triggerPolicy": "manual",
6
-  "configId": "redisslave-config",
7
-  "strategy": {
8
-    "type": "Recreate"
9
-  },
10
-  "controllerTemplate": {
11
-    "replicas": 2,
12
-    "replicaSelector": {
13
-      "name": "redisslave"
14
-    },
15
-    "podTemplate": {
16
-      "desiredState": {
17
-        "manifest": {
18
-          "version": "v1beta1",
19
-          "id": "redisSlaveController",
20
-          "containers": [
21
-            {
22
-              "name": "slave",
23
-              "image": "brendanburns/redis-slave",
24
-              "env": [
25
-                {
26
-                  "name": "REDIS_PASSWORD",
27
-                  "value": "secret"
28
-                }
29
-              ],
30
-              "ports": [
31
-                {
32
-                  "containerPort": 6379
33
-                }
34
-              ]
35
-            }
36
-          ]
37
-        }
38
-      },
39
-      "labels": {
40
-        "name": "redisslave"
41
-      }
42
-    }
43
-  }
44
-}
45 1
deleted file mode 100644
... ...
@@ -1,108 +0,0 @@
1
-{
2
-    "apiVersion": "v1beta1",
3
-    "creationTimestamp": null,
4
-    "items": [
5
-        {
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
40
-        },
41
-        {
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
104
-        }
105
-    ],
106
-    "kind": "ImageList",
107
-    "resourceVersion": 22
108
-}
109 1
deleted file mode 100644
... ...
@@ -1,30 +0,0 @@
1
-{
2
-    "apiVersion": "v1beta1",
3
-    "creationTimestamp": null,
4
-    "items": [
5
-        {
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
-            }
14
-        },
15
-        {
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
-            }
26
-        }
27
-    ],
28
-    "kind": "ImageRepositoryList",
29
-    "resourceVersion": 22
30
-}
31 1
deleted file mode 100644
... ...
@@ -1,14 +0,0 @@
1
-{
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
-    }
14
-}
15 1
deleted file mode 100644
... ...
@@ -1,66 +0,0 @@
1
-{
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
66
-}
67 1
deleted file mode 100644
... ...
@@ -1,50 +0,0 @@
1
-{
2
-    "items": [
3
-        {
4
-            "id": "my-pod-1",
5
-            "labels": {
6
-                "name": "testRun",
7
-                "replicationController": "testRun"
8
-            },
9
-            "desiredState": {
10
-              "manifest": {
11
-                "version": "v1beta1",
12
-                "id": "my-pod-1",
13
-                "containers": [{
14
-                  "image": "dockerfile/nginx",
15
-                  "ports": [{
16
-                    "hostPort": 8080,
17
-                    "containerPort": 80
18
-                  }]
19
-                }]
20
-              }
21
-            },
22
-            "currentState": {
23
-                "host": "host-1"
24
-            }
25
-        },
26
-        {
27
-            "id": "my-pod-2",
28
-            "labels": {
29
-                "name": "testRun",
30
-                "replicationController": "testRun"
31
-            },
32
-            "desiredState": {
33
-              "manifest": {
34
-                "version": "v1beta1",
35
-                "id": "my-pod-2",
36
-                "containers": [{
37
-                  "image": "dockerfile/nginx",
38
-                  "ports": [{
39
-                    "hostPort": 8080,
40
-                    "containerPort": 80
41
-                  }]
42
-                }]
43
-              }
44
-            },
45
-            "currentState": {
46
-                "host": "host-2"
47
-            }
48
-        }
49
-    ]
50
-}
51 1
deleted file mode 100644
... ...
@@ -1,30 +0,0 @@
1
-{
2
-  "id": "php",
3
-  "desiredState": {
4
-    "manifest": {
5
-      "version": "v1beta1",
6
-      "id": "php",
7
-      "containers": [{
8
-        "name": "nginx",
9
-        "image": "dockerfile/nginx",
10
-        "ports": [{
11
-          "containerPort": 80,
12
-          "hostPort": 8080
13
-        }],
14
-        "livenessProbe": {
15
-          "enabled": true,
16
-          "type": "http",
17
-          "initialDelaySeconds": 30,
18
-          "httpGet": {
19
-            "path": "/index.html",
20
-            "port": "8080"
21
-          }
22
-        }
23
-      }]
24
-    }
25
-  },
26
-  "labels": {
27
-    "name": "foo"
28
-  }
29
-}
30
-    
31 1
deleted file mode 100644
... ...
@@ -1,16 +0,0 @@
1
-{
2
-  "data":
3
-  {
4
-    "id": "53c4249f076573c0f4000001",
5
-    "suffix": "dev.rhcloud.com",
6
-    "name": "mydomain",
7
-    "members": [
8
-       {
9
-         "login": "adminuser",
10
-         "role": "admin",
11
-         "type": "user",
12
-         "owner": true
13
-       }
14
-    ]
15
-  }
16
-}
17 1
deleted file mode 100644
... ...
@@ -1,31 +0,0 @@
1
-{
2
-  "data":
3
-  [
4
-    {
5
-      "id": "53c4249f076573c0f4000001",
6
-      "suffix": "dev.rhcloud.com",
7
-      "name": "mydomain",
8
-      "members": [
9
-         {
10
-           "login": "adminuser",
11
-           "role": "admin",
12
-           "type": "user",
13
-           "owner": true
14
-         }
15
-      ]
16
-    },
17
-    {
18
-      "id": "54c4259f076573c0f4000023",
19
-      "suffix": "dev.rhcloud.com",
20
-      "name": "appdomain",
21
-      "members": [
22
-         {
23
-           "login": "adminuser",
24
-           "role": "admin",
25
-           "type": "user",
26
-           "owner": true
27
-         }
28
-      ]
29
-    }
30
-  ]
31
-}
32 1
deleted file mode 100644
... ...
@@ -1,3 +0,0 @@
1
-{
2
-  "templateId": "the-template-id"
3
-}
4 1
deleted file mode 100644
... ...
@@ -1,7 +0,0 @@
1
-{
2
-  "data":
3
-  {
4
-    "id": "53c4249f076573c0f4000001",
5
-    "name": "newproject-name"
6
-  }
7
-}
8 1
deleted file mode 100644
... ...
@@ -1,16 +0,0 @@
1
-{
2
-  "data":
3
-  {
4
-    "id": "53c4249f076573c0f4000001",
5
-    "suffix": "dev.rhcloud.com",
6
-    "name": "myproject",
7
-    "members": [
8
-       {
9
-         "login": "adminuser",
10
-         "role": "admin",
11
-         "type": "user",
12
-         "owner": true
13
-       }
14
-    ]
15
-  }
16
-}
17 1
deleted file mode 100644
... ...
@@ -1,30 +0,0 @@
1
-{
2
-    "items": [
3
-        {
4
-            "id": "testRun",
5
-            "desiredState": {
6
-                "replicas": 2,
7
-                "replicaSelector": {
8
-                    "name": "testRun"
9
-                },
10
-                "podTemplate": {
11
-                    "desiredState": {
12
-                        "image": "dockerfile/nginx",
13
-                        "networkPorts": [
14
-                            {
15
-                                "hostPort": 8080,
16
-                                "containerPort": 80
17
-                            }
18
-                        ]
19
-                    },
20
-                    "labels": {
21
-                        "name": "testRun"
22
-                    }
23
-                }
24
-            },
25
-            "labels": {
26
-                "name": "testRun"
27
-            }
28
-        }
29
-    ]
30
-}
31 1
\ No newline at end of file
32 2
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-  {
2
-    "id": "nginxController",
3
-    "desiredState": {
4
-      "replicas": 2,
5
-      "replicaSelector": {"name": "nginx"},
6
-      "podTemplate": {
7
-        "desiredState": {
8
-           "manifest": {
9
-             "version": "v1beta1",
10
-             "id": "nginxController",
11
-             "containers": [{
12
-               "name": "nginx",
13
-               "image": "dockerfile/nginx",
14
-               "ports": [{"containerPort": 80, "hostPort": 8080}]
15
-             }]
16
-           }
17
-         },
18
-         "labels": {"name": "nginx"}
19
-        }},
20
-    "labels": {"name": "nginx"}
21
-  }
22 1
deleted file mode 100644
... ...
@@ -1,26 +0,0 @@
1
-{
2
-    "items": [
3
-        {
4
-            "id": "example1",
5
-            "port": 8000,
6
-            "labels": {
7
-                "name": "nginx"
8
-            },
9
-            "selector": {
10
-                "name": "nginx"
11
-            }
12
-        },
13
-        {
14
-            "id": "example2",
15
-            "port": 8080,
16
-            "labels": {
17
-                "env": "prod",
18
-                "name": "jetty"
19
-            },
20
-            "selector": {
21
-                "env": "prod",
22
-                "name": "jetty"
23
-            }
24
-        }
25
-    ]
26
-}
27 1
deleted file mode 100644
... ...
@@ -1,34 +0,0 @@
1
-{
2
-  "data":
3
-  {
4
-    "id": "53c4249f076573c0f4000001",
5
-    "name": "service-name",
6
-    "domain": "domain-id",
7
-    "desiredState": 
8
-    {
9
-      "replicas": 3,
10
-      "replicaSelector": { "name": "service-name" },
11
-      "replicaPolicy": {
12
-        "atLeast": 2
13
-      },
14
-      "activeDeployment": "a_deployment_id",
15
-      "podTemplate": 
16
-      {
17
-         "desiredState":
18
-         {
19
-           "image": "server/domain/name",
20
-           "network-ports": [
21
-             {
22
-               "hostPort": 8080,
23
-               "containerPort": 80
24
-             }
25
-           ],
26
-           "owner": true
27
-         },
28
-         "labels": {
29
-           "name": "service-name"
30
-         }
31
-      }
32
-    }
33
-  }
34
-}
35 1
deleted file mode 100644
... ...
@@ -1,6 +0,0 @@
1
-{
2
- "apiVersion": "v1beta1",
3
- "creationTimestamp": null,
4
- "kind": "Status",
5
- "status": "success"
6
-}
7 1
deleted file mode 100644
... ...
@@ -1,139 +0,0 @@
1
-{
2
-  "id": "example1",
3
-  "kind": "Template",
4
-  "apiVersion": "v1beta1",
5
-  "name": "My awesome PHP app",
6
-  "description": "Example PHP application with PostgreSQL database",
7
-  "parameters": [
8
-    {
9
-      "name": "DB_PASSWORD",
10
-      "description": "PostgreSQL admin user password",
11
-      "generate": "expression",
12
-      "from": "[a-zA-Z0-9]{8}"
13
-    },
14
-    {
15
-      "name": "DB_USER",
16
-      "description": "PostgreSQL username",
17
-      "generate": "expression",
18
-      "from": "admin[a-zA-Z0-9]{4}"
19
-    },
20
-    {
21
-      "name": "DB_NAME",
22
-      "description": "PostgreSQL database name",
23
-      "value": "mydb"
24
-    }
25
-  ],
26
-  "items": [
27
-    {
28
-      "kind": "Service",
29
-      "id": "frontend",
30
-      "apiVersion": "v1beta1",
31
-      "port": 8080,
32
-      "containerPort": 9292,
33
-      "selector": {
34
-        "name": "frontend"
35
-      }
36
-    },
37
-    {
38
-      "kind": "Service",
39
-      "id": "database",
40
-      "apiVersion": "v1beta1",
41
-      "port": 5432,
42
-      "containerPort": 5432,
43
-      "selector": {
44
-        "name": "database"
45
-      }
46
-    },
47
-    {
48
-      "kind": "ReplicationController",
49
-      "id": "frontendController",
50
-      "apiVersion": "v1beta1",
51
-      "desiredState": {
52
-        "replicas": 2,
53
-        "replicaSelector": {
54
-          "name": "frontend"
55
-        },
56
-        "podTemplate": {
57
-          "desiredState": {
58
-            "manifest": {
59
-              "id": "frontendController",
60
-              "version": "v1beta1",
61
-              "containers": [
62
-                {
63
-                  "name": "nginx-php-app",
64
-                  "image": "mfojtik/nginx-php-app",
65
-                  "env": [
66
-                    {
67
-                      "name": "PGPASSWORD",
68
-                      "value": "${DB_PASSWORD}"
69
-                    },
70
-                    {
71
-                      "name": "PGUSER",
72
-                      "value": "${DB_USER}"
73
-                    },
74
-                    {
75
-                      "name": "PGDATABASE",
76
-                      "value": "${DB_NAME}"
77
-                    }
78
-                  ],
79
-                  "ports": [
80
-                    {
81
-                      "containerPort": 9292,
82
-                      "hostPort": 8080
83
-                    }
84
-                  ]
85
-                }
86
-              ]
87
-            }
88
-          },
89
-          "labels": {
90
-            "name": "frontend"
91
-          }
92
-        }
93
-      },
94
-      "labels": {
95
-        "name": "frontend"
96
-      }
97
-    },
98
-    {
99
-      "kind": "Pod",
100
-      "id": "postgresql",
101
-      "apiVersion": "v1beta1",
102
-      "desiredState": {
103
-        "manifest": {
104
-          "version": "v1beta1",
105
-          "id": "database",
106
-          "containers": [
107
-            {
108
-              "name": "postgresql",
109
-              "image": "postgres",
110
-              "env": [
111
-                {
112
-                  "name": "PGPASSWORD",
113
-                  "value": "${DB_PASSWORD}"
114
-                },
115
-                {
116
-                  "name": "PGUSER",
117
-                  "value": "${DB_USER}"
118
-                },
119
-                {
120
-                  "name": "PGDATABASE",
121
-                  "value": "${DB_NAME}"
122
-                }
123
-              ],
124
-              "ports": [
125
-                {
126
-                  "containerPort": 5432,
127
-                  "hostPort": 5432
128
-                }
129
-              ]
130
-            }
131
-          ]
132
-        }
133
-      },
134
-      "labels": {
135
-        "name": "database"
136
-      }
137
-    }
138
-  ]
139
-}
140 1
deleted file mode 100644
... ...
@@ -1,16 +0,0 @@
1
-{
2
-  "data":
3
-  {
4
-    "id": "53c4249f076573c0f4000001",
5
-    "suffix": "dev.rhcloud.com",
6
-    "name": "mydomain",
7
-    "members": [
8
-       {
9
-         "login": "adminuser",
10
-         "role": "admin",
11
-         "type": "user",
12
-         "owner": true
13
-       }
14
-    ]
15
-  }
16
-}
17 1
deleted file mode 100644
... ...
@@ -1,2278 +0,0 @@
1
-<!DOCTYPE HTML><html><head><title>OpenShift 3 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.4"><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
-        .parent {
19
-            color: #999;
20
-        }
21
-        .list-group-item > .badge {
22
-            float: none;
23
-            margin-right: 6px;
24
-        }
25
-        .panel-title > .methods {
26
-            float: right;
27
-        }
28
-        .badge {
29
-            border-radius: 0;
30
-            text-transform: uppercase;
31
-            width: 70px;
32
-            font-weight: normal;
33
-            color: #f3f3f6;
34
-            line-height: normal;
35
-        }
36
-        .badge_get {
37
-            background-color: #63a8e2;
38
-        }
39
-        .badge_post {
40
-            background-color: #6cbd7d;
41
-        }
42
-        .badge_put {
43
-            background-color: #22bac4;
44
-        }
45
-        .badge_delete {
46
-            background-color: #d26460;
47
-        }
48
-        .list-group, .panel-group {
49
-            margin-bottom: 0;
50
-        }
51
-        .panel-group .panel+.panel-white {
52
-            margin-top: 0;
53
-        }
54
-        .panel-group .panel-white {
55
-            border-bottom: 1px solid #F5F5F5;
56
-            border-radius: 0;
57
-        }
58
-        .panel-white:last-child {
59
-            border-bottom-color: white;
60
-            -webkit-box-shadow: none;
61
-            box-shadow: none;
62
-        }
63
-        .panel-white .panel-heading {
64
-            background: white;
65
-        }
66
-        .tab-pane ul {
67
-            padding-left: 2em;
68
-        }
69
-        .tab-pane h2 {
70
-            font-size: 1.2em;
71
-            padding-bottom: 4px;
72
-            border-bottom: 1px solid #ddd;
73
-        }
74
-        .tab-pane h3 {
75
-            font-size: 1.1em;
76
-        }
77
-        .tab-content {
78
-            border-left: 1px solid #ddd;
79
-            border-right: 1px solid #ddd;
80
-            border-bottom: 1px solid #ddd;
81
-            padding: 10px;
82
-        }
83
-        #sidebar {
84
-            margin-top: 30px;
85
-        }
86
-        .top-resource-description {
87
-            border-bottom: 1px solid #ddd;
88
-            background: #fcfcfc;
89
-            padding: 15px 15px 0 15px;
90
-            margin: -15px -15px 10px -15px;
91
-        }
92
-        .resource-description {
93
-            border-bottom: 1px solid #fcfcfc;
94
-            background: #fcfcfc;
95
-            padding: 15px 15px 0 15px;
96
-            margin: -15px -15px 10px -15px;
97
-        }
98
-        .list-group .badge {
99
-            float: left;
100
-        }
101
-        .method_description {
102
-            margin-left: 85px;
103
-        }
104
-        .method_description p:last-child {
105
-            margin: 0;
106
-        }
107
-        .list-group-item {
108
-            cursor: pointer;
109
-        }
110
-        .list-group-item:hover {
111
-            background-color: #f5f5f5;
112
-        }
113
-    </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>OpenShift 3 API documentation <small>version v1beta1</small></h1><p>http://localhost:8080/osapi/v1beta1</p><h3 id=Overview><a href=#Overview>Overview</a></h3><p>The OpenShift 3.x model attempts to expose underlying Docker and Kubernetes models as accurately as possible, with a focus on easy composition of applications by a developer (install Ruby, push code, add MySQL).</p><p>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><h3 id=Kubernetes-API><a href=#Kubernetes-API>Kubernetes API</a></h3><p>OpenShift exposes <a href=http://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/kubernetes.html>Kubernetes API</a> at <a href="http://localhost:8080/api/v1beta1/">http://localhost:8080/api/v1beta1/</a>.</p></div><div class="panel panel-default"><div class=panel-heading><h3 id=_aliases class=panel-title>/aliases (NOT IMPLEMENTED)</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></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></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></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__aliases__aliasID_><span class=parent>/aliases</span>/{aliasID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_aliases__aliasID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_aliases__aliasID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_aliases__aliasID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__aliases__aliasID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_aliases__aliasID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific alias.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_aliases__aliasID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific alias.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_aliases__aliasID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific alias.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_aliases__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>/aliases</span>/{aliasID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific alias.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_aliases__aliasID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_aliases__aliasID__get_request><h3>URI Parameters</h3><ul><li><strong>aliasID</strong>: <em>required (string)</em></li></ul></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_aliases__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>/aliases</span>/{aliasID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific alias.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_aliases__aliasID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_aliases__aliasID__put_request><h3>URI Parameters</h3><ul><li><strong>aliasID</strong>: <em>required (string)</em></li></ul></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_aliases__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>/aliases</span>/{aliasID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific alias.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_aliases__aliasID__delete_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_aliases__aliasID__delete_request><h3>URI Parameters</h3><ul><li><strong>aliasID</strong>: <em>required (string)</em></li></ul></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=_buildConfigs class=panel-title>/buildConfigs</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__buildConfigs><span class=parent></span>/buildConfigs</a> <span class=methods><a href=# data-toggle=modal data-target=#_buildConfigs_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_buildConfigs_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__buildConfigs class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_buildConfigs_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all BuildConfigs.</p><p>BuildConfig contains the inputs needed to produce a new deployable image.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_buildConfigs_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=_buildConfigs_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>/buildConfigs</h4></div><div class=modal-body><div class="alert alert-info"><p>List all BuildConfigs.</p><p>BuildConfig contains the inputs needed to produce a new deployable image.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_buildConfigs_get_request data-toggle=tab>Request</a></li><li><a href=#_buildConfigs_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_buildConfigs_get_request></div><div class=tab-pane id=_buildConfigs_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>[
114
-  {
115
-    "apiVersion": "v1beta1",
116
-    "creationTimestamp": "2014-09-10T19:30:36Z",
117
-    "id": "9a3a5b7c-4ee9-11e4-9d75-0800279696e1",
118
-    "kind": "BuildConfig",
119
-    "parameters": {
120
-      "source": {
121
-        "type": "Git",
122
-        "git": {
123
-          "uri": "git://github.com/openshift/ruby-hello-world.git"
124
-        }
125
-      },
126
-      "strategy": {
127
-        "type": "Docker",
128
-        "dockerStrategy": {
129
-          "contextDir": "/my/build"
130
-        }
131
-      },
132
-      "output": {
133
-        "imageTag": "openshift/origin-ruby-sample:latest",
134
-        "registry": "172.30.17.1:5001"
135
-      }
136
-    },
137
-    "resourceVersion": 116
138
-  },
139
-  {
140
-    "apiVersion": "v1beta1",
141
-    "creationTimestamp": "2014-09-16T19:33:36Z",
142
-    "id": "5a6a5b9c-3dd8-11e4-9d75-0800279696e1",
143
-    "kind": "BuildConfig",
144
-    "parameters": {
145
-      "source": {
146
-        "type": "Git",
147
-        "git": {
148
-          "uri": "git://github.com/openshift/ruby-hello-world.git"
149
-        }
150
-      },
151
-      "strategy": {
152
-        "type": "STI",
153
-        "stiStrategy": {
154
-          "builderImage": "openshift/sti-builder"
155
-        }
156
-      },
157
-      "output": {
158
-        "imageTag": "openshift/origin-ruby-sample:latest",
159
-        "registry": "172.30.17.1:5001"
160
-      }
161
-    },
162
-    "resourceVersion": 117
163
-  }
164
-]
165
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_buildConfigs_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>/buildConfigs</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=#_buildConfigs_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_buildConfigs_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
166
-  "kind": "BuildConfig",
167
-  "apiVersion": "v1beta1",
168
-  "parameters": {
169
-    "source": {
170
-      "type": "Git",
171
-      "git": {
172
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
173
-      }
174
-    },
175
-    "strategy": {
176
-      "type": "Docker"
177
-    },
178
-    "output": {
179
-      "imageTag": "openshift/origin-ruby-sample:latest",
180
-      "registry": "172.30.17.1:5001"
181
-    }
182
-  }
183
-}
184
-</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__buildConfigs__configID_><span class=parent>/buildConfigs</span>/{configID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_buildConfigs__configID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_buildConfigs__configID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_buildConfigs__configID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__buildConfigs__configID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_buildConfigs__configID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific build configuration.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_buildConfigs__configID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific build configuration.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_buildConfigs__configID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific build configuration.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_buildConfigs__configID__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>/buildConfigs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific build configuration.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_buildConfigs__configID__get_request data-toggle=tab>Request</a></li><li><a href=#_buildConfigs__configID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_buildConfigs__configID__get_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_buildConfigs__configID__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>{
185
-  "apiVersion": "v1beta1",
186
-  "creationTimestamp": "2014-09-16T19:33:36Z",
187
-  "parameters": {
188
-    "source": {
189
-      "type": "Git",
190
-      "git": {
191
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
192
-      }
193
-    },
194
-    "strategy": {
195
-      "type": "Docker"
196
-    },
197
-    "output": {
198
-      "imageTag": "openshift/origin-ruby-sample:latest",
199
-      "registry": "172.30.17.1:5001"
200
-    }
201
-  },
202
-  "id": "5a6a5b9c-3dd8-11e4-9d75-0800279696e1",
203
-  "kind": "BuildConfig",
204
-  "resourceVersion": 117
205
-}</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_buildConfigs__configID__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>/buildConfigs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific build configuration.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_buildConfigs__configID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_buildConfigs__configID__put_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
206
-  "apiVersion": "v1beta1",
207
-  "creationTimestamp": "2014-09-16T19:33:36Z",
208
-  "parameters": {
209
-    "source": {
210
-      "type": "Git",
211
-      "git": {
212
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
213
-      }
214
-    },
215
-    "strategy": {
216
-      "type": "Docker"
217
-    },
218
-    "output": {
219
-      "imageTag": "openshift/origin-ruby-sample:latest",
220
-      "registry": "172.30.17.1:5001"
221
-    }
222
-  },
223
-  "id": "5a6a5b9c-3dd8-11e4-9d75-0800279696e1",
224
-  "kind": "BuildConfig",
225
-  "resourceVersion": 117
226
-}</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_buildConfigs__configID__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>/buildConfigs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific build configuration.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_buildConfigs__configID__delete_request data-toggle=tab>Request</a></li><li><a href=#_buildConfigs__configID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_buildConfigs__configID__delete_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_buildConfigs__configID__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>{
227
- "apiVersion": "v1beta1",
228
- "creationTimestamp": null,
229
- "kind": "Status",
230
- "status": "success"
231
-}
232
-</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>List all builds.</p><p>Build encapsulates the inputs needed to produce a new deployable image, as well as the status of the operation and a reference to the Pod which runs the build.</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>List all builds.</p><p>Build encapsulates the inputs needed to produce a new deployable image, as well as the status of the operation and a reference to the Pod which runs the build.</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>{
233
-  "apiVersion": "v1beta1",
234
-  "creationTimestamp": null,
235
-  "items": [
236
-    {
237
-      "creationTimestamp": "2014-09-16T02:58:19Z",
238
-      "id": "5065bcf2-3d4d-11e4-a95b-0800279696e1",
239
-      "podID": "build-sti-5065bcf2-3d4d-11e4-a95b-0800279696e1",
240
-      "parameters": {
241
-        "source": {
242
-          "type": "Git",
243
-          "git": {
244
-            "uri": "git://github.com/openshift/ruby-hello-world.git"
245
-          }
246
-        },
247
-        "strategy": {
248
-          "type": "Docker"
249
-        },
250
-        "output": {
251
-          "imageTag": "openshift/origin-ruby-sample:latest",
252
-          "registry": "172.30.17.1:5001"
253
-        }
254
-      },
255
-      "resourceVersion": 114,
256
-      "status": "new"
257
-    }
258
-  ],
259
-  "kind": "BuildList",
260
-  "resourceVersion": 116
261
-}
262
-</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>{
263
-  "kind": "Build",
264
-  "apiVersion": "v1beta1",
265
-  "parameters": {
266
-    "source": {
267
-      "type": "Git",
268
-      "git": {
269
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
270
-      }
271
-    },
272
-    "strategy": {
273
-      "type": "Docker"
274
-    },
275
-    "output": {
276
-      "imageTag": "openshift/origin-ruby-sample:latest",
277
-      "registry": "172.30.17.1:5001"
278
-    }
279
-  }
280
-}
281
-</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__builds__buildID_><span class=parent>/builds</span>/{buildID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_builds__buildID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_builds__buildID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_builds__buildID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__builds__buildID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_builds__buildID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get details about a specific build.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_builds__buildID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific build.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_builds__buildID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific build.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_builds__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>/builds</span>/{buildID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get details about a specific build.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_builds__buildID__get_request data-toggle=tab>Request</a></li><li><a href=#_builds__buildID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_builds__buildID__get_request><h3>URI Parameters</h3><ul><li><strong>buildID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_builds__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>{
282
-  "apiVersion": "v1beta1",
283
-  "creationTimestamp": "2014-09-16T02:58:19Z",
284
-  "id": "5065bcf2-3d4d-11e4-a95b-0800279696e1",
285
-  "parameters": {
286
-    "source": {
287
-      "type": "Git",
288
-      "git": {
289
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
290
-      }
291
-    },
292
-    "strategy": {
293
-      "type": "Docker"
294
-    },
295
-    "output": {
296
-      "imageTag": "openshift/origin-ruby-sample:latest",
297
-      "registry": "172.30.17.1:5001"
298
-    }
299
-  },
300
-  "kind": "Build",
301
-  "podID": "build-sti-5065bcf2-3d4d-11e4-a95b-0800279696e1",
302
-  "resourceVersion": 114,
303
-  "status": "pending"
304
-}
305
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_builds__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>/builds</span>/{buildID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific build.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_builds__buildID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_builds__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>{
306
-  "apiVersion": "v1beta1",
307
-  "creationTimestamp": "2014-09-16T02:58:19Z",
308
-  "id": "5065bcf2-3d4d-11e4-a95b-0800279696e1",
309
-  "parameters": {
310
-    "source": {
311
-      "type": "Git",
312
-      "git": {
313
-        "uri": "git://github.com/openshift/ruby-hello-world.git"
314
-      }
315
-    },
316
-    "strategy": {
317
-      "type": "Docker"
318
-    },
319
-    "output": {
320
-      "imageTag": "openshift/origin-ruby-sample:latest",
321
-      "registry": "172.30.17.1:5001"
322
-    }
323
-  },
324
-  "kind": "Build",
325
-  "podID": "build-sti-5065bcf2-3d4d-11e4-a95b-0800279696e1",
326
-  "resourceVersion": 114,
327
-  "status": "pending"
328
-}
329
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_builds__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>/builds</span>/{buildID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific build.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_builds__buildID__delete_request data-toggle=tab>Request</a></li><li><a href=#_builds__buildID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_builds__buildID__delete_request><h3>URI Parameters</h3><ul><li><strong>buildID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_builds__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>{
330
- "apiVersion": "v1beta1",
331
- "creationTimestamp": null,
332
- "kind": "Status",
333
- "status": "success"
334
-}
335
-</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_configs class=panel-title>/configs (NOT IMPLEMENTED)</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__configs><span class=parent></span>/configs</a> <span class=methods><a href=# data-toggle=modal data-target=#_configs_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_configs_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__configs class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_configs_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all configs that your account has access to.</p><p>A config defines 0..n Kubernetes resources.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_configs_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Create a new config.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_configs_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>/configs</h4></div><div class=modal-body><div class="alert alert-info"><p>List all configs that your account has access to.</p><p>A config defines 0..n Kubernetes resources.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_configs_get_request data-toggle=tab>Request</a></li><li><a href=#_configs_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_configs_get_request></div><div class=tab-pane id=_configs_get_response><h2>HTTP status code <a href=http://httpstatus.es/200 target=_blank>200</a></h2></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_configs_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>/configs</h4></div><div class=modal-body><div class="alert alert-info"><p>Create a new config.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_configs_post_request data-toggle=tab>Request</a></li><li><a href=#_configs_post_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_configs_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
336
-  "$schema": "http://json-schema.org/draft-03/schema",
337
-  "type": "object",
338
-  "required": true,
339
-  "description": "Config resource.",
340
-  "properties": {
341
-    "id": {
342
-      "type": "string",
343
-      "required": true
344
-    },
345
-    "name": {
346
-      "type": "string",
347
-      "required": true
348
-    },
349
-    "description": {
350
-      "type": "string",
351
-      "required": false
352
-    },
353
-    "items": {
354
-      "type": "array",
355
-      "required": false,
356
-      "items": {
357
-        "type": "object",
358
-        "required": true,
359
-        "properties": {
360
-          "kind": {
361
-            "type": "string",
362
-            "required": true
363
-          },
364
-          "id": {
365
-            "type": "string",
366
-            "required": true
367
-          }
368
-        }
369
-      }
370
-    }
371
-  }
372
-}</code></pre><p><strong>Example</strong>:</p><pre><code>{
373
-  "kind": "Config",
374
-  "id": "example1",
375
-  "name": "My awesome PHP app",
376
-  "description": "Example PHP application with PostgreSQL database",
377
-  "apiVersion": "v1beta1",
378
-  "creationTimestamp": "2014-09-22T09:48:27Z",
379
-  "items": [
380
-    {
381
-      "kind": "Service",
382
-      "id": "frontend",
383
-      "creationTimestamp": null,
384
-      "apiVersion": "v1beta1",
385
-      "port": 8080,
386
-      "containerPort": 9292,
387
-      "selector": {
388
-        "name": "frontend"
389
-      }
390
-    },
391
-    {
392
-      "kind": "Service",
393
-      "id": "database",
394
-      "creationTimestamp": null,
395
-      "apiVersion": "v1beta1",
396
-      "port": 5432,
397
-      "containerPort": 5432,
398
-      "selector": {
399
-        "name": "database"
400
-      }      
401
-    },
402
-    {
403
-      "kind": "ReplicationController",
404
-      "id": "frontendController",
405
-      "creationTimestamp": null,
406
-      "apiVersion": "v1beta1",
407
-      "desiredState": {
408
-        "replicas": 2,
409
-        "replicaSelector": {
410
-          "name": "frontend"
411
-        },
412
-        "podTemplate": {
413
-          "desiredState": {
414
-            "manifest": {
415
-              "version": "v1beta1",
416
-              "id": "frontendController",
417
-              "volumes": null,
418
-              "containers": [
419
-                {
420
-                  "name": "nginx-php-app",
421
-                  "image": "mfojtik/nginx-php-app",
422
-                  "ports": [
423
-                    {
424
-                      "hostPort": 8080,
425
-                      "containerPort": 9292,
426
-                      "protocol": "TCP"
427
-                    }
428
-                  ],
429
-                  "env": [
430
-                    {
431
-                      "name": "PGPASSWORD",
432
-                      "key": "PGPASSWORD",
433
-                      "value": "MPbGM5T0"
434
-                    },
435
-                    {
436
-                      "name": "PGUSER",
437
-                      "key": "PGUSER",
438
-                      "value": "adminO8bR"
439
-                    },
440
-                    {
441
-                      "name": "PGDATABASE",
442
-                      "key": "PGDATABASE",
443
-                      "value": "mydb"
444
-                    }
445
-                  ]
446
-                }
447
-              ]
448
-            },
449
-            "restartpolicy": {}
450
-          },
451
-          "labels": {
452
-            "name": "frontend"
453
-          }
454
-        }
455
-      },
456
-      "labels": {
457
-        "name": "frontend"
458
-      }
459
-    },
460
-    {
461
-      "kind": "Pod",
462
-      "id": "postgresql",
463
-      "creationTimestamp": null,
464
-      "apiVersion": "v1beta1",
465
-      "labels": {
466
-        "name": "database"
467
-      },
468
-      "desiredState": {
469
-        "manifest": {
470
-          "version": "v1beta1",
471
-          "id": "database",
472
-          "volumes": null,
473
-          "containers": [
474
-            {
475
-              "name": "postgresql",
476
-              "image": "postgres",
477
-              "ports": [
478
-                {
479
-                  "hostPort": 5432,
480
-                  "containerPort": 5432,
481
-                  "protocol": "TCP"
482
-                }
483
-              ],
484
-              "env": [
485
-                {
486
-                  "name": "PGPASSWORD",
487
-                  "key": "PGPASSWORD",
488
-                  "value": "MPbGM5T0"
489
-                },
490
-                {
491
-                  "name": "PGUSER",
492
-                  "key": "PGUSER",
493
-                  "value": "adminO8bR"
494
-                },
495
-                {
496
-                  "name": "PGDATABASE",
497
-                  "key": "PGDATABASE",
498
-                  "value": "mydb"
499
-                }
500
-              ]
501
-            }
502
-          ]
503
-        },
504
-        "restartpolicy": {
505
-          "type": "RestartAlways"
506
-        }
507
-      },
508
-      "currentState": {
509
-        "manifest": {
510
-          "version": "",
511
-          "id": "",
512
-          "volumes": null,
513
-          "containers": null
514
-        },
515
-        "restartpolicy": {}
516
-      }
517
-    }
518
-  ]
519
-}</code></pre></div><div class=tab-pane id=_configs_post_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>{
520
- "apiVersion": "v1beta1",
521
- "creationTimestamp": null,
522
- "kind": "Status",
523
- "status": "success"
524
-}
525
-</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__configs__configID_><span class=parent>/configs</span>/{configID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_configs__configID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_configs__configID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_configs__configID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__configs__configID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_configs__configID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific config.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_configs__configID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific config.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_configs__configID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific config.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_configs__configID__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>/configs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific config.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_configs__configID__get_request data-toggle=tab>Request</a></li><li><a href=#_configs__configID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_configs__configID__get_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_configs__configID__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>{
526
-  "kind": "Config",
527
-  "id": "example1",
528
-  "name": "My awesome PHP app",
529
-  "description": "Example PHP application with PostgreSQL database",
530
-  "apiVersion": "v1beta1",
531
-  "creationTimestamp": "2014-09-22T09:48:27Z",
532
-  "items": [
533
-    {
534
-      "kind": "Service",
535
-      "id": "frontend",
536
-      "creationTimestamp": null,
537
-      "apiVersion": "v1beta1",
538
-      "port": 8080,
539
-      "containerPort": 9292,
540
-      "selector": {
541
-        "name": "frontend"
542
-      }
543
-    },
544
-    {
545
-      "kind": "Service",
546
-      "id": "database",
547
-      "creationTimestamp": null,
548
-      "apiVersion": "v1beta1",
549
-      "port": 5432,
550
-      "containerPort": 5432,
551
-      "selector": {
552
-        "name": "database"
553
-      }      
554
-    },
555
-    {
556
-      "kind": "ReplicationController",
557
-      "id": "frontendController",
558
-      "creationTimestamp": null,
559
-      "apiVersion": "v1beta1",
560
-      "desiredState": {
561
-        "replicas": 2,
562
-        "replicaSelector": {
563
-          "name": "frontend"
564
-        },
565
-        "podTemplate": {
566
-          "desiredState": {
567
-            "manifest": {
568
-              "version": "v1beta1",
569
-              "id": "frontendController",
570
-              "volumes": null,
571
-              "containers": [
572
-                {
573
-                  "name": "nginx-php-app",
574
-                  "image": "mfojtik/nginx-php-app",
575
-                  "ports": [
576
-                    {
577
-                      "hostPort": 8080,
578
-                      "containerPort": 9292,
579
-                      "protocol": "TCP"
580
-                    }
581
-                  ],
582
-                  "env": [
583
-                    {
584
-                      "name": "PGPASSWORD",
585
-                      "key": "PGPASSWORD",
586
-                      "value": "MPbGM5T0"
587
-                    },
588
-                    {
589
-                      "name": "PGUSER",
590
-                      "key": "PGUSER",
591
-                      "value": "adminO8bR"
592
-                    },
593
-                    {
594
-                      "name": "PGDATABASE",
595
-                      "key": "PGDATABASE",
596
-                      "value": "mydb"
597
-                    }
598
-                  ]
599
-                }
600
-              ]
601
-            },
602
-            "restartpolicy": {}
603
-          },
604
-          "labels": {
605
-            "name": "frontend"
606
-          }
607
-        }
608
-      },
609
-      "labels": {
610
-        "name": "frontend"
611
-      }
612
-    },
613
-    {
614
-      "kind": "Pod",
615
-      "id": "postgresql",
616
-      "creationTimestamp": null,
617
-      "apiVersion": "v1beta1",
618
-      "labels": {
619
-        "name": "database"
620
-      },
621
-      "desiredState": {
622
-        "manifest": {
623
-          "version": "v1beta1",
624
-          "id": "database",
625
-          "volumes": null,
626
-          "containers": [
627
-            {
628
-              "name": "postgresql",
629
-              "image": "postgres",
630
-              "ports": [
631
-                {
632
-                  "hostPort": 5432,
633
-                  "containerPort": 5432,
634
-                  "protocol": "TCP"
635
-                }
636
-              ],
637
-              "env": [
638
-                {
639
-                  "name": "PGPASSWORD",
640
-                  "key": "PGPASSWORD",
641
-                  "value": "MPbGM5T0"
642
-                },
643
-                {
644
-                  "name": "PGUSER",
645
-                  "key": "PGUSER",
646
-                  "value": "adminO8bR"
647
-                },
648
-                {
649
-                  "name": "PGDATABASE",
650
-                  "key": "PGDATABASE",
651
-                  "value": "mydb"
652
-                }
653
-              ]
654
-            }
655
-          ]
656
-        },
657
-        "restartpolicy": {
658
-          "type": "RestartAlways"
659
-        }
660
-      },
661
-      "currentState": {
662
-        "manifest": {
663
-          "version": "",
664
-          "id": "",
665
-          "volumes": null,
666
-          "containers": null
667
-        },
668
-        "restartpolicy": {}
669
-      }
670
-    }
671
-  ]
672
-}</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_configs__configID__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>/configs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific config.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_configs__configID__put_request data-toggle=tab>Request</a></li><li><a href=#_configs__configID__put_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_configs__configID__put_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_configs__configID__put_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>{
673
- "apiVersion": "v1beta1",
674
- "creationTimestamp": null,
675
- "kind": "Status",
676
- "status": "success"
677
-}
678
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_configs__configID__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>/configs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific config.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_configs__configID__delete_request data-toggle=tab>Request</a></li><li><a href=#_configs__configID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_configs__configID__delete_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_configs__configID__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>{
679
- "apiVersion": "v1beta1",
680
- "creationTimestamp": null,
681
- "kind": "Status",
682
- "status": "success"
683
-}
684
-</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_deploymentConfigs class=panel-title>/deploymentConfigs</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__deploymentConfigs><span class=parent></span>/deploymentConfigs</a> <span class=methods><a href=# data-toggle=modal data-target=#_deploymentConfigs_get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_deploymentConfigs_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__deploymentConfigs class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_deploymentConfigs_get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>List all DeploymentConfigs.</p><p>A DeploymentConfig represents a configuration for a single deployment of a replication controller: a template for the deployment, how new deployments are triggered, what the current deployed state is.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_deploymentConfigs_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=_deploymentConfigs_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>/deploymentConfigs</h4></div><div class=modal-body><div class="alert alert-info"><p>List all DeploymentConfigs.</p><p>A DeploymentConfig represents a configuration for a single deployment of a replication controller: a template for the deployment, how new deployments are triggered, what the current deployed state is.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deploymentConfigs_get_request data-toggle=tab>Request</a></li><li><a href=#_deploymentConfigs_get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deploymentConfigs_get_request></div><div class=tab-pane id=_deploymentConfigs_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>{
685
-  "apiVersion": "v1beta1",
686
-  "creationTimestamp": null,
687
-  "kind": "DeploymentConfigList",
688
-  "items": [
689
-    {
690
-      "id": "redisslave-config",
691
-      "kind": "DeploymentConfig",
692
-      "apiVersion": "v1beta1",
693
-      "triggerPolicy": "manual",
694
-      "template": {
695
-        "strategy": {
696
-          "type": "Recreate"
697
-        },
698
-        "controllerTemplate": {
699
-          "replicas": 2,
700
-          "replicaSelector": {
701
-            "name": "redisslave"
702
-          },
703
-          "podTemplate": {
704
-            "desiredState": {
705
-              "manifest": {
706
-                "version": "v1beta1",
707
-                "id": "redisSlaveController",
708
-                "containers": [
709
-                  {
710
-                    "name": "slave",
711
-                    "image": "brendanburns/redis-slave",
712
-                    "env": [
713
-                      {
714
-                        "name": "REDIS_PASSWORD",
715
-                        "value": "secret"
716
-                      }
717
-                    ],
718
-                    "ports": [
719
-                      {
720
-                        "containerPort": 6379
721
-                      }
722
-                    ]
723
-                  }
724
-                ]
725
-              }
726
-            },
727
-            "labels": {
728
-              "name": "redisslave"
729
-            }
730
-          }
731
-        }
732
-      }
733
-    }
734
-  ]
735
-}
736
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deploymentConfigs_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>/deploymentConfigs</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=#_deploymentConfigs_post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deploymentConfigs_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
737
- "apiVersion": "v1beta1",
738
- "creationTimestamp": null,
739
- "kind": "Status",
740
- "status": "success"
741
-}
742
-</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__deploymentConfigs__configID_><span class=parent>/deploymentConfigs</span>/{configID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_deploymentConfigs__configID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_deploymentConfigs__configID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_deploymentConfigs__configID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__deploymentConfigs__configID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_deploymentConfigs__configID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get a specific build configuration.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_deploymentConfigs__configID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific build configuration.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_deploymentConfigs__configID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific build configuration.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deploymentConfigs__configID__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>/deploymentConfigs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific build configuration.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deploymentConfigs__configID__get_request data-toggle=tab>Request</a></li><li><a href=#_deploymentConfigs__configID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deploymentConfigs__configID__get_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_deploymentConfigs__configID__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>{
743
-  "id": "redisslave-config",
744
-  "kind": "DeploymentConfig",
745
-  "apiVersion": "v1beta1",
746
-  "triggerPolicy": "manual",
747
-  "template": {
748
-    "strategy": {
749
-      "type": "Recreate"
750
-    },
751
-    "controllerTemplate": {
752
-      "replicas": 2,
753
-      "replicaSelector": {
754
-        "name": "redisslave"
755
-      },
756
-      "podTemplate": {
757
-        "desiredState": {
758
-          "manifest": {
759
-            "version": "v1beta1",
760
-            "id": "redisSlaveController",
761
-            "containers": [
762
-              {
763
-                "name": "slave",
764
-                "image": "brendanburns/redis-slave",
765
-                "env": [
766
-                  {
767
-                    "name": "REDIS_PASSWORD",
768
-                    "value": "secret"
769
-                  }
770
-                ],
771
-                "ports": [
772
-                  {
773
-                    "containerPort": 6379
774
-                  }
775
-                ]
776
-              }
777
-            ]
778
-          }
779
-        },
780
-        "labels": {
781
-          "name": "redisslave"
782
-        }
783
-      }
784
-    }
785
-  }
786
-}
787
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deploymentConfigs__configID__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>/deploymentConfigs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific build configuration.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deploymentConfigs__configID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deploymentConfigs__configID__put_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Example</strong>:</p><pre><code>{
788
-  "id": "redisslave-config",
789
-  "kind": "DeploymentConfig",
790
-  "apiVersion": "v1beta1",
791
-  "triggerPolicy": "manual",
792
-  "template": {
793
-    "strategy": {
794
-      "type": "Recreate"
795
-    },
796
-    "controllerTemplate": {
797
-      "replicas": 2,
798
-      "replicaSelector": {
799
-        "name": "redisslave"
800
-      },
801
-      "podTemplate": {
802
-        "desiredState": {
803
-          "manifest": {
804
-            "version": "v1beta1",
805
-            "id": "redisSlaveController",
806
-            "containers": [
807
-              {
808
-                "name": "slave",
809
-                "image": "brendanburns/redis-slave",
810
-                "env": [
811
-                  {
812
-                    "name": "REDIS_PASSWORD",
813
-                    "value": "secret"
814
-                  }
815
-                ],
816
-                "ports": [
817
-                  {
818
-                    "containerPort": 6379
819
-                  }
820
-                ]
821
-              }
822
-            ]
823
-          }
824
-        },
825
-        "labels": {
826
-          "name": "redisslave"
827
-        }
828
-      }
829
-    }
830
-  }
831
-}
832
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deploymentConfigs__configID__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>/deploymentConfigs</span>/{configID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific build configuration.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deploymentConfigs__configID__delete_request data-toggle=tab>Request</a></li><li><a href=#_deploymentConfigs__configID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deploymentConfigs__configID__delete_request><h3>URI Parameters</h3><ul><li><strong>configID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_deploymentConfigs__configID__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>{
833
- "apiVersion": "v1beta1",
834
- "creationTimestamp": null,
835
- "kind": "Status",
836
- "status": "success"
837
-}
838
-</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>List all deployments.</p><p>A deployment represents a single unique realization of a deployment config.</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>List all deployments.</p><p>A deployment represents a single unique realization of a deployment config.</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>{
839
-  "apiVersion": "v1beta1",
840
-  "creationTimestamp": null,
841
-  "kind": "DeploymentList",
842
-  "items": [
843
-    {
844
-      "id": "redisslave-deploy",
845
-      "kind": "Deployment",
846
-      "apiVersion": "v1beta1",
847
-      "triggerPolicy": "manual",
848
-      "configId": "redisslave-config",
849
-      "strategy": {
850
-        "type": "Recreate"
851
-      },
852
-      "controllerTemplate": {
853
-        "replicas": 2,
854
-        "replicaSelector": {
855
-          "name": "redisslave"
856
-        },
857
-        "podTemplate": {
858
-          "desiredState": {
859
-            "manifest": {
860
-              "version": "v1beta1",
861
-              "id": "redisSlaveController",
862
-              "containers": [
863
-                {
864
-                  "name": "slave",
865
-                  "image": "brendanburns/redis-slave",
866
-                  "env": [
867
-                    {
868
-                      "name": "REDIS_PASSWORD",
869
-                      "value": "secret"
870
-                    }
871
-                  ],
872
-                  "ports": [
873
-                    {
874
-                      "containerPort": 6379
875
-                    }
876
-                  ]
877
-                }
878
-              ]
879
-            }
880
-          },
881
-          "labels": {
882
-            "name": "redisslave"
883
-          }
884
-        }
885
-      }
886
-    }
887
-  ]
888
-}
889
-</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>{
890
-  "id": "redisslave-deploy",
891
-  "kind": "Deployment",
892
-  "apiVersion": "v1beta1",
893
-  "triggerPolicy": "manual",
894
-  "configId": "redisslave-config",
895
-  "strategy": {
896
-    "type": "Recreate"
897
-  },
898
-  "controllerTemplate": {
899
-    "replicas": 2,
900
-    "replicaSelector": {
901
-      "name": "redisslave"
902
-    },
903
-    "podTemplate": {
904
-      "desiredState": {
905
-        "manifest": {
906
-          "version": "v1beta1",
907
-          "id": "redisSlaveController",
908
-          "containers": [
909
-            {
910
-              "name": "slave",
911
-              "image": "brendanburns/redis-slave",
912
-              "env": [
913
-                {
914
-                  "name": "REDIS_PASSWORD",
915
-                  "value": "secret"
916
-                }
917
-              ],
918
-              "ports": [
919
-                {
920
-                  "containerPort": 6379
921
-                }
922
-              ]
923
-            }
924
-          ]
925
-        }
926
-      },
927
-      "labels": {
928
-        "name": "redisslave"
929
-      }
930
-    }
931
-  }
932
-}
933
-</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__deployments__deploymentID_><span class=parent>/deployments</span>/{deploymentID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_deployments__deploymentID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_deployments__deploymentID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_deployments__deploymentID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__deployments__deploymentID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_deployments__deploymentID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get details about a specific deployment.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_deployments__deploymentID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific deployment.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_deployments__deploymentID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific deployment.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deployments__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>/deployments</span>/{deploymentID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get details about a specific deployment.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deployments__deploymentID__get_request data-toggle=tab>Request</a></li><li><a href=#_deployments__deploymentID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deployments__deploymentID__get_request><h3>URI Parameters</h3><ul><li><strong>deploymentID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_deployments__deploymentID__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>{
934
-  "id": "redisslave-deploy",
935
-  "kind": "Deployment",
936
-  "apiVersion": "v1beta1",
937
-  "triggerPolicy": "manual",
938
-  "configId": "redisslave-config",
939
-  "strategy": {
940
-    "type": "Recreate"
941
-  },
942
-  "controllerTemplate": {
943
-    "replicas": 2,
944
-    "replicaSelector": {
945
-      "name": "redisslave"
946
-    },
947
-    "podTemplate": {
948
-      "desiredState": {
949
-        "manifest": {
950
-          "version": "v1beta1",
951
-          "id": "redisSlaveController",
952
-          "containers": [
953
-            {
954
-              "name": "slave",
955
-              "image": "brendanburns/redis-slave",
956
-              "env": [
957
-                {
958
-                  "name": "REDIS_PASSWORD",
959
-                  "value": "secret"
960
-                }
961
-              ],
962
-              "ports": [
963
-                {
964
-                  "containerPort": 6379
965
-                }
966
-              ]
967
-            }
968
-          ]
969
-        }
970
-      },
971
-      "labels": {
972
-        "name": "redisslave"
973
-      }
974
-    }
975
-  }
976
-}
977
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deployments__deploymentID__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>/deployments</span>/{deploymentID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific deployment.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deployments__deploymentID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deployments__deploymentID__put_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>{
978
-  "id": "redisslave-deploy",
979
-  "kind": "Deployment",
980
-  "apiVersion": "v1beta1",
981
-  "triggerPolicy": "manual",
982
-  "configId": "redisslave-config",
983
-  "strategy": {
984
-    "type": "Recreate"
985
-  },
986
-  "controllerTemplate": {
987
-    "replicas": 2,
988
-    "replicaSelector": {
989
-      "name": "redisslave"
990
-    },
991
-    "podTemplate": {
992
-      "desiredState": {
993
-        "manifest": {
994
-          "version": "v1beta1",
995
-          "id": "redisSlaveController",
996
-          "containers": [
997
-            {
998
-              "name": "slave",
999
-              "image": "brendanburns/redis-slave",
1000
-              "env": [
1001
-                {
1002
-                  "name": "REDIS_PASSWORD",
1003
-                  "value": "secret"
1004
-                }
1005
-              ],
1006
-              "ports": [
1007
-                {
1008
-                  "containerPort": 6379
1009
-                }
1010
-              ]
1011
-            }
1012
-          ]
1013
-        }
1014
-      },
1015
-      "labels": {
1016
-        "name": "redisslave"
1017
-      }
1018
-    }
1019
-  }
1020
-}
1021
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_deployments__deploymentID__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>/deployments</span>/{deploymentID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific deployment.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_deployments__deploymentID__delete_request data-toggle=tab>Request</a></li><li><a href=#_deployments__deploymentID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_deployments__deploymentID__delete_request><h3>URI Parameters</h3><ul><li><strong>deploymentID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_deployments__deploymentID__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>{
1022
- "apiVersion": "v1beta1",
1023
- "creationTimestamp": null,
1024
- "kind": "Status",
1025
- "status": "success"
1026
-}
1027
-</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>List 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>List 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>{
1028
-    "apiVersion": "v1beta1",
1029
-    "creationTimestamp": null,
1030
-    "items": [
1031
-        {
1032
-            "creationTimestamp": "2014-09-10T12:23:01-04:00",
1033
-            "dockerImageRepository": "localhost:5000/someproject/somerepo",
1034
-            "id": "somerepo",
1035
-            "resourceVersion": 17,
1036
-            "tags": {
1037
-                "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1038
-                "latest": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b"
1039
-            }
1040
-        },
1041
-        {
1042
-            "creationTimestamp": "2014-09-10T09:33:42-04:00",
1043
-            "dockerImageRepository": "openshift/ruby-19-centos",
1044
-            "id": "test",
1045
-            "labels": {
1046
-                "color": "blue"
1047
-            },
1048
-            "resourceVersion": 14,
1049
-            "tags": {
1050
-                "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
1051
-            }
1052
-        }
1053
-    ],
1054
-    "kind": "ImageRepositoryList",
1055
-    "resourceVersion": 22
1056
-}
1057
-</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>{
1058
-    "apiVersion": "v1beta1",
1059
-    "dockerImageRepository": "openshift/ruby-19-centos",
1060
-    "id": "test",
1061
-    "kind": "ImageRepository",
1062
-    "labels": {
1063
-        "color": "blue"
1064
-    },
1065
-    "tags": {
1066
-        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
1067
-    }
1068
-}
1069
-</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__imageRepositories__repositoryID_><span class=parent>/imageRepositories</span>/{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 a specific 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>/imageRepositories</span>/{repositoryID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get information about a specific 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>{
1070
-    "apiVersion": "v1beta1",
1071
-    "creationTimestamp": "2014-09-10T09:33:42-04:00",
1072
-    "dockerImageRepository": "openshift/ruby-19-centos",
1073
-    "id": "test",
1074
-    "kind": "ImageRepository",
1075
-    "labels": {
1076
-        "color": "blue"
1077
-    },
1078
-    "resourceVersion": 14,
1079
-    "tags": {
1080
-        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
1081
-    }
1082
-}
1083
-</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>/imageRepositories</span>/{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>{
1084
-    "apiVersion": "v1beta1",
1085
-    "creationTimestamp": "2014-09-10T09:33:42-04:00",
1086
-    "dockerImageRepository": "openshift/ruby-19-centos",
1087
-    "id": "test",
1088
-    "kind": "ImageRepository",
1089
-    "labels": {
1090
-        "color": "blue"
1091
-    },
1092
-    "resourceVersion": 14,
1093
-    "tags": {
1094
-        "latest": "120e218dd395ec314e7b6249f39d2853911b3d6def6ea164ae05722649f34b16"
1095
-    }
1096
-}
1097
-</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>/imageRepositories</span>/{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>{
1098
- "apiVersion": "v1beta1",
1099
- "creationTimestamp": null,
1100
- "kind": "Status",
1101
- "status": "success"
1102
-}
1103
-</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>Create an image and update 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>Create an image and update 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>{
1104
-    "dockerImageRepository": "localhost:5000/someproject/somerepo",
1105
-    "image": {
1106
-        "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1107
-        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1108
-        "metadata": {
1109
-            "Size": 0,
1110
-            "architecture": "amd64",
1111
-            "config": {
1112
-                "AttachStderr": false,
1113
-                "AttachStdin": false,
1114
-                "AttachStdout": false,
1115
-                "Cmd": [
1116
-                    "/bin/sh"
1117
-                ],
1118
-                "CpuShares": 0,
1119
-                "Cpuset": "",
1120
-                "Domainname": "",
1121
-                "Entrypoint": null,
1122
-                "Env": [
1123
-                    "c=e",
1124
-                    "b=2",
1125
-                    "a=1",
1126
-                    "HOME=/",
1127
-                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
1128
-                ],
1129
-                "ExposedPorts": null,
1130
-                "Hostname": "",
1131
-                "Image": "",
1132
-                "Memory": 0,
1133
-                "MemorySwap": 0,
1134
-                "NetworkDisabled": false,
1135
-                "OnBuild": null,
1136
-                "OpenStdin": false,
1137
-                "PortSpecs": null,
1138
-                "StdinOnce": false,
1139
-                "Tty": false,
1140
-                "User": "",
1141
-                "Volumes": null,
1142
-                "WorkingDir": ""
1143
-            },
1144
-            "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
1145
-            "container_config": {
1146
-                "AttachStderr": true,
1147
-                "AttachStdin": false,
1148
-                "AttachStdout": true,
1149
-                "Cmd": [
1150
-                    "/bin/sh"
1151
-                ],
1152
-                "CpuShares": 0,
1153
-                "Cpuset": "",
1154
-                "Domainname": "",
1155
-                "Entrypoint": null,
1156
-                "Env": [
1157
-                    "c=e",
1158
-                    "b=2",
1159
-                    "a=1",
1160
-                    "HOME=/",
1161
-                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
1162
-                ],
1163
-                "ExposedPorts": null,
1164
-                "Hostname": "6b03c2dda0f8",
1165
-                "Image": "localhost:5000/someproject/somerepo",
1166
-                "Memory": 0,
1167
-                "MemorySwap": 0,
1168
-                "NetworkDisabled": false,
1169
-                "OnBuild": null,
1170
-                "OpenStdin": false,
1171
-                "PortSpecs": null,
1172
-                "StdinOnce": false,
1173
-                "Tty": false,
1174
-                "User": "",
1175
-                "Volumes": null,
1176
-                "WorkingDir": ""
1177
-            },
1178
-            "created": "2014-09-04T17:43:39.863545902Z",
1179
-            "docker_version": "1.1.2",
1180
-            "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1181
-            "os": "linux",
1182
-            "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
1183
-        }
1184
-    },
1185
-    "kind": "ImageRepositoryMapping",
1186
-    "tag": "latest",
1187
-    "version": "v1beta1"
1188
-}
1189
-</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>List 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>List 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>{
1190
-    "apiVersion": "v1beta1",
1191
-    "creationTimestamp": null,
1192
-    "items": [
1193
-        {
1194
-            "creationTimestamp": "2014-09-10T09:33:43-04:00",
1195
-            "dockerImageReference": "openshift/ruby-19-centos:latest",
1196
-            "id": "abcd1234",
1197
-            "metadata": {
1198
-                "Size": 0,
1199
-                "containerconfig": {
1200
-                    "AttachStderr": false,
1201
-                    "AttachStdin": false,
1202
-                    "AttachStdout": false,
1203
-                    "Cmd": null,
1204
-                    "CpuShares": 0,
1205
-                    "Dns": null,
1206
-                    "Domainname": "",
1207
-                    "Entrypoint": null,
1208
-                    "Env": null,
1209
-                    "ExposedPorts": null,
1210
-                    "Hostname": "",
1211
-                    "Image": "",
1212
-                    "Memory": 0,
1213
-                    "MemorySwap": 0,
1214
-                    "NetworkDisabled": false,
1215
-                    "OpenStdin": false,
1216
-                    "PortSpecs": null,
1217
-                    "StdinOnce": false,
1218
-                    "Tty": false,
1219
-                    "User": "",
1220
-                    "Volumes": null,
1221
-                    "VolumesFrom": "",
1222
-                    "WorkingDir": ""
1223
-                },
1224
-                "created": "0001-01-01T00:00:00Z",
1225
-                "id": ""
1226
-            },
1227
-            "resourceVersion": 15
1228
-        },
1229
-        {
1230
-            "creationTimestamp": "2014-09-10T12:23:24-04:00",
1231
-            "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1232
-            "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1233
-            "metadata": {
1234
-                "Size": 0,
1235
-                "architecture": "amd64",
1236
-                "config": {
1237
-                    "AttachStderr": false,
1238
-                    "AttachStdin": false,
1239
-                    "AttachStdout": false,
1240
-                    "Cmd": null,
1241
-                    "CpuShares": 0,
1242
-                    "Dns": null,
1243
-                    "Domainname": "",
1244
-                    "Entrypoint": null,
1245
-                    "Env": null,
1246
-                    "ExposedPorts": null,
1247
-                    "Hostname": "",
1248
-                    "Image": "",
1249
-                    "Memory": 0,
1250
-                    "MemorySwap": 0,
1251
-                    "NetworkDisabled": false,
1252
-                    "OpenStdin": false,
1253
-                    "PortSpecs": null,
1254
-                    "StdinOnce": false,
1255
-                    "Tty": false,
1256
-                    "User": "",
1257
-                    "Volumes": null,
1258
-                    "VolumesFrom": "",
1259
-                    "WorkingDir": ""
1260
-                },
1261
-                "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
1262
-                "containerconfig": {
1263
-                    "AttachStderr": false,
1264
-                    "AttachStdin": false,
1265
-                    "AttachStdout": false,
1266
-                    "Cmd": null,
1267
-                    "CpuShares": 0,
1268
-                    "Dns": null,
1269
-                    "Domainname": "",
1270
-                    "Entrypoint": null,
1271
-                    "Env": null,
1272
-                    "ExposedPorts": null,
1273
-                    "Hostname": "",
1274
-                    "Image": "",
1275
-                    "Memory": 0,
1276
-                    "MemorySwap": 0,
1277
-                    "NetworkDisabled": false,
1278
-                    "OpenStdin": false,
1279
-                    "PortSpecs": null,
1280
-                    "StdinOnce": false,
1281
-                    "Tty": false,
1282
-                    "User": "",
1283
-                    "Volumes": null,
1284
-                    "VolumesFrom": "",
1285
-                    "WorkingDir": ""
1286
-                },
1287
-                "created": "0001-01-01T00:00:00Z",
1288
-                "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1289
-                "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
1290
-            },
1291
-            "resourceVersion": 18
1292
-        }
1293
-    ],
1294
-    "kind": "ImageList",
1295
-    "resourceVersion": 22
1296
-}
1297
-</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>{
1298
-    "apiVersion": "v1beta1",
1299
-    "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1300
-    "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1301
-    "kind": "Image",
1302
-    "metadata": {
1303
-        "Size": 0,
1304
-        "architecture": "amd64",
1305
-        "config": {
1306
-            "AttachStderr": false,
1307
-            "AttachStdin": false,
1308
-            "AttachStdout": false,
1309
-            "Cmd": null,
1310
-            "CpuShares": 0,
1311
-            "Dns": null,
1312
-            "Domainname": "",
1313
-            "Entrypoint": null,
1314
-            "Env": null,
1315
-            "ExposedPorts": null,
1316
-            "Hostname": "",
1317
-            "Image": "",
1318
-            "Memory": 0,
1319
-            "MemorySwap": 0,
1320
-            "NetworkDisabled": false,
1321
-            "OpenStdin": false,
1322
-            "PortSpecs": null,
1323
-            "StdinOnce": false,
1324
-            "Tty": false,
1325
-            "User": "",
1326
-            "Volumes": null,
1327
-            "VolumesFrom": "",
1328
-            "WorkingDir": ""
1329
-        },
1330
-        "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
1331
-        "containerconfig": {
1332
-            "AttachStderr": false,
1333
-            "AttachStdin": false,
1334
-            "AttachStdout": false,
1335
-            "Cmd": null,
1336
-            "CpuShares": 0,
1337
-            "Dns": null,
1338
-            "Domainname": "",
1339
-            "Entrypoint": null,
1340
-            "Env": null,
1341
-            "ExposedPorts": null,
1342
-            "Hostname": "",
1343
-            "Image": "",
1344
-            "Memory": 0,
1345
-            "MemorySwap": 0,
1346
-            "NetworkDisabled": false,
1347
-            "OpenStdin": false,
1348
-            "PortSpecs": null,
1349
-            "StdinOnce": false,
1350
-            "Tty": false,
1351
-            "User": "",
1352
-            "Volumes": null,
1353
-            "VolumesFrom": "",
1354
-            "WorkingDir": ""
1355
-        },
1356
-        "created": "0001-01-01T00:00:00Z",
1357
-        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1358
-        "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
1359
-    },
1360
-}
1361
-</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__images__imageID_><span class=parent>/images</span>/{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 a specific 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 a specific 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>/images</span>/{imageID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get a specific 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>{
1362
-    "apiVersion": "v1beta1",
1363
-    "creationTimestamp": "2014-09-10T12:23:24-04:00",
1364
-    "dockerImageReference": "localhost:5000/someproject/somerepo:c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1365
-    "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1366
-    "kind": "Image",
1367
-    "metadata": {
1368
-        "Size": 0,
1369
-        "architecture": "amd64",
1370
-        "config": {
1371
-            "AttachStderr": false,
1372
-            "AttachStdin": false,
1373
-            "AttachStdout": false,
1374
-            "Cmd": null,
1375
-            "CpuShares": 0,
1376
-            "Dns": null,
1377
-            "Domainname": "",
1378
-            "Entrypoint": null,
1379
-            "Env": null,
1380
-            "ExposedPorts": null,
1381
-            "Hostname": "",
1382
-            "Image": "",
1383
-            "Memory": 0,
1384
-            "MemorySwap": 0,
1385
-            "NetworkDisabled": false,
1386
-            "OpenStdin": false,
1387
-            "PortSpecs": null,
1388
-            "StdinOnce": false,
1389
-            "Tty": false,
1390
-            "User": "",
1391
-            "Volumes": null,
1392
-            "VolumesFrom": "",
1393
-            "WorkingDir": ""
1394
-        },
1395
-        "container": "6b03c2dda0f8cbfa6186d96557e35e35c61915a70e4217a465f92f26c2d9290b",
1396
-        "containerconfig": {
1397
-            "AttachStderr": false,
1398
-            "AttachStdin": false,
1399
-            "AttachStdout": false,
1400
-            "Cmd": null,
1401
-            "CpuShares": 0,
1402
-            "Dns": null,
1403
-            "Domainname": "",
1404
-            "Entrypoint": null,
1405
-            "Env": null,
1406
-            "ExposedPorts": null,
1407
-            "Hostname": "",
1408
-            "Image": "",
1409
-            "Memory": 0,
1410
-            "MemorySwap": 0,
1411
-            "NetworkDisabled": false,
1412
-            "OpenStdin": false,
1413
-            "PortSpecs": null,
1414
-            "StdinOnce": false,
1415
-            "Tty": false,
1416
-            "User": "",
1417
-            "Volumes": null,
1418
-            "VolumesFrom": "",
1419
-            "WorkingDir": ""
1420
-        },
1421
-        "created": "0001-01-01T00:00:00Z",
1422
-        "id": "c115fca463efa744a5492ca580ef24b20ed5ef2155c624cc5b1262aefc14797b",
1423
-        "parent": "32730be9f383719ce6308329c8ee5aac189ece9e41928dc10b8bc0fc35e9d1d5"
1424
-    },
1425
-    "resourceVersion": 18
1426
-}
1427
-</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>/images</span>/{imageID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific 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>{
1428
- "apiVersion": "v1beta1",
1429
- "creationTimestamp": null,
1430
- "kind": "Status",
1431
- "status": "success"
1432
-}
1433
-</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 (NOT IMPLEMENTED)</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 two services.</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></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></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 two services.</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></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__links__linkID_><span class=parent>/links</span>/{linkID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_links__linkID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_links__linkID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_links__linkID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__links__linkID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_links__linkID__get class=list-group-item><span class="badge badge_get">get</span><div class=method_description><p>Get details about a specific link.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_links__linkID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific link.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_links__linkID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific link.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_links__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>/links</span>/{linkID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Get details about a specific link.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_links__linkID__get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_links__linkID__get_request><h3>URI Parameters</h3><ul><li><strong>linkID</strong>: <em>required (string)</em></li></ul></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_links__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>/links</span>/{linkID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific link.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_links__linkID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_links__linkID__put_request><h3>URI Parameters</h3><ul><li><strong>linkID</strong>: <em>required (string)</em></li></ul></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_links__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>/links</span>/{linkID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific link.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_links__linkID__delete_request data-toggle=tab>Request</a></li><li><a href=#_links__linkID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_links__linkID__delete_request><h3>URI Parameters</h3><ul><li><strong>linkID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_links__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>{
1434
- "apiVersion": "v1beta1",
1435
- "creationTimestamp": null,
1436
- "kind": "Status",
1437
- "status": "success"
1438
-}
1439
-</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_projects class=panel-title>/projects (NOT IMPLEMENTED)</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>{
1440
-  "data":
1441
-  [
1442
-    {
1443
-      "id": "53c4249f076573c0f4000001",
1444
-      "suffix": "dev.rhcloud.com",
1445
-      "name": "mydomain",
1446
-      "members": [
1447
-         {
1448
-           "login": "adminuser",
1449
-           "role": "admin",
1450
-           "type": "user",
1451
-           "owner": true
1452
-         }
1453
-      ]
1454
-    },
1455
-    {
1456
-      "id": "54c4259f076573c0f4000023",
1457
-      "suffix": "dev.rhcloud.com",
1458
-      "name": "appdomain",
1459
-      "members": [
1460
-         {
1461
-           "login": "adminuser",
1462
-           "role": "admin",
1463
-           "type": "user",
1464
-           "owner": true
1465
-         }
1466
-      ]
1467
-    }
1468
-  ]
1469
-}
1470
-</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>{
1471
-  "data":
1472
-  {
1473
-    "id": "53c4249f076573c0f4000001",
1474
-    "suffix": "dev.rhcloud.com",
1475
-    "name": "myproject",
1476
-    "members": [
1477
-       {
1478
-         "login": "adminuser",
1479
-         "role": "admin",
1480
-         "type": "user",
1481
-         "owner": true
1482
-       }
1483
-    ]
1484
-  }
1485
-}
1486
-</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__projects__projectID_><span class=parent>/projects</span>/{projectID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_projects__projectID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_projects__projectID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_projects__projectID__delete><span class="badge badge_delete">delete</span></a> <a href=# data-toggle=modal data-target=#_projects__projectID__post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__projects__projectID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_projects__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=#_projects__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=#_projects__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=#_projects__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=_projects__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>/projects</span>/{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=#_projects__projectID__get_request data-toggle=tab>Request</a></li><li><a href=#_projects__projectID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_projects__projectID__get_request><h3>URI Parameters</h3><ul><li><strong>projectID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_projects__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>{
1487
-  "data":
1488
-  {
1489
-    "id": "53c4249f076573c0f4000001",
1490
-    "suffix": "dev.rhcloud.com",
1491
-    "name": "myproject",
1492
-    "members": [
1493
-       {
1494
-         "login": "adminuser",
1495
-         "role": "admin",
1496
-         "type": "user",
1497
-         "owner": true
1498
-       }
1499
-    ]
1500
-  }
1501
-}
1502
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_projects__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>/projects</span>/{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=#_projects__projectID__put_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_projects__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>{
1503
-  "data":
1504
-  {
1505
-    "id": "53c4249f076573c0f4000001",
1506
-    "name": "newproject-name"
1507
-  }
1508
-}
1509
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_projects__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>/projects</span>/{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=#_projects__projectID__delete_request data-toggle=tab>Request</a></li><li><a href=#_projects__projectID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_projects__projectID__delete_request><h3>URI Parameters</h3><ul><li><strong>projectID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_projects__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>{
1510
- "apiVersion": "v1beta1",
1511
- "creationTimestamp": null,
1512
- "kind": "Status",
1513
- "status": "success"
1514
-}
1515
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_projects__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>/projects</span>/{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=#_projects__projectID__post_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_projects__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>{
1516
-  "templateId": "the-template-id"
1517
-}
1518
-</code></pre></div></div></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 id=_templateConfigs class=panel-title>/templateConfigs</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__templateConfigs><span class=parent></span>/templateConfigs</a> <span class=methods><a href=# data-toggle=modal data-target=#_templateConfigs_post><span class="badge badge_post">post</span></a></span></h4></div><div id=panel__templateConfigs class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_templateConfigs_post class=list-group-item><span class="badge badge_post">post</span><div class=method_description><p>Process a template into a config. See /templates endpoint for details on template transformation, parameters and generators.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_templateConfigs_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>/templateConfigs</h4></div><div class=modal-body><div class="alert alert-info"><p>Process a template into a config. See /templates endpoint for details on template transformation, parameters and generators.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_templateConfigs_post_request data-toggle=tab>Request</a></li><li><a href=#_templateConfigs_post_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_templateConfigs_post_request><h3>Body</h3><p><strong>Type: application/json</strong></p><p><strong>Schema</strong>:</p><pre><code>{
1519
-  "$schema": "http://json-schema.org/draft-03/schema",
1520
-  "type": "object",
1521
-  "required": true,
1522
-  "description": "Template resource.",
1523
-  "properties": {
1524
-    "id": {
1525
-      "type": "string",
1526
-      "required": true
1527
-    },
1528
-    "name": {
1529
-      "type": "string",
1530
-      "required": true
1531
-    },
1532
-    "description": {
1533
-      "type": "string",
1534
-      "required": false
1535
-    },
1536
-    "parameters": {
1537
-      "type": "array",
1538
-      "required": false,
1539
-      "items": {
1540
-        "type": "object",
1541
-        "required": false,
1542
-        "properties": {
1543
-          "name": {
1544
-            "type": "string",
1545
-            "required": true
1546
-          },
1547
-          "generate": {
1548
-            "type": "string",
1549
-            "required": false
1550
-          },
1551
-          "from": {
1552
-            "type": "string",
1553
-            "required": false
1554
-          },
1555
-          "value": {
1556
-            "type": "string",
1557
-            "required": false
1558
-          },
1559
-          "description": {
1560
-            "type": "string",
1561
-            "required": false
1562
-          }
1563
-        }
1564
-      }
1565
-    },
1566
-    "items": {
1567
-      "type": "array",
1568
-      "required": false,
1569
-      "items": {
1570
-        "type": "object",
1571
-        "required": true,
1572
-        "properties": {
1573
-          "kind": {
1574
-            "type": "string",
1575
-            "required": true
1576
-          },
1577
-          "id": {
1578
-            "type": "string",
1579
-            "required": true
1580
-          }
1581
-        }
1582
-      }
1583
-    }
1584
-  }
1585
-}</code></pre><p><strong>Example</strong>:</p><pre><code>{
1586
-  "id": "example1",
1587
-  "kind": "Template",
1588
-  "apiVersion": "v1beta1",
1589
-  "name": "My awesome PHP app",
1590
-  "description": "Example PHP application with PostgreSQL database",
1591
-  "parameters": [
1592
-    {
1593
-      "name": "DB_PASSWORD",
1594
-      "description": "PostgreSQL admin user password",
1595
-      "generate": "expression",
1596
-      "from": "[a-zA-Z0-9]{8}"
1597
-    },
1598
-    {
1599
-      "name": "DB_USER",
1600
-      "description": "PostgreSQL username",
1601
-      "generate": "expression",
1602
-      "from": "admin[a-zA-Z0-9]{4}"
1603
-    },
1604
-    {
1605
-      "name": "DB_NAME",
1606
-      "description": "PostgreSQL database name",
1607
-      "value": "mydb"
1608
-    }
1609
-  ],
1610
-  "items": [
1611
-    {
1612
-      "kind": "Service",
1613
-      "id": "frontend",
1614
-      "apiVersion": "v1beta1",
1615
-      "port": 8080,
1616
-      "containerPort": 9292,
1617
-      "selector": {
1618
-        "name": "frontend"
1619
-      }
1620
-    },
1621
-    {
1622
-      "kind": "Service",
1623
-      "id": "database",
1624
-      "apiVersion": "v1beta1",
1625
-      "port": 5432,
1626
-      "containerPort": 5432,
1627
-      "selector": {
1628
-        "name": "database"
1629
-      }
1630
-    },
1631
-    {
1632
-      "kind": "ReplicationController",
1633
-      "id": "frontendController",
1634
-      "apiVersion": "v1beta1",
1635
-      "desiredState": {
1636
-        "replicas": 2,
1637
-        "replicaSelector": {
1638
-          "name": "frontend"
1639
-        },
1640
-        "podTemplate": {
1641
-          "desiredState": {
1642
-            "manifest": {
1643
-              "id": "frontendController",
1644
-              "version": "v1beta1",
1645
-              "containers": [
1646
-                {
1647
-                  "name": "nginx-php-app",
1648
-                  "image": "mfojtik/nginx-php-app",
1649
-                  "env": [
1650
-                    {
1651
-                      "name": "PGPASSWORD",
1652
-                      "value": "${DB_PASSWORD}"
1653
-                    },
1654
-                    {
1655
-                      "name": "PGUSER",
1656
-                      "value": "${DB_USER}"
1657
-                    },
1658
-                    {
1659
-                      "name": "PGDATABASE",
1660
-                      "value": "${DB_NAME}"
1661
-                    }
1662
-                  ],
1663
-                  "ports": [
1664
-                    {
1665
-                      "containerPort": 9292,
1666
-                      "hostPort": 8080
1667
-                    }
1668
-                  ]
1669
-                }
1670
-              ]
1671
-            }
1672
-          },
1673
-          "labels": {
1674
-            "name": "frontend"
1675
-          }
1676
-        }
1677
-      },
1678
-      "labels": {
1679
-        "name": "frontend"
1680
-      }
1681
-    },
1682
-    {
1683
-      "kind": "Pod",
1684
-      "id": "postgresql",
1685
-      "apiVersion": "v1beta1",
1686
-      "desiredState": {
1687
-        "manifest": {
1688
-          "version": "v1beta1",
1689
-          "id": "database",
1690
-          "containers": [
1691
-            {
1692
-              "name": "postgresql",
1693
-              "image": "postgres",
1694
-              "env": [
1695
-                {
1696
-                  "name": "PGPASSWORD",
1697
-                  "value": "${DB_PASSWORD}"
1698
-                },
1699
-                {
1700
-                  "name": "PGUSER",
1701
-                  "value": "${DB_USER}"
1702
-                },
1703
-                {
1704
-                  "name": "PGDATABASE",
1705
-                  "value": "${DB_NAME}"
1706
-                }
1707
-              ],
1708
-              "ports": [
1709
-                {
1710
-                  "containerPort": 5432,
1711
-                  "hostPort": 5432
1712
-                }
1713
-              ]
1714
-            }
1715
-          ]
1716
-        }
1717
-      },
1718
-      "labels": {
1719
-        "name": "database"
1720
-      }
1721
-    }
1722
-  ]
1723
-}
1724
-</code></pre></div><div class=tab-pane id=_templateConfigs_post_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>{
1725
-  "kind": "Config",
1726
-  "id": "example1",
1727
-  "name": "My awesome PHP app",
1728
-  "description": "Example PHP application with PostgreSQL database",
1729
-  "apiVersion": "v1beta1",
1730
-  "creationTimestamp": "2014-09-22T09:48:27Z",
1731
-  "items": [
1732
-    {
1733
-      "kind": "Service",
1734
-      "id": "frontend",
1735
-      "creationTimestamp": null,
1736
-      "apiVersion": "v1beta1",
1737
-      "port": 8080,
1738
-      "containerPort": 9292,
1739
-      "selector": {
1740
-        "name": "frontend"
1741
-      }
1742
-    },
1743
-    {
1744
-      "kind": "Service",
1745
-      "id": "database",
1746
-      "creationTimestamp": null,
1747
-      "apiVersion": "v1beta1",
1748
-      "port": 5432,
1749
-      "containerPort": 5432,
1750
-      "selector": {
1751
-        "name": "database"
1752
-      }      
1753
-    },
1754
-    {
1755
-      "kind": "ReplicationController",
1756
-      "id": "frontendController",
1757
-      "creationTimestamp": null,
1758
-      "apiVersion": "v1beta1",
1759
-      "desiredState": {
1760
-        "replicas": 2,
1761
-        "replicaSelector": {
1762
-          "name": "frontend"
1763
-        },
1764
-        "podTemplate": {
1765
-          "desiredState": {
1766
-            "manifest": {
1767
-              "version": "v1beta1",
1768
-              "id": "frontendController",
1769
-              "volumes": null,
1770
-              "containers": [
1771
-                {
1772
-                  "name": "nginx-php-app",
1773
-                  "image": "mfojtik/nginx-php-app",
1774
-                  "ports": [
1775
-                    {
1776
-                      "hostPort": 8080,
1777
-                      "containerPort": 9292,
1778
-                      "protocol": "TCP"
1779
-                    }
1780
-                  ],
1781
-                  "env": [
1782
-                    {
1783
-                      "name": "PGPASSWORD",
1784
-                      "key": "PGPASSWORD",
1785
-                      "value": "MPbGM5T0"
1786
-                    },
1787
-                    {
1788
-                      "name": "PGUSER",
1789
-                      "key": "PGUSER",
1790
-                      "value": "adminO8bR"
1791
-                    },
1792
-                    {
1793
-                      "name": "PGDATABASE",
1794
-                      "key": "PGDATABASE",
1795
-                      "value": "mydb"
1796
-                    }
1797
-                  ]
1798
-                }
1799
-              ]
1800
-            },
1801
-            "restartpolicy": {}
1802
-          },
1803
-          "labels": {
1804
-            "name": "frontend"
1805
-          }
1806
-        }
1807
-      },
1808
-      "labels": {
1809
-        "name": "frontend"
1810
-      }
1811
-    },
1812
-    {
1813
-      "kind": "Pod",
1814
-      "id": "postgresql",
1815
-      "creationTimestamp": null,
1816
-      "apiVersion": "v1beta1",
1817
-      "labels": {
1818
-        "name": "database"
1819
-      },
1820
-      "desiredState": {
1821
-        "manifest": {
1822
-          "version": "v1beta1",
1823
-          "id": "database",
1824
-          "volumes": null,
1825
-          "containers": [
1826
-            {
1827
-              "name": "postgresql",
1828
-              "image": "postgres",
1829
-              "ports": [
1830
-                {
1831
-                  "hostPort": 5432,
1832
-                  "containerPort": 5432,
1833
-                  "protocol": "TCP"
1834
-                }
1835
-              ],
1836
-              "env": [
1837
-                {
1838
-                  "name": "PGPASSWORD",
1839
-                  "key": "PGPASSWORD",
1840
-                  "value": "MPbGM5T0"
1841
-                },
1842
-                {
1843
-                  "name": "PGUSER",
1844
-                  "key": "PGUSER",
1845
-                  "value": "adminO8bR"
1846
-                },
1847
-                {
1848
-                  "name": "PGDATABASE",
1849
-                  "key": "PGDATABASE",
1850
-                  "value": "mydb"
1851
-                }
1852
-              ]
1853
-            }
1854
-          ]
1855
-        },
1856
-        "restartpolicy": {
1857
-          "type": "RestartAlways"
1858
-        }
1859
-      },
1860
-      "currentState": {
1861
-        "manifest": {
1862
-          "version": "",
1863
-          "id": "",
1864
-          "volumes": null,
1865
-          "containers": null
1866
-        },
1867
-        "restartpolicy": {}
1868
-      }
1869
-    }
1870
-  ]
1871
-}</code></pre></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 (NOT IMPLEMENTED)</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>List all templates that your account has access to.</p><p>A template represents generic config with parameters.</p><p>Parameters:</p><p>Example #1 - static paramater:</p><pre><code>{
1872
-  "name": "DB_NAME",
1873
-  "description": "PostgreSQL database name",
1874
-  "value": "mydb"
1875
-}
1876
-</code></pre><p>The above parameter can be referenced in the rest of the template as ${DB_NAME} expression, which is to be substituted by its value (the "mydb" string) during the template to config transformation.</p><p>Example #2 - parameter with generator:</p><pre><code>{
1877
-  "name": "DB_PASSWORD",
1878
-  "description": "PostgreSQL admin user password",
1879
-  "generate": "expression",
1880
-  "from": "[a-zA-Z0-9]{8}"
1881
-}
1882
-</code></pre><p>The above parameter can be referenced in the rest of the template as ${DB_PASSWORD} expression, which is to be substituted with its newly generated value by expression value generator during the template to config transformation.</p><p>Generators:</p><p>The value of "generate" field specifies the generator to be used. The selected generator then generates random value based on the "from" input value. OpenShift 3 currently supports expression value generator only.</p><p>Expression value generator:</p><p>Expression value generator is used when generate field matches "expression" value. It generates random string based on the "from" input value. The input value is a string expression, which may contain "[a-zA-Z0-9]{length}" constructs, defining range and length of the result random characters.</p><pre><code>{
1883
-  "name": "PARAM",
1884
-  "generate": "expression",
1885
-  "from": "input expression"
1886
-}
1887
-</code></pre><p>Examples:</p><pre><code>from             | value
1888
-"test[0-9]{1}x"  | "test7x"
1889
-"[0-1]{8}"       | "01001100"
1890
-"0x[A-F0-9]{4}"  | "0xB3AF"
1891
-"[a-zA-Z0-9]{8}" | "hW4yQU5i"
1892
-</code></pre></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>List all templates that your account has access to.</p><p>A template represents generic config with parameters.</p><p>Parameters:</p><p>Example #1 - static paramater:</p><pre><code>{
1893
-  "name": "DB_NAME",
1894
-  "description": "PostgreSQL database name",
1895
-  "value": "mydb"
1896
-}
1897
-</code></pre><p>The above parameter can be referenced in the rest of the template as ${DB_NAME} expression, which is to be substituted by its value (the "mydb" string) during the template to config transformation.</p><p>Example #2 - parameter with generator:</p><pre><code>{
1898
-  "name": "DB_PASSWORD",
1899
-  "description": "PostgreSQL admin user password",
1900
-  "generate": "expression",
1901
-  "from": "[a-zA-Z0-9]{8}"
1902
-}
1903
-</code></pre><p>The above parameter can be referenced in the rest of the template as ${DB_PASSWORD} expression, which is to be substituted with its newly generated value by expression value generator during the template to config transformation.</p><p>Generators:</p><p>The value of "generate" field specifies the generator to be used. The selected generator then generates random value based on the "from" input value. OpenShift 3 currently supports expression value generator only.</p><p>Expression value generator:</p><p>Expression value generator is used when generate field matches "expression" value. It generates random string based on the "from" input value. The input value is a string expression, which may contain "[a-zA-Z0-9]{length}" constructs, defining range and length of the result random characters.</p><pre><code>{
1904
-  "name": "PARAM",
1905
-  "generate": "expression",
1906
-  "from": "input expression"
1907
-}
1908
-</code></pre><p>Examples:</p><pre><code>from             | value
1909
-"test[0-9]{1}x"  | "test7x"
1910
-"[0-1]{8}"       | "01001100"
1911
-"0x[A-F0-9]{4}"  | "0xB3AF"
1912
-"[a-zA-Z0-9]{8}" | "hW4yQU5i"
1913
-</code></pre></div><ul class="nav nav-tabs"><li class=active><a href=#_templates_get_request data-toggle=tab>Request</a></li></ul><div class=tab-content><div class="tab-pane active" id=_templates_get_request></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><li><a href=#_templates_post_response data-toggle=tab>Response</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>Schema</strong>:</p><pre><code>{
1914
-  "$schema": "http://json-schema.org/draft-03/schema",
1915
-  "type": "object",
1916
-  "required": true,
1917
-  "description": "Template resource.",
1918
-  "properties": {
1919
-    "id": {
1920
-      "type": "string",
1921
-      "required": true
1922
-    },
1923
-    "name": {
1924
-      "type": "string",
1925
-      "required": true
1926
-    },
1927
-    "description": {
1928
-      "type": "string",
1929
-      "required": false
1930
-    },
1931
-    "parameters": {
1932
-      "type": "array",
1933
-      "required": false,
1934
-      "items": {
1935
-        "type": "object",
1936
-        "required": false,
1937
-        "properties": {
1938
-          "name": {
1939
-            "type": "string",
1940
-            "required": true
1941
-          },
1942
-          "generate": {
1943
-            "type": "string",
1944
-            "required": false
1945
-          },
1946
-          "from": {
1947
-            "type": "string",
1948
-            "required": false
1949
-          },
1950
-          "value": {
1951
-            "type": "string",
1952
-            "required": false
1953
-          },
1954
-          "description": {
1955
-            "type": "string",
1956
-            "required": false
1957
-          }
1958
-        }
1959
-      }
1960
-    },
1961
-    "items": {
1962
-      "type": "array",
1963
-      "required": false,
1964
-      "items": {
1965
-        "type": "object",
1966
-        "required": true,
1967
-        "properties": {
1968
-          "kind": {
1969
-            "type": "string",
1970
-            "required": true
1971
-          },
1972
-          "id": {
1973
-            "type": "string",
1974
-            "required": true
1975
-          }
1976
-        }
1977
-      }
1978
-    }
1979
-  }
1980
-}</code></pre><p><strong>Example</strong>:</p><pre><code>{
1981
-  "id": "example1",
1982
-  "kind": "Template",
1983
-  "apiVersion": "v1beta1",
1984
-  "name": "My awesome PHP app",
1985
-  "description": "Example PHP application with PostgreSQL database",
1986
-  "parameters": [
1987
-    {
1988
-      "name": "DB_PASSWORD",
1989
-      "description": "PostgreSQL admin user password",
1990
-      "generate": "expression",
1991
-      "from": "[a-zA-Z0-9]{8}"
1992
-    },
1993
-    {
1994
-      "name": "DB_USER",
1995
-      "description": "PostgreSQL username",
1996
-      "generate": "expression",
1997
-      "from": "admin[a-zA-Z0-9]{4}"
1998
-    },
1999
-    {
2000
-      "name": "DB_NAME",
2001
-      "description": "PostgreSQL database name",
2002
-      "value": "mydb"
2003
-    }
2004
-  ],
2005
-  "items": [
2006
-    {
2007
-      "kind": "Service",
2008
-      "id": "frontend",
2009
-      "apiVersion": "v1beta1",
2010
-      "port": 8080,
2011
-      "containerPort": 9292,
2012
-      "selector": {
2013
-        "name": "frontend"
2014
-      }
2015
-    },
2016
-    {
2017
-      "kind": "Service",
2018
-      "id": "database",
2019
-      "apiVersion": "v1beta1",
2020
-      "port": 5432,
2021
-      "containerPort": 5432,
2022
-      "selector": {
2023
-        "name": "database"
2024
-      }
2025
-    },
2026
-    {
2027
-      "kind": "ReplicationController",
2028
-      "id": "frontendController",
2029
-      "apiVersion": "v1beta1",
2030
-      "desiredState": {
2031
-        "replicas": 2,
2032
-        "replicaSelector": {
2033
-          "name": "frontend"
2034
-        },
2035
-        "podTemplate": {
2036
-          "desiredState": {
2037
-            "manifest": {
2038
-              "id": "frontendController",
2039
-              "version": "v1beta1",
2040
-              "containers": [
2041
-                {
2042
-                  "name": "nginx-php-app",
2043
-                  "image": "mfojtik/nginx-php-app",
2044
-                  "env": [
2045
-                    {
2046
-                      "name": "PGPASSWORD",
2047
-                      "value": "${DB_PASSWORD}"
2048
-                    },
2049
-                    {
2050
-                      "name": "PGUSER",
2051
-                      "value": "${DB_USER}"
2052
-                    },
2053
-                    {
2054
-                      "name": "PGDATABASE",
2055
-                      "value": "${DB_NAME}"
2056
-                    }
2057
-                  ],
2058
-                  "ports": [
2059
-                    {
2060
-                      "containerPort": 9292,
2061
-                      "hostPort": 8080
2062
-                    }
2063
-                  ]
2064
-                }
2065
-              ]
2066
-            }
2067
-          },
2068
-          "labels": {
2069
-            "name": "frontend"
2070
-          }
2071
-        }
2072
-      },
2073
-      "labels": {
2074
-        "name": "frontend"
2075
-      }
2076
-    },
2077
-    {
2078
-      "kind": "Pod",
2079
-      "id": "postgresql",
2080
-      "apiVersion": "v1beta1",
2081
-      "desiredState": {
2082
-        "manifest": {
2083
-          "version": "v1beta1",
2084
-          "id": "database",
2085
-          "containers": [
2086
-            {
2087
-              "name": "postgresql",
2088
-              "image": "postgres",
2089
-              "env": [
2090
-                {
2091
-                  "name": "PGPASSWORD",
2092
-                  "value": "${DB_PASSWORD}"
2093
-                },
2094
-                {
2095
-                  "name": "PGUSER",
2096
-                  "value": "${DB_USER}"
2097
-                },
2098
-                {
2099
-                  "name": "PGDATABASE",
2100
-                  "value": "${DB_NAME}"
2101
-                }
2102
-              ],
2103
-              "ports": [
2104
-                {
2105
-                  "containerPort": 5432,
2106
-                  "hostPort": 5432
2107
-                }
2108
-              ]
2109
-            }
2110
-          ]
2111
-        }
2112
-      },
2113
-      "labels": {
2114
-        "name": "database"
2115
-      }
2116
-    }
2117
-  ]
2118
-}
2119
-</code></pre></div><div class=tab-pane id=_templates_post_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>{
2120
- "apiVersion": "v1beta1",
2121
- "creationTimestamp": null,
2122
- "kind": "Status",
2123
- "status": "success"
2124
-}
2125
-</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__templates__templateID_><span class=parent>/templates</span>/{templateID}</a> <span class=methods><a href=# data-toggle=modal data-target=#_templates__templateID__get><span class="badge badge_get">get</span></a> <a href=# data-toggle=modal data-target=#_templates__templateID__put><span class="badge badge_put">put</span></a> <a href=# data-toggle=modal data-target=#_templates__templateID__delete><span class="badge badge_delete">delete</span></a></span></h4></div><div id=panel__templates__templateID_ class="panel-collapse collapse"><div class=panel-body><div class=list-group><div data-toggle=modal data-target=#_templates__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=#_templates__templateID__put class=list-group-item><span class="badge badge_put">put</span><div class=method_description><p>Update a specific template.</p></div><div class=clearfix></div></div><div data-toggle=modal data-target=#_templates__templateID__delete class=list-group-item><span class="badge badge_delete">delete</span><div class=method_description><p>Delete a specific template.</p></div><div class=clearfix></div></div></div></div></div><div class="modal fade" tabindex=0 id=_templates__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>/templates</span>/{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=#_templates__templateID__get_request data-toggle=tab>Request</a></li><li><a href=#_templates__templateID__get_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_templates__templateID__get_request><h3>URI Parameters</h3><ul><li><strong>templateID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_templates__templateID__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>{
2126
-  "id": "example1",
2127
-  "kind": "Template",
2128
-  "apiVersion": "v1beta1",
2129
-  "name": "My awesome PHP app",
2130
-  "description": "Example PHP application with PostgreSQL database",
2131
-  "parameters": [
2132
-    {
2133
-      "name": "DB_PASSWORD",
2134
-      "description": "PostgreSQL admin user password",
2135
-      "generate": "expression",
2136
-      "from": "[a-zA-Z0-9]{8}"
2137
-    },
2138
-    {
2139
-      "name": "DB_USER",
2140
-      "description": "PostgreSQL username",
2141
-      "generate": "expression",
2142
-      "from": "admin[a-zA-Z0-9]{4}"
2143
-    },
2144
-    {
2145
-      "name": "DB_NAME",
2146
-      "description": "PostgreSQL database name",
2147
-      "value": "mydb"
2148
-    }
2149
-  ],
2150
-  "items": [
2151
-    {
2152
-      "kind": "Service",
2153
-      "id": "frontend",
2154
-      "apiVersion": "v1beta1",
2155
-      "port": 8080,
2156
-      "containerPort": 9292,
2157
-      "selector": {
2158
-        "name": "frontend"
2159
-      }
2160
-    },
2161
-    {
2162
-      "kind": "Service",
2163
-      "id": "database",
2164
-      "apiVersion": "v1beta1",
2165
-      "port": 5432,
2166
-      "containerPort": 5432,
2167
-      "selector": {
2168
-        "name": "database"
2169
-      }
2170
-    },
2171
-    {
2172
-      "kind": "ReplicationController",
2173
-      "id": "frontendController",
2174
-      "apiVersion": "v1beta1",
2175
-      "desiredState": {
2176
-        "replicas": 2,
2177
-        "replicaSelector": {
2178
-          "name": "frontend"
2179
-        },
2180
-        "podTemplate": {
2181
-          "desiredState": {
2182
-            "manifest": {
2183
-              "id": "frontendController",
2184
-              "version": "v1beta1",
2185
-              "containers": [
2186
-                {
2187
-                  "name": "nginx-php-app",
2188
-                  "image": "mfojtik/nginx-php-app",
2189
-                  "env": [
2190
-                    {
2191
-                      "name": "PGPASSWORD",
2192
-                      "value": "${DB_PASSWORD}"
2193
-                    },
2194
-                    {
2195
-                      "name": "PGUSER",
2196
-                      "value": "${DB_USER}"
2197
-                    },
2198
-                    {
2199
-                      "name": "PGDATABASE",
2200
-                      "value": "${DB_NAME}"
2201
-                    }
2202
-                  ],
2203
-                  "ports": [
2204
-                    {
2205
-                      "containerPort": 9292,
2206
-                      "hostPort": 8080
2207
-                    }
2208
-                  ]
2209
-                }
2210
-              ]
2211
-            }
2212
-          },
2213
-          "labels": {
2214
-            "name": "frontend"
2215
-          }
2216
-        }
2217
-      },
2218
-      "labels": {
2219
-        "name": "frontend"
2220
-      }
2221
-    },
2222
-    {
2223
-      "kind": "Pod",
2224
-      "id": "postgresql",
2225
-      "apiVersion": "v1beta1",
2226
-      "desiredState": {
2227
-        "manifest": {
2228
-          "version": "v1beta1",
2229
-          "id": "database",
2230
-          "containers": [
2231
-            {
2232
-              "name": "postgresql",
2233
-              "image": "postgres",
2234
-              "env": [
2235
-                {
2236
-                  "name": "PGPASSWORD",
2237
-                  "value": "${DB_PASSWORD}"
2238
-                },
2239
-                {
2240
-                  "name": "PGUSER",
2241
-                  "value": "${DB_USER}"
2242
-                },
2243
-                {
2244
-                  "name": "PGDATABASE",
2245
-                  "value": "${DB_NAME}"
2246
-                }
2247
-              ],
2248
-              "ports": [
2249
-                {
2250
-                  "containerPort": 5432,
2251
-                  "hostPort": 5432
2252
-                }
2253
-              ]
2254
-            }
2255
-          ]
2256
-        }
2257
-      },
2258
-      "labels": {
2259
-        "name": "database"
2260
-      }
2261
-    }
2262
-  ]
2263
-}
2264
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_templates__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>/templates</span>/{templateID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Update a specific template.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_templates__templateID__put_request data-toggle=tab>Request</a></li><li><a href=#_templates__templateID__put_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_templates__templateID__put_request><h3>URI Parameters</h3><ul><li><strong>templateID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_templates__templateID__put_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>{
2265
- "apiVersion": "v1beta1",
2266
- "creationTimestamp": null,
2267
- "kind": "Status",
2268
- "status": "success"
2269
-}
2270
-</code></pre></div></div></div></div></div></div><div class="modal fade" tabindex=0 id=_templates__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>/templates</span>/{templateID}</h4></div><div class=modal-body><div class="alert alert-info"><p>Delete a specific template.</p></div><ul class="nav nav-tabs"><li class=active><a href=#_templates__templateID__delete_request data-toggle=tab>Request</a></li><li><a href=#_templates__templateID__delete_response data-toggle=tab>Response</a></li></ul><div class=tab-content><div class="tab-pane active" id=_templates__templateID__delete_request><h3>URI Parameters</h3><ul><li><strong>templateID</strong>: <em>required (string)</em></li></ul></div><div class=tab-pane id=_templates__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>{
2271
- "apiVersion": "v1beta1",
2272
- "creationTimestamp": null,
2273
- "kind": "Status",
2274
- "status": "success"
2275
-}
2276
-</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=#_aliases>/aliases (NOT IMPLEMENTED)</a></li><li><a href=#_buildConfigHooks__buildID___secret___plugin_>/buildConfigHooks/{buildID}/{secret}/{plugin}</a></li><li><a href=#_buildConfigs>/buildConfigs</a></li><li><a href=#_builds>/builds</a></li><li><a href=#_configs>/configs (NOT IMPLEMENTED)</a></li><li><a href=#_deploymentConfigs>/deploymentConfigs</a></li><li><a href=#_deployments>/deployments</a></li><li><a href=#_imageRepositories>/imageRepositories</a></li><li><a href=#_imageRepositoryMappings>/imageRepositoryMappings</a></li><li><a href=#_images>/images</a></li><li><a href=#_links>/links (NOT IMPLEMENTED)</a></li><li><a href=#_projects>/projects (NOT IMPLEMENTED)</a></li><li><a href=#_templateConfigs>/templateConfigs</a></li><li><a href=#_templates>/templates (NOT IMPLEMENTED)</a></li></ul></div></div></div></div></body></html>
2277 1
\ No newline at end of file
2278 2
deleted file mode 100644
... ...
@@ -1,487 +0,0 @@
1
-#%RAML 0.8
2
-# vim: set ft=yaml:
3
-title: OpenShift 3
4
-version: v1beta1
5
-baseUri: http://localhost:8080/osapi/{version}
6
-mediaType: application/json
7
-documentation:
8
- - title: Overview
9
-   content: |
10
-    The OpenShift 3.x model attempts to expose underlying Docker and Kubernetes
11
-    models as accurately as possible, with a focus on easy composition of
12
-    applications by a developer (install Ruby, push code, add MySQL).
13
-
14
-    Unlike 2.x, more flexibility of configuration is exposed after creation in
15
-    all aspects of the model. Terminology is still being weighed, but the
16
-    concept of an application as a separate object is being removed in favor of
17
-    more flexible composition of "services" - allowing two web containers to
18
-    reuse a DB, or expose a DB directly to the edge of the network. The
19
-    existing API will continue to be supported through 3.x, with concepts
20
-    mapped as closely as possible to the new model.
21
-
22
- - title: Kubernetes API
23
-   content: |
24
-    OpenShift exposes [Kubernetes API](http://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/kubernetes.html) at http://localhost:8080/api/v1beta1/.
25
-
26
-/aliases:
27
-  displayName: /aliases (NOT IMPLEMENTED)
28
-  get:
29
-    description: |
30
-      List all aliases visible to you.
31
-
32
-      Aliases in v3 perform the same function as aliases in v2. The main difference
33
-      is that in v3 an alias is associated with a service, not an application.
34
-    queryParameters:
35
-      serviceID:
36
-        description: filter aliases by associated service.
37
-  post:
38
-    description: Create an alias for this service.
39
-
40
-  /{aliasID}:
41
-    get:
42
-      description: Get a specific alias.
43
-    put:
44
-      description: Update a specific alias.
45
-    delete:
46
-      description: Delete a specific alias.
47
-
48
-/buildConfigHooks/{buildID}/{secret}/{plugin}:
49
-  post:
50
-    description: |
51
-      Webhook on push event from external repository.
52
-
53
-      buildID specifies which build to trigger, whereas plugin defines source of
54
-      the request, this might be github, bitbucket or others.
55
-    responses:
56
-      204:
57
-        description: No content
58
-
59
-/buildConfigs:
60
-  get:
61
-    description: |
62
-      List all BuildConfigs.
63
-
64
-      BuildConfig contains the inputs needed to produce a new deployable image.
65
-    responses:
66
-      200:
67
-        body:
68
-          example: !include examples/build-config-list.json
69
-  post:
70
-    description: Create a new build.
71
-    body:
72
-      example: !include examples/create-build-config.json
73
-
74
-  /{configID}:
75
-    get:
76
-      description: Get a specific build configuration.
77
-      responses:
78
-        200:
79
-          body:
80
-            example: !include examples/build-config.json
81
-    put:
82
-      description: Update a specific build configuration.
83
-      body:
84
-        example: !include examples/build-config.json
85
-    delete:
86
-      description: Delete a specific build configuration.
87
-      responses:
88
-        200:
89
-          body:
90
-            example: !include examples/status-success.json
91
-
92
-/builds:
93
-  get:
94
-    description: |
95
-      List all builds.
96
-
97
-      Build encapsulates the inputs needed to produce a new deployable image, as well as
98
-      the status of the operation and a reference to the Pod which runs the build.
99
-    responses:
100
-      200:
101
-        body:
102
-          example: !include examples/build-list.json
103
-  post:
104
-    description: Create a new build.
105
-    body:
106
-      example: !include examples/create-build.json
107
-
108
-  /{buildID}:
109
-    get:
110
-      description: Get details about a specific build.
111
-      responses:
112
-        200:
113
-          body:
114
-            example: !include examples/build.json
115
-    put:
116
-      description: Update a specific build.
117
-      body:
118
-        example: !include examples/build.json
119
-    delete:
120
-      description: Delete a specific build.
121
-      responses:
122
-        200:
123
-          body:
124
-            example: !include examples/status-success.json
125
-
126
-/configs:
127
-  displayName: /configs (NOT IMPLEMENTED)
128
-  get:
129
-    description: |
130
-      List all configs that your account has access to.
131
-
132
-      A config defines 0..n Kubernetes resources.
133
-    responses:
134
-      200:
135
-  post:
136
-    description: Create a new config.
137
-    body:
138
-      schema: !include doc/config-schema.json
139
-      example: !include examples/config.json
140
-    responses:
141
-      200:
142
-        body:
143
-          example: !include examples/status-success.json
144
-
145
-  /{configID}:
146
-    get:
147
-      description: Get a specific config.
148
-      responses:
149
-        200:
150
-          body:
151
-            example: !include examples/config.json
152
-    put:
153
-      description: Update a specific config.
154
-      responses:
155
-        200:
156
-          body:
157
-            example: !include examples/status-success.json
158
-    delete:
159
-      description: Delete a specific config.
160
-      responses:
161
-        200:
162
-          body:
163
-            example: !include examples/status-success.json
164
-
165
-/deploymentConfigs:
166
-  get:
167
-    description: |
168
-      List all DeploymentConfigs.
169
-
170
-      A DeploymentConfig represents a configuration for a single deployment
171
-      of a replication controller: a template for the deployment, how new
172
-      deployments are triggered, what the current deployed state is.
173
-    responses:
174
-      200:
175
-        body:
176
-          example: !include examples/deployment-config-list.json
177
-  post:
178
-    description: Create a new build.
179
-    body:
180
-      example: !include examples/status-success.json
181
-
182
-  /{configID}:
183
-    get:
184
-      description: Get a specific build configuration.
185
-      responses:
186
-        200:
187
-          body:
188
-            example: !include examples/deployment-config.json
189
-    put:
190
-      description: Update a specific build configuration.
191
-      body:
192
-        example: !include examples/deployment-config.json
193
-    delete:
194
-      description: Delete a specific build configuration.
195
-      responses:
196
-        200:
197
-          body:
198
-            example: !include examples/status-success.json
199
-
200
-/deployments:
201
-  get:
202
-    description: |
203
-      List all deployments.
204
-
205
-      A deployment represents a single unique realization of a deployment config.
206
-    responses:
207
-      200:
208
-        body:
209
-          example: !include examples/deployment-list.json
210
-  post:
211
-    description: Create a new deployment.
212
-    body:
213
-      example: !include examples/deployment.json
214
-
215
-  /{deploymentID}:
216
-    get:
217
-      description: Get details about a specific deployment.
218
-      responses:
219
-        200:
220
-          body:
221
-            example: !include examples/deployment.json
222
-    put:
223
-      description: Update a specific deployment.
224
-      body:
225
-        example: !include examples/deployment.json
226
-    delete:
227
-      description: Delete a specific deployment.
228
-      responses:
229
-        200:
230
-          body:
231
-            example: !include examples/status-success.json
232
-
233
-/imageRepositories:
234
-  get:
235
-    description: |
236
-      List all image repositories.
237
-
238
-      An image repository is a collection of images that share the same metadata. It may
239
-      reference a Docker image repository on a Docker registry, but this is optional. An
240
-      image repository also contains a mapping of tags to images.
241
-    responses:
242
-      200:
243
-        body:
244
-          example: !include examples/image-repository-list.json
245
-  post:
246
-    description: Create a new image repository.
247
-    body:
248
-      example: !include examples/create-image-repository.json
249
-
250
-  /{repositoryID}:
251
-      get:
252
-        description: Get information about a specific image repository.
253
-        body:
254
-          example: !include examples/image-repository.json
255
-      put:
256
-        description: Update an image repository.
257
-        body:
258
-          example: !include examples/image-repository.json
259
-      delete:
260
-        description: Delete an image repository.
261
-        responses:
262
-          200:
263
-            body:
264
-              example: !include examples/status-success.json
265
-
266
-/imageRepositoryMappings:
267
-  post:
268
-    description: |
269
-      Create an image and update an image repository.
270
-
271
-      This is designed as a webhook that a Docker registry can invoke when a
272
-      new tag is created. The image repository mapping contains a reference
273
-      to the repository, the image's metadata, and the name of the new tag.
274
-      Upon execution, a new image is created if it doesn't already exist, and
275
-      the image repository is updated with the new tag.
276
-    body:
277
-      example: !include examples/create-image-repository-mapping.json
278
-
279
-/images:
280
-  get:
281
-    description: |
282
-      List all images.
283
-
284
-      An image is a reference to an image in a Docker image repository on a Docker
285
-      registry, plus a set of metadata. The metadata that Openshift stores for an image
286
-      will augment the metadata that has already been specified in the image through
287
-      its Dockerfile.
288
-    responses:
289
-      200:
290
-        body:
291
-          example: !include examples/image-list.json
292
-  post:
293
-    description: Create a new image definition.
294
-    body:
295
-      example: !include examples/create-image.json
296
-
297
-  /{imageID}:
298
-      get:
299
-        description: Get a specific image definition.
300
-        body:
301
-          example: !include examples/image.json
302
-      delete:
303
-        description: Delete a specific image.
304
-        responses:
305
-          200:
306
-            body:
307
-              example: !include examples/status-success.json
308
-
309
-/links:
310
-  displayName: /links (NOT IMPLEMENTED)
311
-  get:
312
-    description: |
313
-      List of links between services in your account.
314
-
315
-      Unlike a Docker link, a Link in OpenShift defines a relationship between services
316
-      which may be composed by multiple Docker images. A link may include additional metadata
317
-      about the relationship such as the algorithm to use to distribute requests.
318
-    queryParameters:
319
-      projectID:
320
-        description: filter the links owned by a particular project.
321
-      serviceID:
322
-        description: filter the links attached to a particular service.
323
-  post:
324
-    description: Create a new link between two services.
325
-
326
-  /{linkID}:
327
-    get:
328
-      description: Get details about a specific link.
329
-    put:
330
-      description: Update a specific link.
331
-    delete:
332
-      description: Delete a specific link.
333
-      responses:
334
-        200:
335
-          body:
336
-            example: !include examples/status-success.json
337
-
338
-/projects:
339
-  displayName: /projects (NOT IMPLEMENTED)
340
-  get:
341
-    description: |
342
-      List all projects for your account.
343
-
344
-      Projects are a similar concept to v2 domains. A project is a grouping of services
345
-      with shared access control and resource limits. Applications can be assembled
346
-      from services in a project by linking them together via service endpoints.
347
-    responses:
348
-      200:
349
-        body:
350
-          example: !include examples/project-list.json
351
-  post:
352
-    description: Create a new project.
353
-    body:
354
-      example: !include examples/project.json
355
-
356
-  /{projectID}:
357
-    get:
358
-      description: Get a specific project.
359
-      responses:
360
-        200:
361
-          body:
362
-            example: !include examples/project.json
363
-    put:
364
-      description: Update a project.
365
-      body:
366
-        example: !include examples/project-put.json
367
-    delete:
368
-      description: Delete a project.
369
-      responses:
370
-        200:
371
-          body:
372
-            example: !include examples/status-success.json
373
-    post:
374
-      description: Instantiate a template in the given project.
375
-      body:
376
-        example: !include examples/project-post.json
377
-
378
-/templateConfigs:
379
-  post:
380
-    description: |
381
-      Process a template into a config.
382
-      See /templates endpoint for details on template transformation,
383
-      parameters and generators.
384
-    body:
385
-      schema: !include doc/template-schema.json
386
-      example: !include examples/template.json
387
-    responses:
388
-      200:
389
-        body:
390
-          example: !include examples/config.json
391
-
392
-/templates:
393
-  displayName: /templates (NOT IMPLEMENTED)
394
-  get:
395
-    description: |
396
-      List all templates that your account has access to.
397
-
398
-      A template represents generic config with parameters.
399
-
400
-      Parameters:
401
-
402
-        Example #1 - static paramater:
403
-
404
-          {
405
-            "name": "DB_NAME",
406
-            "description": "PostgreSQL database name",
407
-            "value": "mydb"
408
-          }
409
-
410
-        The above parameter can be referenced in the rest of the template
411
-        as ${DB_NAME} expression, which is to be substituted by its value
412
-        (the "mydb" string) during the template to config transformation.
413
-
414
-        Example #2 - parameter with generator:
415
-
416
-          {
417
-            "name": "DB_PASSWORD",
418
-            "description": "PostgreSQL admin user password",
419
-            "generate": "expression",
420
-            "from": "[a-zA-Z0-9]{8}"
421
-          }
422
-
423
-        The above parameter can be referenced in the rest of the template
424
-        as ${DB_PASSWORD} expression, which is to be substituted with its
425
-        newly generated value by expression value generator during the
426
-        template to config transformation.
427
-
428
-      Generators:
429
-
430
-        The value of "generate" field specifies the generator to be used.
431
-        The selected generator then generates random value based on the
432
-        "from" input value. OpenShift 3 currently supports expression value
433
-        generator only.
434
-
435
-      Expression value generator:
436
-
437
-        Expression value generator is used when generate field matches
438
-        "expression" value. It generates random string based on the "from"
439
-        input value. The input value is a string expression, which may
440
-        contain "[a-zA-Z0-9]{length}" constructs, defining range and length
441
-        of the result random characters.
442
-
443
-          {
444
-            "name": "PARAM",
445
-            "generate": "expression",
446
-            "from": "input expression"
447
-          }
448
-
449
-        Examples:
450
-
451
-          from             | value
452
-          -----------------------------
453
-          "test[0-9]{1}x"  | "test7x"
454
-          "[0-1]{8}"       | "01001100"
455
-          "0x[A-F0-9]{4}"  | "0xB3AF"
456
-          "[a-zA-Z0-9]{8}" | "hW4yQU5i"
457
-
458
-  post:
459
-    description: Create a new template.
460
-    body:
461
-      schema: !include doc/template-schema.json
462
-      example: !include examples/template.json
463
-    responses:
464
-      200:
465
-        body:
466
-          example: !include examples/status-success.json
467
-
468
-  /{templateID}:
469
-    displayName: /template/{templateID}
470
-    get:
471
-      description: Get a specific template.
472
-      responses:
473
-        200:
474
-          body:
475
-           example: !include examples/template.json
476
-    put:
477
-      description: Update a specific template.
478
-      responses:
479
-        200:
480
-          body:
481
-            example: !include examples/status-success.json
482
-    delete:
483
-      description: Delete a specific template.
484
-      responses:
485
-        200:
486
-          body:
487
-            example: !include examples/status-success.json
... ...
@@ -11,7 +11,6 @@ import (
11 11
 	"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
12 12
 
13 13
 	"github.com/openshift/origin/pkg/api/latest"
14
-	buildapi "github.com/openshift/origin/pkg/build/api"
15 14
 	configapi "github.com/openshift/origin/pkg/config/api"
16 15
 	deployapi "github.com/openshift/origin/pkg/deploy/api"
17 16
 	imageapi "github.com/openshift/origin/pkg/image/api"
... ...
@@ -37,54 +36,6 @@ func TestExamples(t *testing.T) {
37 37
 		"jenkins/docker-registry-config.json": &configapi.Config{},
38 38
 		"jenkins/application-template.json":   &templateapi.Template{},
39 39
 
40
-		"../api/examples/build.json":             &buildapi.Build{},
41
-		"../api/examples/build-list.json":        &buildapi.BuildList{},
42
-		"../api/examples/build-results.json":     &buildapi.Build{},
43
-		"../api/examples/build-config.json":      &buildapi.BuildConfig{},
44
-		"../api/examples/build-config-list.json": &buildapi.BuildConfigList{},
45
-
46
-		"../api/examples/config.json": &configapi.Config{},
47
-
48
-		"../api/examples/replication-controller.json":      &kapi.ReplicationController{},
49
-		"../api/examples/replication-controller-list.json": &kapi.ReplicationControllerList{},
50
-
51
-		"../api/examples/deployment-config.json":      &deployapi.DeploymentConfig{},
52
-		"../api/examples/deployment-config-list.json": &deployapi.DeploymentConfigList{},
53
-		"../api/examples/deployment.json":             &deployapi.Deployment{},
54
-		"../api/examples/deployment-list.json":        &deployapi.DeploymentList{},
55
-
56
-		"../api/examples/image.json":                 &imageapi.Image{},
57
-		"../api/examples/image-list.json":            &imageapi.ImageList{},
58
-		"../api/examples/image-repository.json":      &imageapi.ImageRepository{},
59
-		"../api/examples/image-repository-list.json": &imageapi.ImageRepositoryList{},
60
-
61
-		"../api/examples/pod.json":      &kapi.Pod{},
62
-		"../api/examples/pods.json":     &kapi.Pod{},
63
-		"../api/examples/pod-list.json": &kapi.PodList{},
64
-
65
-		"../api/examples/project.json":      &projectapi.Project{},
66
-		"../api/examples/project-list.json": &projectapi.ProjectList{},
67
-		"../api/examples/project-post.json": &projectapi.Project{},
68
-		"../api/examples/project-put.json":  &projectapi.Project{},
69
-
70
-		"../api/examples/service.json":      &kapi.Service{},
71
-		"../api/examples/service-list.json": &kapi.ServiceList{},
72
-
73
-		"../api/examples/template.json": &templateapi.Template{},
74
-
75
-		"../api/examples/create-build.json":        &buildapi.Build{},
76
-		"../api/examples/create-build-config.json": &buildapi.BuildConfig{},
77
-
78
-		"../api/examples/create-image.json":                    &imageapi.Image{},
79
-		"../api/examples/create-image-repository.json":         &imageapi.ImageRepository{},
80
-		"../api/examples/create-image-repository-mapping.json": &imageapi.ImageRepositoryMapping{},
81
-		"../api/examples/update-image.json":                    &imageapi.ImageRepository{},
82
-
83
-		"../api/examples/create-pod.json": &kapi.Pod{},
84
-
85
-		"../api/examples/create-service.json": &kapi.Service{},
86
-		"../api/examples/status-success.json": nil,
87
-
88 40
 		"../test/integration/fixtures/test-deployment-config.json": &deployapi.DeploymentConfig{},
89 41
 		"../test/integration/fixtures/test-image-repository.json":  &imageapi.ImageRepository{},
90 42
 		"../test/integration/fixtures/test-image.json":             &imageapi.Image{},
... ...
@@ -94,7 +45,7 @@ func TestExamples(t *testing.T) {
94 94
 	}
95 95
 
96 96
 	// Add the root directory to search for files you want to test, if is not in the list below.
97
-	rootDirs := []string{".", "../api/examples", "../test/integration/fixtures"}
97
+	rootDirs := []string{".", "../test/integration/fixtures"}
98 98
 	files := []string{}
99 99
 
100 100
 	for _, rootDir := range rootDirs {
101 101
deleted file mode 100755
... ...
@@ -1,15 +0,0 @@
1
-#!/bin/bash
2
-
3
-set -o errexit
4
-set -o nounset
5
-set -o pipefail
6
-
7
-OS_ROOT=$(dirname "${BASH_SOURCE}")/..
8
-source "${OS_ROOT}/hack/common.sh"
9
-
10
-cd "${OS_ROOT}/api"
11
-docker build -t kubernetes/raml2html .
12
-docker rm openshift3docgen &>/dev/null || :
13
-docker run --name=openshift3docgen kubernetes/raml2html
14
-docker cp openshift3docgen:/data/openshift3.html ${OS_ROOT}/api/
15
-docker rm openshift3docgen &>/dev/null || :