App Profiles

https://api.spectrocloud.com/v1/appProfiles

summary:
Creates a application profile
{
"metadata": {
"annotations": "object",
"labels": "object",
"name": "string"
},
"spec": {
"template": {
"appTiers": [
{
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"content": "string",
"name": "string"
}
],
"name": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
}
]
},
"version": "string"
}
}
201
Created successfully
{
"uid": "string"
}

https://api.spectrocloud.com/v1/appProfiles/macros

summary:
List all application profile macros
200
OK
{
"macros": [
{
"name": "string",
"value": "string"
}
]
}

https://api.spectrocloud.com/v1/appProfiles/{uid}

summary:
Deletes the specified application profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
204
The resource was deleted successfully

https://api.spectrocloud.com/v1/appProfiles/{uid}

summary:
Returns the specified application profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
200
OK
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"parentUid": "string",
"template": {
"appTiers": [
{
"name": "string",
"type": "string",
"uid": "string",
"version": "string"
}
],
"registryRefs": [
{
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
}
]
},
"version": "string",
"versions": [
{
"uid": "string",
"version": "string"
}
]
},
"status": {
"inUseApps": [
{
"kind": "string",
"name": "string",
"projectUid": "string",
"tenantUid": "string",
"uid": "string"
}
]
}
}

https://api.spectrocloud.com/v1/appProfiles/{uid}

summary:
Updates the specified application profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
{
"metadata": {
"annotations": "object",
"labels": "object",
"name": "string"
},
"spec": {
"template": {
"appTiers": [
{
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"content": "string",
"name": "string"
}
],
"name": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
}
]
},
"version": "string"
}
}
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appProfiles/{uid}/clone

summary:
Clone the specified application profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
{
"metadata": {
"name": "string",
"target": {
"projectUid": "string"
},
"version": "string"
}
}
201
Created successfully
{
"uid": "string"
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/clone/validate

summary:
Validates the application profile clone
Path parameters:
NameTypeDescriptionRequired
uidstringyes
{
"name": "string",
"target": {
"projectUid": "string"
},
"version": "string"
}
204
Ok reponse without content

https://api.spectrocloud.com/v1/appProfiles/{uid}/metadata

summary:
Updates the specified application profile metadata
Path parameters:
NameTypeDescriptionRequired
uidstringyes
{
"metadata": {
"annotations": "object",
"labels": "object"
},
"version": "string"
}
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers

summary:
Returns all tiers of the specified application profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
200
OK
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"appTiers": [
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
}
],
"properties": [
{
"format": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
}
}
]
}
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers

summary:
Patch app tier to the specified application profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
{
"appTier": {
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"content": "string",
"name": "string"
}
],
"name": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
},
"replaceWithAppTier": "string"
}
201
Created successfully
{
"uid": "string"
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers

summary:
Adds tier to the specified application profile
Path parameters:
NameTypeDescriptionRequired
uidstringyes
{
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"content": "string",
"name": "string"
}
],
"name": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
}
201
Created successfully
{
"uid": "string"
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}

summary:
Deletes the specified application profile's tier
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
204
The resource was deleted successfully

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}

summary:
Returns the specified application profile's tier information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
200
OK
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
}
],
"properties": [
{
"format": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"registryUid": "string",
"sourceAppTierUid": "string",
"type": "string",
"values": "string",
"version": "string"
}
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}

summary:
Updates the specified application profile's tier information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
{
"containerRegistryUid": "string",
"installOrder": "integer",
"manifests": [
{
"content": "string",
"name": "string",
"uid": "string"
}
],
"name": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"values": "string",
"version": "string"
}
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}/manifests

summary:
Returns all manifests of the specified application profile's tier
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
200
OK
{
"manifests": [
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"published": {
"content": "string",
"digest": "string"
}
}
}
]
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}/manifests

summary:
Adds manifest to the specified application profile's tier
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
{
"content": "string",
"name": "string"
}
201
Created successfully
{
"uid": "string"
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}/manifests/{manifestUid}

summary:
Deletes the specified application tier's manifest
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
manifestUidstringyes
204
The resource was deleted successfully

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}/manifests/{manifestUid}

summary:
Returns the specified application tier's manifest information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
manifestUidstringyes
200
OK
{
"metadata": {
"annotations": "object",
"creationTimestamp": "date-time",
"deletionTimestamp": "date-time",
"labels": "object",
"lastModifiedTimestamp": "date-time",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"published": {
"content": "string",
"digest": "string"
}
}
}

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}/manifests/{manifestUid}

summary:
Updates the specified application tier's manifest information
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
manifestUidstringyes
{
"content": "string",
"name": "string",
"uid": "string"
}
204
The resource was updated successfully

https://api.spectrocloud.com/v1/appProfiles/{uid}/tiers/{tierUid}/resolvedValues

summary:
Returns the specified application profile's tier resolved values
Path parameters:
NameTypeDescriptionRequired
uidstringyes
tierUidstringyes
200
OK
{
"resolved": "object"
}