public/portworx/platform/targetcluster/application/apiv1/application.proto (version not set)
Download OpenAPI specification:Download
UpdateApplication API updates specified application on the target cluster.
path Parameters
application.meta.uid required | string UID of the resource of the format |
Request Body schema: application/jsonrequired
application to be updated.
object (Metadata of the application(Resource Meta).) Metadata of the application(Resource Meta). | |
object (v1Config) Desired configuration of the Application. | |
object (applicationv1Status) Status of the Application. |
Responses
Request samples
- Payload
{- "meta": {
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}
}, - "config": {
- "pds": {
- "global": {
- "dataServiceTlsEnabled": true
}
}
}, - "status": {
- "version": "string",
- "phase": "PHASE_UNSPECIFIED",
- "health": "HEALTH_UNSPECIFIED",
- "conditions": {
- "property1": "string",
- "property2": "string"
}
}
}
Response samples
- 200
- default
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "namespace": "string",
- "version": "string",
- "pds": {
- "global": {
- "dataServiceTlsEnabled": true
}
}
}, - "status": {
- "version": "string",
- "phase": "PHASE_UNSPECIFIED",
- "health": "HEALTH_UNSPECIFIED",
- "conditions": {
- "property1": "string",
- "property2": "string"
}
}
}
GetApplication API returns the info about application with given id.
path Parameters
id required | string Unique identifier of the application whose details needs to be fetched. |
query Parameters
clusterId | string Unique identifier of the cluster whose details needs to be fetched. |
Responses
Response samples
- 200
- default
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "namespace": "string",
- "version": "string",
- "pds": {
- "global": {
- "dataServiceTlsEnabled": true
}
}
}, - "status": {
- "version": "string",
- "phase": "PHASE_UNSPECIFIED",
- "health": "HEALTH_UNSPECIFIED",
- "conditions": {
- "property1": "string",
- "property2": "string"
}
}
}
UninstallApplication API uninstalls the specified application on the target cluster.
path Parameters
id required | string unique identifier of the application. |
query Parameters
clusterId | string Unique identifier of the cluster whose details needs to be fetched. |
Responses
Response samples
- 200
- default
{ }
ListApplications API lists the applications installed on the target cluster.
path Parameters
clusterId required | string Unique identifier of the cluster whose details needs to be fetched. |
query Parameters
pagination.pageNumber | string <int64> Page number is the page number to return based on the size. |
pagination.pageSize | string <int64> Page size is the maximum number of records to include per page. |
Responses
Response samples
- 200
- default
{- "applications": [
- {
- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "namespace": "string",
- "version": "string",
- "pds": {
- "global": {
- "dataServiceTlsEnabled": true
}
}
}, - "status": {
- "version": "string",
- "phase": "PHASE_UNSPECIFIED",
- "health": "HEALTH_UNSPECIFIED",
- "conditions": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "pagination": {
- "totalRecords": "string",
- "currentPage": "string",
- "pageSize": "string",
- "totalPages": "string",
- "nextPage": "string",
- "prevPage": "string"
}
}
InstallApplication API installs specified application on the target cluster.
path Parameters
clusterId required | string unique identifier of the cluster where application needs to be installed |
Request Body schema: application/jsonrequired
application to be installed.
object (v1Meta) Meta holds general resource metadata. | |
object (v1Config) Desired configuration of the Application. | |
object (applicationv1Status) Status of the Application. |
Responses
Request samples
- Payload
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}
}, - "config": {
- "pds": {
- "global": {
- "dataServiceTlsEnabled": true
}
}
}, - "status": {
- "version": "string",
- "phase": "PHASE_UNSPECIFIED",
- "health": "HEALTH_UNSPECIFIED",
- "conditions": {
- "property1": "string",
- "property2": "string"
}
}
}
Response samples
- 200
- default
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "namespace": "string",
- "version": "string",
- "pds": {
- "global": {
- "dataServiceTlsEnabled": true
}
}
}, - "status": {
- "version": "string",
- "phase": "PHASE_UNSPECIFIED",
- "health": "HEALTH_UNSPECIFIED",
- "conditions": {
- "property1": "string",
- "property2": "string"
}
}
}
GetApplication API returns the info about application with given id.
path Parameters
clusterId required | string Unique identifier of the cluster whose details needs to be fetched. |
id required | string Unique identifier of the application whose details needs to be fetched. |
Responses
Response samples
- 200
- default
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "namespace": "string",
- "version": "string",
- "pds": {
- "global": {
- "dataServiceTlsEnabled": true
}
}
}, - "status": {
- "version": "string",
- "phase": "PHASE_UNSPECIFIED",
- "health": "HEALTH_UNSPECIFIED",
- "conditions": {
- "property1": "string",
- "property2": "string"
}
}
}
UninstallApplication API uninstalls the specified application on the target cluster.
path Parameters
clusterId required | string Unique identifier of the cluster whose details needs to be fetched. |
id required | string unique identifier of the application. |
Responses
Response samples
- 200
- default
{ }