> For the complete documentation index, see [llms.txt](https://docs.catalyx.solutions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.catalyx.solutions/catalyx-blockchain-manager/canton-network/version-2.0/support-and-resources/openapi-reference/applications.md). Agents can also search and read this documentation through its [MCP server](https://docs.catalyx.solutions/~gitbook/mcp).

# Applications

Read-only Application CRD endpoints

## List applications

> Returns applications from configured default namespace

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Applications","description":"Read-only Application CRD endpoints"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Application":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ObjectMeta"},"spec":{"$ref":"#/components/schemas/ApplicationSpec"},"status":{"$ref":"#/components/schemas/ApplicationStatus"}}},"ObjectMeta":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"creationTimestamp":{"type":"string"},"deletionGracePeriodSeconds":{"type":"integer","format":"int64"},"deletionTimestamp":{"type":"string"},"finalizers":{"type":"array","items":{"type":"string"}},"generateName":{"type":"string"},"generation":{"type":"integer","format":"int64"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"managedFields":{"type":"array","items":{"$ref":"#/components/schemas/ManagedFieldsEntry"}},"name":{"type":"string"},"namespace":{"type":"string"},"ownerReferences":{"type":"array","items":{"$ref":"#/components/schemas/OwnerReference"}},"resourceVersion":{"type":"string"},"selfLink":{"type":"string"},"uid":{"type":"string"}}},"ManagedFieldsEntry":{"type":"object","properties":{"apiVersion":{"type":"string"},"fieldsType":{"type":"string"},"fieldsV1":{"$ref":"#/components/schemas/FieldsV1"},"manager":{"type":"string"},"operation":{"type":"string"},"subresource":{"type":"string"},"time":{"type":"string"}}},"FieldsV1":{},"OwnerReference":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"blockOwnerDeletion":{"type":"boolean"},"controller":{"type":"boolean"},"name":{"type":"string"},"uid":{"type":"string"}}},"ApplicationSpec":{"type":"object","properties":{"templateRef":{"type":"string"},"managedAuth":{"type":"boolean"},"inputs":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/JsonNode"}},"image":{"type":"string"},"replicas":{"type":"integer","format":"int32"},"resources":{"$ref":"#/components/schemas/ResourceRequirementsConfig"},"probes":{"$ref":"#/components/schemas/Probes"},"activePassive":{"type":"boolean"},"topologySpreadConstraints":{"type":"array","items":{"$ref":"#/components/schemas/TopologySpreadConstraint"}},"port":{"type":"integer","format":"int32"},"servicePorts":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"envVars":{"type":"array","items":{"$ref":"#/components/schemas/EnvVar"}},"args":{"type":"array","items":{"type":"string"}},"type":{"type":"string"},"instance":{"type":"string"},"component":{"type":"string"},"domain":{"type":"string"},"externalUrlPath":{"type":"string"},"ingressRoutes":{"type":"array","items":{"$ref":"#/components/schemas/IngressRoute"}},"imagePullSecrets":{"type":"array","items":{"type":"string"}},"serviceAccountName":{"type":"string"},"customAnnotations":{"type":"object","additionalProperties":{"type":"string"}},"configFile":{"$ref":"#/components/schemas/ConfigFile"},"oidcClient":{"$ref":"#/components/schemas/OidcClient"},"volumes":{"type":"array","items":{"$ref":"#/components/schemas/VolumeConfig"}},"volumeMounts":{"type":"array","items":{"$ref":"#/components/schemas/VolumeMountConfig"}},"fsGroup":{"type":"integer","format":"int64"}}},"JsonNode":{},"ResourceRequirementsConfig":{"type":"object","properties":{"requests":{"$ref":"#/components/schemas/ResourcesConfig"},"limits":{"$ref":"#/components/schemas/ResourcesConfig"}}},"ResourcesConfig":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"Probes":{"type":"object","properties":{"startup":{"$ref":"#/components/schemas/Probe"},"liveness":{"$ref":"#/components/schemas/Probe"},"readiness":{"$ref":"#/components/schemas/Probe"}}},"Probe":{"type":"object","properties":{"exec":{"$ref":"#/components/schemas/ExecAction"},"failureThreshold":{"type":"integer","format":"int32"},"grpc":{"$ref":"#/components/schemas/GRPCAction"},"httpGet":{"$ref":"#/components/schemas/HTTPGetAction"},"initialDelaySeconds":{"type":"integer","format":"int32"},"periodSeconds":{"type":"integer","format":"int32"},"successThreshold":{"type":"integer","format":"int32"},"tcpSocket":{"$ref":"#/components/schemas/TCPSocketAction"},"terminationGracePeriodSeconds":{"type":"integer","format":"int64"},"timeoutSeconds":{"type":"integer","format":"int32"}}},"ExecAction":{"type":"object","properties":{"command":{"type":"array","items":{"type":"string"}}}},"GRPCAction":{"type":"object","properties":{"port":{"type":"integer","format":"int32"},"service":{"type":"string"}}},"HTTPGetAction":{"type":"object","properties":{"host":{"type":"string"},"httpHeaders":{"type":"array","items":{"$ref":"#/components/schemas/HTTPHeader"}},"path":{"type":"string"},"port":{"$ref":"#/components/schemas/IntOrString"},"scheme":{"type":"string"}}},"HTTPHeader":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"IntOrString":{"type":"object","properties":{"value":{},"intVal":{"type":"integer","format":"int32"},"strVal":{"type":"string"}}},"TCPSocketAction":{"type":"object","properties":{"host":{"type":"string"},"port":{"$ref":"#/components/schemas/IntOrString"}}},"TopologySpreadConstraint":{"type":"object","properties":{"labelSelector":{"$ref":"#/components/schemas/LabelSelector"},"matchLabelKeys":{"type":"array","items":{"type":"string"}},"maxSkew":{"type":"integer","format":"int32"},"minDomains":{"type":"integer","format":"int32"},"nodeAffinityPolicy":{"type":"string"},"nodeTaintsPolicy":{"type":"string"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}},"LabelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"$ref":"#/components/schemas/LabelSelectorRequirement"}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"LabelSelectorRequirement":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}},"EnvVar":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"},"valueFrom":{"$ref":"#/components/schemas/EnvVarSource"}}},"EnvVarSource":{"type":"object","properties":{"configMapKeyRef":{"$ref":"#/components/schemas/ConfigMapKeySelector"},"fieldRef":{"$ref":"#/components/schemas/ObjectFieldSelector"},"resourceFieldRef":{"$ref":"#/components/schemas/ResourceFieldSelector"},"secretKeyRef":{"$ref":"#/components/schemas/SecretKeySelector"}}},"ConfigMapKeySelector":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"optional":{"type":"boolean"}}},"ObjectFieldSelector":{"type":"object","properties":{"apiVersion":{"type":"string"},"fieldPath":{"type":"string"}}},"ResourceFieldSelector":{"type":"object","properties":{"containerName":{"type":"string"},"divisor":{"$ref":"#/components/schemas/Quantity"},"resource":{"type":"string"}}},"Quantity":{"type":"object","properties":{"amount":{"type":"string"},"format":{"type":"string"}}},"SecretKeySelector":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"optional":{"type":"boolean"}}},"IngressRoute":{"type":"object","properties":{"pathPrefix":{"type":"string"},"priority":{"type":"integer","format":"int32"},"services":{"type":"array","items":{"$ref":"#/components/schemas/IngressService"}},"middlewares":{"type":"array","items":{"type":"string"}}}},"IngressService":{"type":"object","properties":{"name":{"type":"string"},"port":{"type":"integer","format":"int32"}}},"ConfigFile":{"type":"object","properties":{"fileName":{"type":"string"},"content":{"type":"string"},"mountPath":{"type":"string"},"secretValues":{"type":"array","items":{"$ref":"#/components/schemas/SecretValue"}}}},"SecretValue":{"type":"object","properties":{"name":{"type":"string"},"secretName":{"type":"string"},"key":{"type":"string"}}},"OidcClient":{"type":"object","properties":{"clientId":{"type":"string"},"audience":{"type":"string"},"optionalScopes":{"type":"array","items":{"type":"string"}},"removedDefaultScopes":{"type":"array","items":{"type":"string"}},"accessTokenLifespanSeconds":{"type":"integer","format":"int32"}}},"VolumeConfig":{"type":"object","properties":{"name":{"type":"string"},"emptyDir":{"$ref":"#/components/schemas/EmptyDirVolumeSource"},"persistentVolumeClaim":{"$ref":"#/components/schemas/PersistentVolumeClaimVolumeSource"},"configMap":{"$ref":"#/components/schemas/ConfigMapVolumeSource"},"secret":{"$ref":"#/components/schemas/SecretVolumeSource"}}},"EmptyDirVolumeSource":{"type":"object","properties":{"medium":{"type":"string"},"sizeLimit":{"$ref":"#/components/schemas/Quantity"}}},"PersistentVolumeClaimVolumeSource":{"type":"object","properties":{"claimName":{"type":"string"},"readOnly":{"type":"boolean"}}},"ConfigMapVolumeSource":{"type":"object","properties":{"defaultMode":{"type":"integer","format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/KeyToPath"}},"name":{"type":"string"},"optional":{"type":"boolean"}}},"KeyToPath":{"type":"object","properties":{"key":{"type":"string"},"mode":{"type":"integer","format":"int32"},"path":{"type":"string"}}},"SecretVolumeSource":{"type":"object","properties":{"defaultMode":{"type":"integer","format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/KeyToPath"}},"optional":{"type":"boolean"},"secretName":{"type":"string"}}},"VolumeMountConfig":{"type":"object","properties":{"name":{"type":"string"},"mountPath":{"type":"string"},"subPath":{"type":"string"},"readOnly":{"type":"boolean"}}},"ApplicationStatus":{"type":"object","properties":{"observedGeneration":{"type":"integer","format":"int64"},"deployment":{"$ref":"#/components/schemas/DeploymentStatus"},"service":{"$ref":"#/components/schemas/ServiceStatus"},"ingress":{"$ref":"#/components/schemas/IngressStatus"},"endpoints":{"$ref":"#/components/schemas/Endpoints"},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"templateRevision":{"type":"string"},"upgradeAvailable":{"type":"boolean"},"upgradeRequest":{"type":"string"},"oidcClientIds":{"type":"array","items":{"type":"string"}},"oidcClients":{"type":"array","items":{"$ref":"#/components/schemas/OidcClientStatus"}}}},"DeploymentStatus":{"type":"object","properties":{"name":{"type":"string"},"replicas":{"type":"integer","format":"int32"},"readyReplicas":{"type":"integer","format":"int32"},"availableReplicas":{"type":"integer","format":"int32"},"updatedReplicas":{"type":"integer","format":"int32"}}},"ServiceStatus":{"type":"object","properties":{"name":{"type":"string"}}},"IngressStatus":{"type":"object","properties":{"name":{"type":"string"}}},"Endpoints":{"type":"object","properties":{"jsonLedgerApiUrl":{"type":"string"}}},"Condition":{"type":"object","properties":{"lastTransitionTime":{"type":"string"},"message":{"type":"string"},"observedGeneration":{"type":"integer","format":"int64"},"reason":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}}},"OidcClientStatus":{"type":"object","properties":{"name":{"type":"string"},"clientId":{"type":"string"},"serviceAccountUserId":{"type":"string"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/applications":{"get":{"tags":["Applications"],"summary":"List applications","description":"Returns applications from configured default namespace","operationId":"listApplications","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Application"}}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```

## Get application

> Returns one application by name in configured default namespace

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Applications","description":"Read-only Application CRD endpoints"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Application":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ObjectMeta"},"spec":{"$ref":"#/components/schemas/ApplicationSpec"},"status":{"$ref":"#/components/schemas/ApplicationStatus"}}},"ObjectMeta":{"type":"object","properties":{"annotations":{"type":"object","additionalProperties":{"type":"string"}},"creationTimestamp":{"type":"string"},"deletionGracePeriodSeconds":{"type":"integer","format":"int64"},"deletionTimestamp":{"type":"string"},"finalizers":{"type":"array","items":{"type":"string"}},"generateName":{"type":"string"},"generation":{"type":"integer","format":"int64"},"labels":{"type":"object","additionalProperties":{"type":"string"}},"managedFields":{"type":"array","items":{"$ref":"#/components/schemas/ManagedFieldsEntry"}},"name":{"type":"string"},"namespace":{"type":"string"},"ownerReferences":{"type":"array","items":{"$ref":"#/components/schemas/OwnerReference"}},"resourceVersion":{"type":"string"},"selfLink":{"type":"string"},"uid":{"type":"string"}}},"ManagedFieldsEntry":{"type":"object","properties":{"apiVersion":{"type":"string"},"fieldsType":{"type":"string"},"fieldsV1":{"$ref":"#/components/schemas/FieldsV1"},"manager":{"type":"string"},"operation":{"type":"string"},"subresource":{"type":"string"},"time":{"type":"string"}}},"FieldsV1":{},"OwnerReference":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"blockOwnerDeletion":{"type":"boolean"},"controller":{"type":"boolean"},"name":{"type":"string"},"uid":{"type":"string"}}},"ApplicationSpec":{"type":"object","properties":{"templateRef":{"type":"string"},"managedAuth":{"type":"boolean"},"inputs":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/JsonNode"}},"image":{"type":"string"},"replicas":{"type":"integer","format":"int32"},"resources":{"$ref":"#/components/schemas/ResourceRequirementsConfig"},"probes":{"$ref":"#/components/schemas/Probes"},"activePassive":{"type":"boolean"},"topologySpreadConstraints":{"type":"array","items":{"$ref":"#/components/schemas/TopologySpreadConstraint"}},"port":{"type":"integer","format":"int32"},"servicePorts":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"envVars":{"type":"array","items":{"$ref":"#/components/schemas/EnvVar"}},"args":{"type":"array","items":{"type":"string"}},"type":{"type":"string"},"instance":{"type":"string"},"component":{"type":"string"},"domain":{"type":"string"},"externalUrlPath":{"type":"string"},"ingressRoutes":{"type":"array","items":{"$ref":"#/components/schemas/IngressRoute"}},"imagePullSecrets":{"type":"array","items":{"type":"string"}},"serviceAccountName":{"type":"string"},"customAnnotations":{"type":"object","additionalProperties":{"type":"string"}},"configFile":{"$ref":"#/components/schemas/ConfigFile"},"oidcClient":{"$ref":"#/components/schemas/OidcClient"},"volumes":{"type":"array","items":{"$ref":"#/components/schemas/VolumeConfig"}},"volumeMounts":{"type":"array","items":{"$ref":"#/components/schemas/VolumeMountConfig"}},"fsGroup":{"type":"integer","format":"int64"}}},"JsonNode":{},"ResourceRequirementsConfig":{"type":"object","properties":{"requests":{"$ref":"#/components/schemas/ResourcesConfig"},"limits":{"$ref":"#/components/schemas/ResourcesConfig"}}},"ResourcesConfig":{"type":"object","properties":{"cpu":{"type":"string"},"memory":{"type":"string"}}},"Probes":{"type":"object","properties":{"startup":{"$ref":"#/components/schemas/Probe"},"liveness":{"$ref":"#/components/schemas/Probe"},"readiness":{"$ref":"#/components/schemas/Probe"}}},"Probe":{"type":"object","properties":{"exec":{"$ref":"#/components/schemas/ExecAction"},"failureThreshold":{"type":"integer","format":"int32"},"grpc":{"$ref":"#/components/schemas/GRPCAction"},"httpGet":{"$ref":"#/components/schemas/HTTPGetAction"},"initialDelaySeconds":{"type":"integer","format":"int32"},"periodSeconds":{"type":"integer","format":"int32"},"successThreshold":{"type":"integer","format":"int32"},"tcpSocket":{"$ref":"#/components/schemas/TCPSocketAction"},"terminationGracePeriodSeconds":{"type":"integer","format":"int64"},"timeoutSeconds":{"type":"integer","format":"int32"}}},"ExecAction":{"type":"object","properties":{"command":{"type":"array","items":{"type":"string"}}}},"GRPCAction":{"type":"object","properties":{"port":{"type":"integer","format":"int32"},"service":{"type":"string"}}},"HTTPGetAction":{"type":"object","properties":{"host":{"type":"string"},"httpHeaders":{"type":"array","items":{"$ref":"#/components/schemas/HTTPHeader"}},"path":{"type":"string"},"port":{"$ref":"#/components/schemas/IntOrString"},"scheme":{"type":"string"}}},"HTTPHeader":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"IntOrString":{"type":"object","properties":{"value":{},"intVal":{"type":"integer","format":"int32"},"strVal":{"type":"string"}}},"TCPSocketAction":{"type":"object","properties":{"host":{"type":"string"},"port":{"$ref":"#/components/schemas/IntOrString"}}},"TopologySpreadConstraint":{"type":"object","properties":{"labelSelector":{"$ref":"#/components/schemas/LabelSelector"},"matchLabelKeys":{"type":"array","items":{"type":"string"}},"maxSkew":{"type":"integer","format":"int32"},"minDomains":{"type":"integer","format":"int32"},"nodeAffinityPolicy":{"type":"string"},"nodeTaintsPolicy":{"type":"string"},"topologyKey":{"type":"string"},"whenUnsatisfiable":{"type":"string"}}},"LabelSelector":{"type":"object","properties":{"matchExpressions":{"type":"array","items":{"$ref":"#/components/schemas/LabelSelectorRequirement"}},"matchLabels":{"type":"object","additionalProperties":{"type":"string"}}}},"LabelSelectorRequirement":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}},"EnvVar":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"},"valueFrom":{"$ref":"#/components/schemas/EnvVarSource"}}},"EnvVarSource":{"type":"object","properties":{"configMapKeyRef":{"$ref":"#/components/schemas/ConfigMapKeySelector"},"fieldRef":{"$ref":"#/components/schemas/ObjectFieldSelector"},"resourceFieldRef":{"$ref":"#/components/schemas/ResourceFieldSelector"},"secretKeyRef":{"$ref":"#/components/schemas/SecretKeySelector"}}},"ConfigMapKeySelector":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"optional":{"type":"boolean"}}},"ObjectFieldSelector":{"type":"object","properties":{"apiVersion":{"type":"string"},"fieldPath":{"type":"string"}}},"ResourceFieldSelector":{"type":"object","properties":{"containerName":{"type":"string"},"divisor":{"$ref":"#/components/schemas/Quantity"},"resource":{"type":"string"}}},"Quantity":{"type":"object","properties":{"amount":{"type":"string"},"format":{"type":"string"}}},"SecretKeySelector":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"optional":{"type":"boolean"}}},"IngressRoute":{"type":"object","properties":{"pathPrefix":{"type":"string"},"priority":{"type":"integer","format":"int32"},"services":{"type":"array","items":{"$ref":"#/components/schemas/IngressService"}},"middlewares":{"type":"array","items":{"type":"string"}}}},"IngressService":{"type":"object","properties":{"name":{"type":"string"},"port":{"type":"integer","format":"int32"}}},"ConfigFile":{"type":"object","properties":{"fileName":{"type":"string"},"content":{"type":"string"},"mountPath":{"type":"string"},"secretValues":{"type":"array","items":{"$ref":"#/components/schemas/SecretValue"}}}},"SecretValue":{"type":"object","properties":{"name":{"type":"string"},"secretName":{"type":"string"},"key":{"type":"string"}}},"OidcClient":{"type":"object","properties":{"clientId":{"type":"string"},"audience":{"type":"string"},"optionalScopes":{"type":"array","items":{"type":"string"}},"removedDefaultScopes":{"type":"array","items":{"type":"string"}},"accessTokenLifespanSeconds":{"type":"integer","format":"int32"}}},"VolumeConfig":{"type":"object","properties":{"name":{"type":"string"},"emptyDir":{"$ref":"#/components/schemas/EmptyDirVolumeSource"},"persistentVolumeClaim":{"$ref":"#/components/schemas/PersistentVolumeClaimVolumeSource"},"configMap":{"$ref":"#/components/schemas/ConfigMapVolumeSource"},"secret":{"$ref":"#/components/schemas/SecretVolumeSource"}}},"EmptyDirVolumeSource":{"type":"object","properties":{"medium":{"type":"string"},"sizeLimit":{"$ref":"#/components/schemas/Quantity"}}},"PersistentVolumeClaimVolumeSource":{"type":"object","properties":{"claimName":{"type":"string"},"readOnly":{"type":"boolean"}}},"ConfigMapVolumeSource":{"type":"object","properties":{"defaultMode":{"type":"integer","format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/KeyToPath"}},"name":{"type":"string"},"optional":{"type":"boolean"}}},"KeyToPath":{"type":"object","properties":{"key":{"type":"string"},"mode":{"type":"integer","format":"int32"},"path":{"type":"string"}}},"SecretVolumeSource":{"type":"object","properties":{"defaultMode":{"type":"integer","format":"int32"},"items":{"type":"array","items":{"$ref":"#/components/schemas/KeyToPath"}},"optional":{"type":"boolean"},"secretName":{"type":"string"}}},"VolumeMountConfig":{"type":"object","properties":{"name":{"type":"string"},"mountPath":{"type":"string"},"subPath":{"type":"string"},"readOnly":{"type":"boolean"}}},"ApplicationStatus":{"type":"object","properties":{"observedGeneration":{"type":"integer","format":"int64"},"deployment":{"$ref":"#/components/schemas/DeploymentStatus"},"service":{"$ref":"#/components/schemas/ServiceStatus"},"ingress":{"$ref":"#/components/schemas/IngressStatus"},"endpoints":{"$ref":"#/components/schemas/Endpoints"},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"templateRevision":{"type":"string"},"upgradeAvailable":{"type":"boolean"},"upgradeRequest":{"type":"string"},"oidcClientIds":{"type":"array","items":{"type":"string"}},"oidcClients":{"type":"array","items":{"$ref":"#/components/schemas/OidcClientStatus"}}}},"DeploymentStatus":{"type":"object","properties":{"name":{"type":"string"},"replicas":{"type":"integer","format":"int32"},"readyReplicas":{"type":"integer","format":"int32"},"availableReplicas":{"type":"integer","format":"int32"},"updatedReplicas":{"type":"integer","format":"int32"}}},"ServiceStatus":{"type":"object","properties":{"name":{"type":"string"}}},"IngressStatus":{"type":"object","properties":{"name":{"type":"string"}}},"Endpoints":{"type":"object","properties":{"jsonLedgerApiUrl":{"type":"string"}}},"Condition":{"type":"object","properties":{"lastTransitionTime":{"type":"string"},"message":{"type":"string"},"observedGeneration":{"type":"integer","format":"int64"},"reason":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}}},"OidcClientStatus":{"type":"object","properties":{"name":{"type":"string"},"clientId":{"type":"string"},"serviceAccountUserId":{"type":"string"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/applications/{name}":{"get":{"tags":["Applications"],"summary":"Get application","description":"Returns one application by name in configured default namespace","operationId":"getApplication","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Application"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```

## Get application status

> Returns only application CRD status

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Applications","description":"Read-only Application CRD endpoints"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ApplicationStatus":{"type":"object","properties":{"observedGeneration":{"type":"integer","format":"int64"},"deployment":{"$ref":"#/components/schemas/DeploymentStatus"},"service":{"$ref":"#/components/schemas/ServiceStatus"},"ingress":{"$ref":"#/components/schemas/IngressStatus"},"endpoints":{"$ref":"#/components/schemas/Endpoints"},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"templateRevision":{"type":"string"},"upgradeAvailable":{"type":"boolean"},"upgradeRequest":{"type":"string"},"oidcClientIds":{"type":"array","items":{"type":"string"}},"oidcClients":{"type":"array","items":{"$ref":"#/components/schemas/OidcClientStatus"}}}},"DeploymentStatus":{"type":"object","properties":{"name":{"type":"string"},"replicas":{"type":"integer","format":"int32"},"readyReplicas":{"type":"integer","format":"int32"},"availableReplicas":{"type":"integer","format":"int32"},"updatedReplicas":{"type":"integer","format":"int32"}}},"ServiceStatus":{"type":"object","properties":{"name":{"type":"string"}}},"IngressStatus":{"type":"object","properties":{"name":{"type":"string"}}},"Endpoints":{"type":"object","properties":{"jsonLedgerApiUrl":{"type":"string"}}},"Condition":{"type":"object","properties":{"lastTransitionTime":{"type":"string"},"message":{"type":"string"},"observedGeneration":{"type":"integer","format":"int64"},"reason":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"}}},"OidcClientStatus":{"type":"object","properties":{"name":{"type":"string"},"clientId":{"type":"string"},"serviceAccountUserId":{"type":"string"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/applications/{name}/status":{"get":{"tags":["Applications"],"summary":"Get application status","description":"Returns only application CRD status","operationId":"getApplicationStatus","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApplicationStatus"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```

## Get application resource metrics

> Returns per-replica CPU/memory usage (metrics-server), requests and limits for one application. CPU in millicores, memory in bytes.

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Applications","description":"Read-only Application CRD endpoints"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ApplicationMetrics":{"type":"object","properties":{"application":{"type":"string"},"metricsAvailable":{"type":"boolean"},"restarts":{"type":"integer","format":"int32"},"replicas":{"type":"array","items":{"$ref":"#/components/schemas/ReplicaMetrics"}},"totals":{"$ref":"#/components/schemas/ResourceTotals"}}},"ReplicaMetrics":{"type":"object","properties":{"pod":{"type":"string"},"phase":{"type":"string"},"restarts":{"type":"integer","format":"int32"},"cpu":{"$ref":"#/components/schemas/ResourceMetric"},"memory":{"$ref":"#/components/schemas/ResourceMetric"}}},"ResourceMetric":{"type":"object","properties":{"usage":{"type":"integer","format":"int64"},"request":{"type":"integer","format":"int64"},"limit":{"type":"integer","format":"int64"}}},"ResourceTotals":{"type":"object","properties":{"cpu":{"$ref":"#/components/schemas/ResourceMetric"},"memory":{"$ref":"#/components/schemas/ResourceMetric"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/applications/{name}/metrics":{"get":{"tags":["Applications"],"summary":"Get application resource metrics","description":"Returns per-replica CPU/memory usage (metrics-server), requests and limits for one application. CPU in millicores, memory in bytes.","operationId":"getApplicationMetrics","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApplicationMetrics"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```

## List application resource metrics

> Returns per-replica CPU/memory usage (metrics-server), requests and limits for every application. CPU in millicores, memory in bytes.

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Applications","description":"Read-only Application CRD endpoints"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ApplicationMetrics":{"type":"object","properties":{"application":{"type":"string"},"metricsAvailable":{"type":"boolean"},"restarts":{"type":"integer","format":"int32"},"replicas":{"type":"array","items":{"$ref":"#/components/schemas/ReplicaMetrics"}},"totals":{"$ref":"#/components/schemas/ResourceTotals"}}},"ReplicaMetrics":{"type":"object","properties":{"pod":{"type":"string"},"phase":{"type":"string"},"restarts":{"type":"integer","format":"int32"},"cpu":{"$ref":"#/components/schemas/ResourceMetric"},"memory":{"$ref":"#/components/schemas/ResourceMetric"}}},"ResourceMetric":{"type":"object","properties":{"usage":{"type":"integer","format":"int64"},"request":{"type":"integer","format":"int64"},"limit":{"type":"integer","format":"int64"}}},"ResourceTotals":{"type":"object","properties":{"cpu":{"$ref":"#/components/schemas/ResourceMetric"},"memory":{"$ref":"#/components/schemas/ResourceMetric"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/applications/metrics":{"get":{"tags":["Applications"],"summary":"List application resource metrics","description":"Returns per-replica CPU/memory usage (metrics-server), requests and limits for every application. CPU in millicores, memory in bytes.","operationId":"listApplicationMetrics","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMetrics"}}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.catalyx.solutions/catalyx-blockchain-manager/canton-network/version-2.0/support-and-resources/openapi-reference/applications.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
