1.5. Applications API
1.5.1. Overview 复制链接链接已复制到粘贴板!
This documentation is for the Application resource for Red Hat Advanced Cluster Management for Kubernetes. Application resource has four possible requests: create, query, delete and update.
1.5.1.1. Version information 复制链接链接已复制到粘贴板!
Version : 2.0.0
1.5.1.2. Contact information 复制链接链接已复制到粘贴板!
Contact Email : apiteam@swagger.io
1.5.1.3. License information 复制链接链接已复制到粘贴板!
License : Apache 2.0
License URL : http://www.apache.org/licenses/LICENSE-2.0.html
Terms of service : http://swagger.io/terms/
1.5.1.4. URI scheme 复制链接链接已复制到粘贴板!
BasePath : /kubernetes/apis
Schemes : HTTPS
1.5.1.5. Tags 复制链接链接已复制到粘贴板!
- applications.app.k8s.io : Create and manage applications
1.5.1.6. External Docs 复制链接链接已复制到粘贴板!
Description : Find out more about Swagger.
URL : http://swagger.io
1.5.2. Paths 复制链接链接已复制到粘贴板!
1.5.2.1. Create a application 复制链接链接已复制到粘贴板!
POST /app.k8s.io/v1beta1/namespaces/{namespace}/applications
POST /app.k8s.io/v1beta1/namespaces/{namespace}/applications
1.5.2.1.1. Description 复制链接链接已复制到粘贴板!
Create a application.
1.5.2.1.2. Parameters 复制链接链接已复制到粘贴板!
Type | Name | Description | Schema |
---|---|---|---|
Header |
COOKIE | Authorization: Bearer {ACCESS_TOKEN} ; ACCESS_TOKEN is the user access token. | string |
Path |
namespace | Namespace that you want to use, for example, default. | string |
Body |
body | Parameters describing the application to be created. |
1.5.2.1.3. Responses 复制链接链接已复制到粘贴板!
HTTP Code | Description | Schema |
---|---|---|
200 | Success | No Content |
403 | Access forbidden | No Content |
404 | Resource not found | No Content |
500 | Internal service error | No Content |
503 | Service unavailable | No Content |
1.5.2.1.4. Consumes 复制链接链接已复制到粘贴板!
-
application/yaml
1.5.2.1.5. Tags 复制链接链接已复制到粘贴板!
- applications.app.k8s.io
1.5.2.1.6. Example HTTP request 复制链接链接已复制到粘贴板!
1.5.2.1.6.1. Request body 复制链接链接已复制到粘贴板!
1.5.2.2. Query all applications 复制链接链接已复制到粘贴板!
GET /app.k8s.io/v1beta1/namespaces/{namespace}/applications
GET /app.k8s.io/v1beta1/namespaces/{namespace}/applications
1.5.2.2.1. Description 复制链接链接已复制到粘贴板!
Query your applications for more details.
1.5.2.2.2. Parameters 复制链接链接已复制到粘贴板!
Type | Name | Description | Schema |
---|---|---|---|
Header |
COOKIE | Authorization: Bearer {ACCESS_TOKEN} ; ACCESS_TOKEN is the user access token. | string |
Path |
namespace | Namespace that you want to use, for example, default. | string |
1.5.2.2.3. Responses 复制链接链接已复制到粘贴板!
HTTP Code | Description | Schema |
---|---|---|
200 | Success | No Content |
403 | Access forbidden | No Content |
404 | Resource not found | No Content |
500 | Internal service error | No Content |
503 | Service unavailable | No Content |
1.5.2.2.4. Consumes 复制链接链接已复制到粘贴板!
-
application/yaml
1.5.2.2.5. Tags 复制链接链接已复制到粘贴板!
- applications.app.k8s.io
1.5.2.3. Query a single application 复制链接链接已复制到粘贴板!
GET /app.k8s.io/v1beta1/namespaces/{namespace}/applications/{application_name}
GET /app.k8s.io/v1beta1/namespaces/{namespace}/applications/{application_name}
1.5.2.3.1. Description 复制链接链接已复制到粘贴板!
Query a single application for more details.
1.5.2.3.2. Parameters 复制链接链接已复制到粘贴板!
Type | Name | Description | Schema |
---|---|---|---|
Header |
COOKIE | Authorization: Bearer {ACCESS_TOKEN} ; ACCESS_TOKEN is the user access token. | string |
Path |
application_name | Name of the application that you wan to query. | string |
Path |
namespace | Namespace that you want to use, for example, default. | string |
1.5.2.3.3. Responses 复制链接链接已复制到粘贴板!
HTTP Code | Description | Schema |
---|---|---|
200 | Success | No Content |
403 | Access forbidden | No Content |
404 | Resource not found | No Content |
500 | Internal service error | No Content |
503 | Service unavailable | No Content |
1.5.2.3.4. Tags 复制链接链接已复制到粘贴板!
- applications.app.k8s.io
1.5.2.4. Delete a application 复制链接链接已复制到粘贴板!
DELETE /app.k8s.io/v1beta1/namespaces/{namespace}/applications/{application_name}
DELETE /app.k8s.io/v1beta1/namespaces/{namespace}/applications/{application_name}
1.5.2.4.1. Parameters 复制链接链接已复制到粘贴板!
Type | Name | Description | Schema |
---|---|---|---|
Header |
COOKIE | Authorization: Bearer {ACCESS_TOKEN} ; ACCESS_TOKEN is the user access token. | string |
Path |
application_name | Name of the application that you want to delete. | string |
Path |
namespace | Namespace that you want to use, for example, default. | string |
1.5.2.4.2. Responses 复制链接链接已复制到粘贴板!
HTTP Code | Description | Schema |
---|---|---|
200 | Success | No Content |
403 | Access forbidden | No Content |
404 | Resource not found | No Content |
500 | Internal service error | No Content |
503 | Service unavailable | No Content |
1.5.2.4.3. Tags 复制链接链接已复制到粘贴板!
- applications.app.k8s.io
1.5.3. Definitions 复制链接链接已复制到粘贴板!
1.5.3.1. Application 复制链接链接已复制到粘贴板!
Name | Schema |
---|---|
apiVersion | string |
kind | string |
metadata | object |
spec |
spec
Name | Schema |
---|---|
assemblyPhase | string |
componentKinds | < object > array |
descriptor | |
info | < info > array |
selector | object |
descriptor
Name | Schema |
---|---|
description | string |
icons | < icons > array |
keywords | < string > array |
links | < links > array |
maintainers | < maintainers > array |
notes | string |
owners | < owners > array |
type | string |
version | string |
icons
Name | Schema |
---|---|
size | string |
src | string |
type | string |
links
Name | Schema |
---|---|
description | string |
url | string |
maintainers
Name | Schema |
---|---|
email | string |
name | string |
url | string |
owners
Name | Schema |
---|---|
email | string |
name | string |
url | string |
info
Name | Schema |
---|---|
name | string |
type | string |
value | string |
valueFrom |
valueFrom
Name | Schema |
---|---|
configMapKeyRef | |
ingressRef | |
secretKeyRef | |
serviceRef | |
type | string |
configMapKeyRef
Name | Schema |
---|---|
apiVersion | string |
fieldPath | string |
key | string |
kind | string |
name | string |
namespace | string |
resourceVersion | string |
uid | string |
ingressRef
Name | Schema |
---|---|
apiVersion | string |
fieldPath | string |
host | string |
kind | string |
name | string |
namespace | string |
path | string |
resourceVersion | string |
uid | string |
secretKeyRef
Name | Schema |
---|---|
apiVersion | string |
fieldPath | string |
key | string |
kind | string |
name | string |
namespace | string |
resourceVersion | string |
uid | string |
serviceRef
Name | Schema |
---|---|
apiVersion | string |
fieldPath | string |
kind | string |
name | string |
namespace | string |
path | string |
port | integer (int32) |
resourceVersion | string |
uid | string |