Returns a specific application
Returns a specific application
Path Parameters
workspace stringrequired
Workspace to use
name stringrequired
The name of the application you wish to retrieve
Responses
- 200
- 401
- 403
- 404
- 500
Contains the application definition
- application/json
- Schema
- Example (from schema)
Schema
apiVersion string
kind string
metadata
spec
status
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"clusterName": "string",
"creationTimestamp": "string",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "string",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"labels": {},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": "string",
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "string"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"cloud": "string",
"components": [
{
"cloudResource": {
"plan": "string",
"variables": {}
},
"container": {
"env": [
{
"fromCloudResourceOutput": {
"componentName": "string",
"output": "string"
},
"name": "string",
"value": "string"
}
],
"expose": true,
"image": "string",
"port": 0,
"tls": true,
"whitelist": [
"string"
]
},
"dependsOn": [
"string"
],
"key": "string",
"name": "string",
"type": "string"
}
],
"description": "string",
"key": "string",
"name": "string"
},
"status": {
"cloudResourcesCreated": true,
"conditions": [
{
"detail": "string",
"lastTransitionTime": "string",
"message": "string",
"name": "string",
"negativePolarity": true,
"observedGeneration": 0,
"reason": "string",
"status": "string",
"type": "string"
}
],
"detail": "string",
"lastReconcile": {
"generation": 0,
"time": "string"
},
"lastSuccess": {
"generation": 0,
"time": "string"
},
"message": "string",
"obsoleteResources": [
{
"kind": "string",
"name": "string"
}
],
"status": "string",
"wayfinderVersion": "string"
}
}
If not authenticated
If authenticated but not authorized
the application with the given name doesn't exist
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
code int32
detail string
message string
uri string
verb string
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://<WAYFINDER-API-ENDPOINT>/api/v1alpha1/workspaces/:workspace/applications/:name' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear