Overview
Statistics
23
Operations
0
Skills
Management
Category
Manage alerts, deployments, diagnostics, logs, and schedulers for Runtime Fabric and CloudHub 2.0 applications.
Servers
-
https://anypoint.mulesoft.com/amc/application-manager/api/v2AMC Application Manager API -
https://{region}.anypoint.mulesoft.com/amc/application-manager/api/v2Regional AMC Application Manager API -
https://{region}.platform.mulesoft.com/amc/application-manager/api/v2Regional AMC Application Manager API
Authentication & Security
-
bearerAuth http
Bearer token authentication. Login endpoint: https://anypoint.mulesoft.com/accounts/api/login
-
clientAuth oauth2
OAuth2 client credentials. Token endpoint: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token
Update Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Schedulers By Flowname updateOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulersByFlowname
PUT
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates the scheduler configuration for the specified flow name.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
flowName *:
string
The flowName to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Request Body *
jsontimeUnit:
string
Only for FixedFrequencyScheduler or null otherwise.<br/>The time unit for the values of Frequency and Start Delay.<br/>The possible values are: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
frequency:
string
Only for FixedFrequencyScheduler or null otherwise.<br/>The frequency at which the Scheduler triggers the flow.
startDelay:
string
Only for FixedFrequencyScheduler or null otherwise.<br/>The amount of time to wait before triggering the flow for the first time after the application is started.
expression:
string
Only for CronScheduler or null otherwise.<br/>A date-time expression.
timeZone:
string
Only for CronScheduler or null otherwise.<br/>Java timeZone values are supported.
enabled:
boolean
True to enable the scheduler or false otherwise.
fixedFrequencyScehduler:
boolean
Response
Success
total:
integer(int64)
The items list size.
items:
array
Examples
application/json
{
"total": 1,
"items": [
{
"id": "string",
"type": "string"
}
]
}
Delete Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Schedulers By Flowname deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulersByFlowname
DELETE
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Removes the custom scheduler configuration for the given flow name in the deployment and restores the default configuration.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
flowName *:
string
The flowName to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
total:
integer(int64)
The items list size.
items:
array
Examples
application/json
{
"total": 1,
"items": [
{
"id": "string",
"type": "string"
}
]
}
Get Organizations By Organizationid Environments By Environmentid Deployments getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeployments
GET
Try it out
Path Parameters
Query Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Retrieves a list of deployments for the specified query. If the query returns no results, then an empty list is returned.
Path Parameters
organizationId *:
string
The id of the organization.
environmentId *:
string
The id of the environment.
Related Operations:
Query Parameters
deploymentQuery:
any
The deploymentQuery query parameter.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
total:
integer(int64)
The items list size.
items:
array
Examples
application/json
{
"total": 1,
"items": [
{
"id": "string",
"type": "string"
}
]
}
Create Organizations By Organizationid Environments By Environmentid Deployments createOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeployments
POST
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Deploys a new application with the provided data.
Path Parameters
organizationId *:
string
The id of the organization.
environmentId *:
string
The id of the environment.
Related Operations:
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Request Body *
jsonname:
string
The name of the application.
target:
object
application:
object
The details of the application to deploy.
desiredVersion:
string
The desired spec version to deploy
upgradeData:
object
Response
Accepted
id:
string
The id of the deployment.
name:
string
The name of the deployment.
creationDate:
string(date-time)
The date when the deployment was created.
lastModifiedDate:
string(date-time)
The date when the deployment was last modified.
target:
object
The target of the deployment.
status:
string
The status of the deployment.
application:
object
The application of the deployment.
desiredVersion:
string
The desired version of the deployment.
replicas:
array
The list of replicas for the specified deployment.
lastSuccessfulVersion:
string
The last version of the deployment that applied correctly.
Examples
application/json
{
"id": "e4899eda-22c9-4546-8ad2-ffde5a3d466d",
"name": "app-name",
"creationDate": "2024-01-15T10:30:00Z",
"lastModifiedDate": "2024-01-15T10:30:00Z",
"target": {
"id": "string",
"type": "string"
},
"status": "FAILED",
"application": {
"id": "string",
"type": "string"
},
"desiredVersion": "0ef171b6-aad1-459b-8720-10c405b05ed1",
"replicas": [
{
"id": "string",
"type": "string"
}
],
"lastSuccessfulVersion": "0ef171b6-aad1-459b-8720-10c405b05ed1"
}
Create Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Schedulers By Flowname Run createOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulersByFlownameRun
POST
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Triggers a request to executes immediately the scheduler for the given flow name.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
flowName *:
string
The flowName to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
Get Organizations By Organizationid Environments By Environmentid Alerts getOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlerts
GET
Try it out
Path Parameters
Query Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Retrieves Cloudhub 2.0 alerts
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
Query Parameters
offset:
integer(int32)
Pagination offset or page number for results.
limit:
integer(int32)
Maximum number of results to return per page.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
data:
array
Examples
application/json
{
"data": [
{
"id": "string",
"type": "string"
}
]
}
Create Organizations By Organizationid Environments By Environmentid Alerts createOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlerts
POST
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Creates a Cloudhub 2.0 alert
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Request Body *
jsonname *:
string
severity *:
string
condition *:
object
actions *:
array
Response
Success
id:
string
name:
string
severity:
string
enabled:
boolean
organizationId:
string
environmentId:
string
lastModified:
integer(int64)
createdAt:
integer(int64)
isSystem:
boolean
productName:
string
condition:
object
actions:
array
conditionType:
string
Examples
application/json
{
"id": "string",
"name": "string",
"severity": "INFO",
"enabled": true,
"organizationId": "string",
"environmentId": "string",
"lastModified": 0,
"createdAt": 0,
"isSystem": true,
"productName": "string"
}
Get Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentid
GET
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Retrieves a single deployment with the provided id.
Path Parameters
organizationId *:
string
The id of the organization.
environmentId *:
string
The id of the environment.
Related Operations:
deploymentId *:
string
The id of the deployment.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
id:
string
The id of the deployment.
name:
string
The name of the deployment.
creationDate:
string(date-time)
The date when the deployment was created.
lastModifiedDate:
string(date-time)
The date when the deployment was last modified.
target:
object
The target of the deployment.
status:
string
The status of the deployment.
application:
object
The application of the deployment.
desiredVersion:
string
The desired version of the deployment.
replicas:
array
The list of replicas for the specified deployment.
lastSuccessfulVersion:
string
The last version of the deployment that applied correctly.
Examples
application/json
{
"id": "e4899eda-22c9-4546-8ad2-ffde5a3d466d",
"name": "app-name",
"creationDate": "2024-01-15T10:30:00Z",
"lastModifiedDate": "2024-01-15T10:30:00Z",
"target": {
"id": "string",
"type": "string"
},
"status": "FAILED",
"application": {
"id": "string",
"type": "string"
},
"desiredVersion": "0ef171b6-aad1-459b-8720-10c405b05ed1",
"replicas": [
{
"id": "string",
"type": "string"
}
],
"lastSuccessfulVersion": "0ef171b6-aad1-459b-8720-10c405b05ed1"
}
Patch Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentid
PATCH
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates an existing deployment with the provided details.
Path Parameters
organizationId *:
string
The id of the organization.
environmentId *:
string
The id of the environment.
Related Operations:
deploymentId *:
string
The id of the deployment.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Request Body *
jsontarget:
object
application:
object
The details of the application to deploy.
desiredVersion:
string
The desired spec version to deploy
name:
string
The name of the application.
Examples
Update vCores
{
"application": {
"vCores": "0.07"
}
}
Update replicas
{
"target": {
"replicas": 3
}
}
Update runtime version
{
"target": {
"deploymentSettings": {
"runtimeVersion": "4.3.0:20220523-3"
}
}
}
Update application ref
{
"application": {
"ref": {
"groupId": "66310c16-bce5-43c4-b978-5945ed2f99c5",
"artifactId": "app-with-44-schedulers",
"version": "1.0.44",
"packaging": "jar"
}
}
}
Update JVM arguments
{
"target": {
"deploymentSettings": {
"jvm": {
"args": "-XX:MaxRAMPercentage=60.0"
}
}
}
}
Start application
{
"application": {
"desiredState": "STARTED"
}
}
Stop application
{
"application": {
"desiredState": "STOPPED"
}
}
Response
Success
id:
string
The id of the deployment.
name:
string
The name of the deployment.
creationDate:
string(date-time)
The date when the deployment was created.
lastModifiedDate:
string(date-time)
The date when the deployment was last modified.
target:
object
The target of the deployment.
status:
string
The status of the deployment.
application:
object
The application of the deployment.
desiredVersion:
string
The desired version of the deployment.
replicas:
array
The list of replicas for the specified deployment.
lastSuccessfulVersion:
string
The last version of the deployment that applied correctly.
Examples
application/json
{
"id": "e4899eda-22c9-4546-8ad2-ffde5a3d466d",
"name": "app-name",
"creationDate": "2024-01-15T10:30:00Z",
"lastModifiedDate": "2024-01-15T10:30:00Z",
"target": {
"id": "string",
"type": "string"
},
"status": "FAILED",
"application": {
"id": "string",
"type": "string"
},
"desiredVersion": "0ef171b6-aad1-459b-8720-10c405b05ed1",
"replicas": [
{
"id": "string",
"type": "string"
}
],
"lastSuccessfulVersion": "0ef171b6-aad1-459b-8720-10c405b05ed1"
}
Delete Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentid
DELETE
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Deletes the specified deploymentId.
Path Parameters
organizationId *:
string
The id of the organization.
environmentId *:
string
The id of the environment.
Related Operations:
deploymentId *:
string
The id of the deployment.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
Get Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Schedulers getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulers
GET
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Retrieves a list of schedulers for the specified deployment. If this path contains no data, then an empty list is returned.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
total:
integer(int64)
The items list size.
items:
array
Examples
application/json
{
"total": 1,
"items": [
{
"id": "string",
"type": "string"
}
]
}
Patch Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Schedulers patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulers
PATCH
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Disables or enables a list of schedulers in a deployment.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Request Body *
jsonitems:
array
Array items
Response
Success
total:
integer(int64)
The items list size.
items:
array
Examples
application/json
{
"total": 1,
"items": [
{
"id": "string",
"type": "string"
}
]
}
Get Organizations By Organizationid Environments By Environmentid Alerts By Alertid getOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertid
GET
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Retrieves a single Cloudhub 2.0 alert
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
alertId *:
string
The alert ID to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
id:
string
name:
string
severity:
string
enabled:
boolean
organizationId:
string
environmentId:
string
lastModified:
integer(int64)
createdAt:
integer(int64)
isSystem:
boolean
productName:
string
condition:
object
actions:
array
conditionType:
string
Examples
application/json
{
"id": "string",
"name": "string",
"severity": "INFO",
"enabled": true,
"organizationId": "string",
"environmentId": "string",
"lastModified": 0,
"createdAt": 0,
"isSystem": true,
"productName": "string"
}
Patch Organizations By Organizationid Environments By Environmentid Alerts By Alertid patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertid
PATCH
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a Cloudhub 2.0 alert
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
alertId *:
string
The alert ID to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Request Body *
jsonid:
string
name *:
string
enabled:
boolean
productName:
string
severity *:
string
condition *:
object
actions *:
array
organizationId:
string
environmentId:
string
lastModified:
integer(int64)
isSystem:
boolean
createdAt:
integer(int64)
system:
boolean
Response
Success
id:
string
name:
string
severity:
string
enabled:
boolean
organizationId:
string
environmentId:
string
lastModified:
integer(int64)
createdAt:
integer(int64)
isSystem:
boolean
productName:
string
condition:
object
actions:
array
conditionType:
string
Examples
application/json
{
"id": "string",
"name": "string",
"severity": "INFO",
"enabled": true,
"organizationId": "string",
"environmentId": "string",
"lastModified": 0,
"createdAt": 0,
"isSystem": true,
"productName": "string"
}
Delete Organizations By Organizationid Environments By Environmentid Alerts By Alertid deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertid
DELETE
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Deletes a Cloudhub 2.0 alert
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
alertId *:
string
The alert ID to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
Get Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Specs getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSpecs
GET
Try it out
Path Parameters
Query Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Retrieves a list of deployment version specs for the specified deploymentId.
Path Parameters
organizationId *:
string
The id of the organization.
environmentId *:
string
The id of the environment.
Related Operations:
deploymentId *:
string
The id of the deployment.
Query Parameters
limit:
integer(int32)
The number of specs the service can retrieve.
default:
10Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
items:
array
Array items
Examples
application/json
[
{
"id": "string",
"type": "string"
}
]
Get Organizations By Organizationid Environments By Environmentid Alerts By Alertid History getOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertidHistory
GET
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Retrieves a Cloudhub 2.0 alert history record
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
alertId *:
string
The alert ID to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Response
Success
data:
array
total:
integer(int32)
Examples
application/json
{
"data": [
{
"id": "string",
"type": "string"
}
],
"total": 0
}
Create Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Replicas By Replicaid Diagnostics createOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidReplicasByReplicaidDiagnostics
POST
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Trigger a thread dump diagnosis for a specific replica of a deployment
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
replicaId *:
string
The replica ID to identify the target resource.
deploymentId *:
string
The deployment ID to identify the target resource.
Response
No Content
Get Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Specs By Specificationid Logs getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSpecsBySpecificationidLogs
GET
Try it out
Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Fetch logs from the Log Aggregator V2 API.
Path Parameters
organizationId *:
string
environmentId *:
string
Environment Id
Related Operations:
deploymentId *:
string
Deployment Id
specificationId *:
string
Specification Id
Query Parameters
search *:
any
Search or filter expression to narrow results.
Response
OK
Get Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Specs By Specificationid Logs File getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSpecsBySpecificationidLogsFile
GET
Try it out
Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Download log entries matching the search as text attachment, without pagination.
Path Parameters
organizationId *:
string
environmentId *:
string
Environment Id
Related Operations:
deploymentId *:
string
Deployment Id
specificationId *:
string
Specification Id
Query Parameters
search *:
any
Search or filter expression to narrow results.
Response
OK
Examples
application/json
{}
Get Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Diagnostics getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidDiagnostics
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Retrieve a list of all executed actions related to the specified organization id, environment id and deployment id.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
Response
OK
items:
array
Array items
Examples
application/json
[
{
"id": "string",
"type": "string"
}
]
Get Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Diagnostics By Actionid File getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidDiagnosticsByActionidFile
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Fetch the thread dump report of a specific diagnosis action.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
actionId *:
string
The action ID to identify the target resource.
Response
OK
Examples
application/json
{}
Update Organizations By Organizationid Environments By Environmentid Deployments By Deploymentid Upgradedata Trafficswitching updateOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidUpgradedataTrafficswitching
PUT
Try it out
Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
upsert the percentage in which the traffic is switched to the CH2 deployment.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
deploymentId *:
string
The deployment ID to identify the target resource.
Header Parameters
Authorization *:
string
Bearer token for API authentication.
Request Body *
jsonswitchedTraffic:
integer(int32)
number mapped to an integer between 0 and 100
Response
Success
isSwitched:
boolean
is the app traffic switched from CloudHub to CH2
switchedTrafficPercent:
integer(int32)
number mapped to an integer between 0 and 100
ch1AppName:
string
cloudhub app name
ch2AppName:
string
CH2 app name
deploymentId:
string
CH2 deployment id
Examples
application/json
{
"isSwitched": true,
"switchedTrafficPercent": 50,
"ch1AppName": "cloudhub app",
"ch2AppName": "ch2 app",
"deploymentId": "deployment id"
}