- Auth
- Deployments
- bootstrapDeployment
- buildDeployment
- createDeployment
- describeDeployment
- dropDeployment
- getDeploymentUploadSignedUrl
- listDeployments
- shutdownDeployment
- Sagas
- Logs
- Tracing
- Environment variables
- Read models
- Domains
- Event stores
- Domains
- System
- Certificates
Get the current user's profile information.
GET
/v0/auth/whoami
{
userId: string
userName: string
isAdmin: boolean
}
Log in to reSolve Cloud.
POST
/v0/auth/login
{
userName: string
password: string
}
void
Log out of reSolve Cloud.
POST
/v0/auth/logout
void
Refresh your authentication token on reSolve Cloud.
POST
/v0/auth/refreshToken
void
Run the specified deployment.
PATCH
/v0/deployments/:deploymentId/bootstrap
{ deploymentId: string }
void
Build an uploaded application on the cloud.
PATCH
/v0/deployments/:deploymentId/upload
{ deploymentId: string }
Partial<{
npmRegistry: string
}>
{
installLog: string
files: Array<string>
}
Remove all events from an event store.
PATCH
/v0/event-stores/:eventStoreId/clear
{ eventStoreId: string }
void
Create a new event store based on the specified event store.
PATCH
/v0/event-stores/:eventStoreId/clone
{ eventStoreId: string }
{
eventStoreId: string
eventStoreDatabaseName: string
}
Create a new deployment.
POST
/v0/deployments
{
applicationName: string
version: string
eventStoreId: string
} & Partial<{ domain: string }>
{
deploymentId: string
applicationName: string
version: string
domains: Array<string>
} & Partial<{ eventStoreId: string }>
Create a new domain with the specified certificate based on a list of aliases.
POST
/v0/domains
{
certificateId: string
aliases: Array<string>
} & Partial<{ domainId: string }>
{
domainId: string
domainType:
| "proxy"
| "static"
| "uploader"
domainName: string
resourceARN: string
aliases: Array<string>
verified: boolean
owner: string
users: "*" | Array<string>
verificationCode: string
certificateId: string
}
Create a new event store.
POST
/v0/event-stores
{ version: string }
{ eventStoreId: string }
Delete a saga property.
DELETE
/v0/deployments/:deploymentId/sagas/:sagaName/properties/:key
{
deploymentId: string
sagaName: string
key: string
}
void
Obtain information about a deployment.
GET
/v0/deployments/:deploymentId
{ deploymentId: string }
{
deploymentId: string
applicationName: string
version: string
domains: Array<string>
} & Partial<{ eventStoreId: string }>
Get the status of a long-running operation specified by its ID.
GET
/v0/describe-execution/:executionId
{ executionId: string }
{
status:
| "RUNNING"
| "SUCCEEDED"
| "FAILED"
| "TIMED_OUT"
| "ABORTED"
output: any
}
Disable logs for a deployment.
PATCH
/v0/deployments/:deploymentId/logs/disable
{ deploymentId: string }
void
Disable performance tracing for a deployment.
PATCH
/v0/deployments/:deploymentId/tracing/disable
{ deploymentId: string }
void
Remove the specified certificate.
DELETE
/v0/certificates/:certificateId
{ certificateId: string }
void
Remove an existing deployment.
DELETE
/v0/deployments/:deploymentId
{ deploymentId: string }
Partial<{
withEventStore: boolean
}>
void
Remove the specified domain.
DELETE
/v0/domains/:domainId
{ domainId: string }
void
Remove an existing event store.
DELETE
/v0/event-stores/:eventStoreId
{ eventStoreId: string }
void
Enable logs for a deployment.
PATCH
/v0/deployments/:deploymentId/logs/enable
{ deploymentId: string }
Partial<{
logLevel:
| "log"
| "error"
| "warn"
| "debug"
| "info"
| "verbose"
scope: string
}>
void
Enable performance tracing for a deployment.
PATCH
/v0/deployments/:deploymentId/tracing/enable
{ deploymentId: string }
void
Check an SSL certificate's validity.
PUT
/v0/certificates
{
certificate: string
key: string
} & Partial<{
certificateId: string
chain: string
}>
string
Export events from the specified event store.
PATCH
/v0/event-stores/:eventStoreId/export
{ eventStoreId: string }
Partial<{
cursor: string
}>
void
Disable event store updates.
PATCH
/v0/event-stores/:eventStoreId/freeze
{ eventStoreId: string }
void
Get reSolve Cloud's app client ID and user pool ID on Amazon Cognito.
GET
/v0/client-app-config
{
clientId: string
userPoolId: string
}
Get URLs used to upload an application's source code and static resources.
GET
/v0/deployments/:deploymentId/upload
{ deploymentId: string }
{
codeUploadUrl: string
staticUploadUrl: string
}
Get information about the specified event store.
GET
/v0/event-stores/:eventStoreId
{ eventStoreId: string }
{
eventStoreClusterArn: string
eventStoreSecretArn: string
eventStoreDatabaseName: string
version: string
eventStoreId: string
linkedDeployments: Array<string>
region: string
accessKeyId: string
secretAccessKey: string
sessionToken: string
}
Get URLs used to download files that contain events and secrets to import as well as a file that contains information about the status of the export process.
GET
/v0/event-stores/:eventStoreId/export
{ eventStoreId: string }
{
eventsExportUrl: string
secretsExportUrl: string
statusFileUrl: string
}
Get URLs used to upload files that contain events and secrets to import.
GET
/v0/event-stores/:eventStoreId/import
{ eventStoreId: string }
{
eventsPartCount: string
secretsPartCount: string
}
{
eventsImportUrls: Array<string>
secretsImportUrls: Array<string>
}
Get logs for a time interval.
GET
/v0/deployments/:deploymentId/logs
{ deploymentId: string }
Partial<{
startTime: string
endTime: string
filterPattern: string
streamLimit: string
}>
string
Get a saga property's value.
GET
/v0/deployments/:deploymentId/sagas/:sagaName/properties/:key
{
deploymentId: string
sagaName: string
key: string
}
{ [K in string]: any }
Get the list of a deployment's performance tracing summaries for the specified time interval.
GET
/v0/deployments/:deploymentId/tracing/summary
{ deploymentId: string }
{
startTime: string
endTime: string
} & Partial<{
filterExpression: string
}>
Array<
Partial<{
id: string
responseTime: number
http: Partial<{
httpURL: string
httpStatus: number
httpMethod: string
userAgent: string
clientIp: string
}>
}> & { [K in string]: any }
>
Get details on the specified performance trace.
GET
/v0/deployments/:deploymentId/tracing/details
{ deploymentId: string }
{
traceIds: Array<string>
}
Array<{
[K in string]: any
}>
Check whether performance tracing is enabled for a deployment.
GET
/v0/deployments/:deploymentId/tracing/status
{ deploymentId: string }
"enabled" | "disabled"
Get a code to add to a verification record within your domain zone.
GET
/v0/domains/:domainId/verification-code
{ domainId: string }
{
verificationCode: string
}
Check if the service is available.
HEAD
/v0/
void
Import events into the specified event store.
PATCH
/v0/event-stores/:eventStoreId/import
{ eventStoreId: string }
{ partIndex: number }
void
Connect an existing application deployment to the specified event store.
PATCH
/v0/event-stores/:eventStoreId/link
{ eventStoreId: string }
{ deploymentId: string }
void
Get a list of the available SSL certificates.
GET
/v0/certificates
Array<
{
certificateId: string
additionalNames: Array<string>
resourceARN: string
} & Partial<{
domainName: string
importedAt: string
issuer: string
notBefore: string
notAfter: string
}>
>
Get a list of existing deployments.
GET
/v0/deployments
Partial<{
applicationName: string
}>
Array<
{
deploymentId: string
applicationName: string
version: string
domains: Array<string>
} & Partial<{ eventStoreId: string }>
>
Get a list of the available domains.
GET
/v0/domains
Array<{
domainId: string
domainType:
| "proxy"
| "static"
| "uploader"
domainName: string
resourceARN: string
aliases: Array<string>
verified: boolean
owner: string
users: "*" | Array<string>
verificationCode: string
certificateId: string
}>
Get a list of a deployment's environment variables.
GET
/v0/deployments/:deploymentId/environment
{ deploymentId: string }
{ [K in string]: string }
Get a list of objects that describe available event stores.
GET
/v0/event-stores
Array<{
version: string
eventStoreId: string
linkedDeployments: Array<string>
eventStoreDatabaseName: string
events: number | null
secrets: number | null
modifiedAt: number | null
createdAt: number | null
isFrozen: boolean | null
}>
Obtain the list of a deployment's read models.
GET
/v0/deployments/:deploymentId/read-models
{ deploymentId: string }
Array<{
name: string
status: string | null
successEvent:
| { [K in string]: any }
| null
failedEvent:
| { [K in string]: any }
| null
errors: Array<{
name: string
message: string
stack: string
}>
}>
Get the list of assigned saga properties.
GET
/v0/deployments/:deploymentId/sagas/:sagaName/properties
{
deploymentId: string
sagaName: string
}
any
Get the list of a deployment's sagas.
GET
/v0/deployments/:deploymentId/sagas
{ deploymentId: string }
Array<{
name: string
status: string | null
successEvent:
| { [K in string]: any }
| null
failedEvent:
| { [K in string]: any }
| null
errors: Array<{
name: string
message: string
stack: string
}>
}>
Get a list of the available reSolve versions.
GET
/v0/runtimes
Array<string>
Pause read model updates.
PATCH
/v0/deployments/:deploymentId/read-models/:readModelName/pause
{
deploymentId: string
readModelName: string
}
void
Pause saga updates.
PATCH
/v0/deployments/:deploymentId/sagas/:sagaName/pause
{
deploymentId: string
sagaName: string
}
any
Release a domain from the associated application deployments.
DELETE
/v0/domains
{ domain: string }
void
Remove environment variables.
DELETE
/v0/deployments/:deploymentId/environment
{ deploymentId: string }
{
variables: Array<string>
}
void
Remove a deployment's logs.
DELETE
/v0/deployments/:deploymentId/logs
{ deploymentId: string }
void
Reset a read model's persistent state.
PATCH
/v0/deployments/:deploymentId/read-models/:readModelName/reset
{
deploymentId: string
readModelName: string
}
void
Reset a saga's persistent state.
PATCH
/v0/deployments/:deploymentId/sagas/:sagaName/reset
{
deploymentId: string
sagaName: string
}
void
Resume read model updates.
PATCH
/v0/deployments/:deploymentId/read-models/:readModelName/resume
{
deploymentId: string
readModelName: string
}
void
Resume saga updates.
PATCH
/v0/deployments/:deploymentId/sagas/:sagaName/resume
{
deploymentId: string
sagaName: string
}
void
Assigns a domain to a deployment.
PUT
/v0/deployments/:deploymentId/domain
{ deploymentId: string }
{ domain: string }
void
Set environment variables for a deployment.
PUT
/v0/deployments/:deploymentId/environment
{ deploymentId: string }
{
variables: { [K in string]: string }
}
void
Assign a value to a saga property.
PUT
/v0/deployments/:deploymentId/sagas/:sagaName/properties
{
deploymentId: string
sagaName: string
}
{
key: string
value: string
}
void
Shut down a deployment.
PATCH
/v0/deployments/:deploymentId/shutdown
{ deploymentId: string }
void
Resume event store updates.
PATCH
/v0/event-stores/:eventStoreId/unfreeze
{ eventStoreId: string }
void
Disconnect an application deployment from the specified event store.
PATCH
/v0/event-stores/:eventStoreId/unlink
{ eventStoreId: string }
{ deploymentId: string }
void
Detach a domain from a deployment.
DELETE
/v0/deployments/:deploymentId/domain
{ deploymentId: string }
{ domain: string }
void
Verify a domain after a verification record was added to the domain zone.
PATCH
/v0/domains/:domainId/verify
{ domainId: string }
void