Skip to main content

API Reference

backup.proto

Service responsible for coordinating environment backups

BackupCreateRequest

Create a backup for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment
MySQLBackupCreateRequestMySQLMySQL configuration

BackupCreateRequestMySQL

MySQL configuration when creating a backup for an environment

FieldTypeLabelDescription
PoliciesstringrepeatedPolicies to apply

BackupCreateResponse

Response containing information to get the status of a backup

FieldTypeLabelDescription
IDstringBackup identifier

BackupGetRequest

Get the current status of a backup

FieldTypeLabelDescription
IDstringBackup identifier

BackupGetResponse

Response containing the current status of the backup

FieldTypeLabelDescription
BackupBackupStatusBackup status information

BackupListRequest

Request a list of backups for an environment

FieldTypeLabelDescription
EnvironmentstringEnvironment name

BackupListResponse

A list of backups for an environment

FieldTypeLabelDescription
ListBackupStatusrepeatedList of backup information

BackupStatus

Response containing the current status of the backup

FieldTypeLabelDescription
NamestringName of the backup
phaseBackupStatus.PhaseCurrent phase the backup is in
StartTimestringWhen the backup started
CompletionTimestringWhen the backup completed
DurationstringHow long the backup took to execute
DatabasesstringrepeatedDatabases backed up
VolumesstringrepeatedVolumes backed up

BackupStatus.Phase

NameNumberDescription
InProgress0Default value
Completed1The backup completed
Failed2The backup failed
Unknown3Backup status is unknown

backup

Method NameRequest TypeResponse TypeDescription
CreateBackupCreateRequestBackupCreateResponse
GetBackupGetRequestBackupGetResponse
ListBackupListRequestBackupListResponse

Top

config.proto

Service responsible for coordinating environment config

Config

Configuration object assigned to an environment

FieldTypeLabelDescription
KeystringName of the config
ValuestringValue of the config
SecretboolIf the config is a secret eg. API key
TypeConfigTypeType of config

ConfigDeleteRequest

Request a config is deleted

FieldTypeLabelDescription
NamestringName of the environment
KeystringName of the config

ConfigDeleteResponse

Response containing the config delete result

ConfigGetRequest

Request a single config for an environment

FieldTypeLabelDescription
NamestringName of the environment
KeystringName of the config
ShowSecretboolIf the secret value should be shown

ConfigGetResponse

Config for an environment

FieldTypeLabelDescription
ConfigConfigConfig returned

ConfigListRequest

Request a list of all config for an environment

FieldTypeLabelDescription
NamestringName of the environment
FilterTypeConfigTypeFilter by config type
ShowSecretsboolIf secret values should be shown

ConfigListResponse

List all config for an environment

FieldTypeLabelDescription
ListConfigrepeatedList of configs

ConfigSetRequest

Set config for an environment

FieldTypeLabelDescription
NamestringName of the config
ConfigConfigConfig details to be set

ConfigSetResponse

Response containing the config set result

ConfigType

NameNumberDescription
None0Default config type
System1Config provided by the Skpr hosting platform
User2A user provided config
Overridden3A user provided config that overrides a system config

config

Method NameRequest TypeResponse TypeDescription
ListConfigListRequestConfigListResponse
GetConfigGetRequestConfigGetResponse
SetConfigSetRequestConfigSetResponse
DeleteConfigDeleteRequestConfigDeleteResponse

Top

cron.proto

Service responsible for coordinating environment cron

CronDetail

Cron details associated with an environmnt

FieldTypeLabelDescription
NamestringName of the cron task
SchedulestringHow often to execute the cron task
CommandstringCommand to execute
SuspendedboolIf the cron task is suspended
LastScheduleTimestringLast time the cron was executed
LastSuccessfulTimestringLast tim the cron was successful

CronJobDetail

Information about a cron task

FieldTypeLabelDescription
NamestringName of cron task
phaseCronJobDetail.PhasePhase that the cron is in
StartTimestringTime the cron job was started
DurationstringHow long the cron job took to execute

CronJobListRequest

Request a list of cron jobs for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment

CronJobListResponse

List of cron jobs for an environment

FieldTypeLabelDescription
ListCronJobDetailrepeatedList of cron jobs

CronListRequest

Request a list of config for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment

CronListResponse

Cron detail for an environment

FieldTypeLabelDescription
ListCronDetailrepeatedList of cron information

CronResumeRequest

Request that cron tasks be resumed

FieldTypeLabelDescription
EnvironmentstringName of the environment

CronResumeResponse

Response if the cron resume was successful

CronSuspendRequest

Request that cron is suspended for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment

CronSuspendResponse

Response if the cron suspend was successful

CronJobDetail.Phase

NameNumberDescription
Pending0Default phase. Waiting to be executed.
Running1Job is running
Succeeded2Job has completed
Failed3Job has failed

cron

Method NameRequest TypeResponse TypeDescription
SuspendCronSuspendRequestCronSuspendResponse
ResumeCronResumeRequestCronResumeResponse
ListCronListRequestCronListResponse
JobListCronJobListRequestCronJobListResponse

Top

daemon.proto

Service responsible for coordinating environment daemons

DaemonDetail

Details about a daemon

FieldTypeLabelDescription
NamestringName of the deamon
CommandstringCommand executed to start the daemon
SuspendedboolIf the daemon is suspended

DaemonListRequest

Request a list of daemons for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment

DaemonListResponse

Daemon list of an environment

FieldTypeLabelDescription
ListDaemonDetailrepeatedList of daemon details

DaemonResumeRequest

Request daemons are resumed for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment

DaemonResumeResponse

Response if resume request was sucessful

DaemonSuspendRequest

Request to suspend daemons for an environment

FieldTypeLabelDescription
EnvironmentstringEnvironment name

DaemonSuspendResponse

Response if the suspend request was susccessful

daemon

Method NameRequest TypeResponse TypeDescription
SuspendDaemonSuspendRequestDaemonSuspendResponse
ResumeDaemonResumeRequestDaemonResumeResponse
ListDaemonListRequestDaemonListResponse

Top

environment.proto

Service responsible for coordinating environments

Cache

Environment cache configuration

FieldTypeLabelDescription
PolicystringCache policy assigned to an environment

Cron

Environment cron configuration

FieldTypeLabelDescription
NamestringCron task name
CommandstringCron task command
SchedulestringHow often the cron is executed

Daemon

Environment daemon configuration

FieldTypeLabelDescription
NamestringName of the daemon
CommandstringCommand that runs the daemon

Environment

Environment configuration

FieldTypeLabelDescription
NamestringName of the environment
typeEnvironment.TypeType of environment
ProductionboolIf this is a production environment
InsecureboolDEPRECIATED: If the environment is insecure (no read only filesystem)
VersionstringVersion associated with an environment
SizestringSize of the environment
IngressIngressIngress configuration for routing
ImageImageImage respository information
CronCronrepeatedCron configuration for an environment
MySQLMySQLrepeatedMySQL configuration for an environment
SMTPSMTPSMTP configuration for an environment
BackupScheduledBackupHow often the backup is scheduled
SolrSolrrepeatedSolr configuration for an environment
TokenstringToken assigned to an environment
PhasestringPhase the environment is in eg. Deploying
LinkLinkrepeatedLinked to other environments
VolumeVolumerepeatedVolumes associated with this environment
DashboardEnvironmentDashboardLink to dashboard
DaemonDaemonrepeatedDaemon configuration for an environment

EnvironmentCreateRequest

Create an environment

FieldTypeLabelDescription
EnvironmentEnvironmentEnvironment configuration
WaitboolIf this request should wait for the environment to be ready

EnvironmentCreateResponse

Response if the environment was created

FieldTypeLabelDescription
MessagestringMessage provided about the environment

EnvironmentDashboard

Environment dashboard configuration

FieldTypeLabelDescription
URLstringLink to dashboard

EnvironmentDeleteRequest

Delete the environment

FieldTypeLabelDescription
NamestringName of the environment

EnvironmentDeleteResponse

Response if the environment was deleted

FieldTypeLabelDescription
StatusstringCurrent status

EnvironmentGetRequest

Request the latest environment status

FieldTypeLabelDescription
NamestringName of the environment

EnvironmentGetResponse

Latest environment status

FieldTypeLabelDescription
EnvironmentEnvironmentEnvironment status

EnvironmentListRequest

Request a list of environment

EnvironmentListResponse

Returns a list of environments

FieldTypeLabelDescription
EnvironmentsEnvironmentrepeatedList of environments

EnvironmentUpdateRequest

Update the environment

FieldTypeLabelDescription
EnvironmentEnvironmentEnvironment configuration
WaitboolIf this request should wait

EnvironmentUpdateResponse

Returns a message if the environment update was successful

FieldTypeLabelDescription
MessagestringMessage if the environment was update was successful

EnvironmentValidateFinding

Finding when validating an environment

FieldTypeLabelDescription
GroupstringGroup this finding relates to
typeEnvironmentValidateFinding.TypeType of finding
MessagestringMessage associated with finding

EnvironmentValidateRequest

Validate an environment

FieldTypeLabelDescription
EnvironmentEnvironmentEnvironment configuration

EnvironmentValidateResponse

Findings when validating an environment

FieldTypeLabelDescription
FindingsEnvironmentValidateFindingrepeatedFindings when validating an environment

ErrorPage

Error page configuration for an environment

FieldTypeLabelDescription
PathstringPath to error page
Cacheint64How long to cache for

ErrorPages

List of error page configuration

FieldTypeLabelDescription
ClientErrorPageClient error pages
ServerErrorPageServer error pages

Image

Image repository details

FieldTypeLabelDescription
RepositorystringRepository details eg. Application/MySQL

Ingress

Ingress configuration associated with an environment

FieldTypeLabelDescription
DomainstringDomain environment should respond to
RoutesstringrepeatedRoutes associated with an environment
HeadersstringrepeatedDepreciated.
CookiesstringrepeatedDepreciated.
CertificatestringCertificate associated with an environment
ErrorPagesErrorPagesError pages configuration
ProxyProxyrepeatedProxy configuration associated with an environment
modeIngress.ModeThe mode this CDN is configured for
LoadBalancerstringLoad balancer configuration
CacheCacheCache configuration

Link environment to other environment

FieldTypeLabelDescription
NamestringName of the link
ProjectstringName of the project to link to
EnvironmentstringEnvironment name

MySQL

MySQL configuration

FieldTypeLabelDescription
NamestringName of the database
SanitizeMySQLImageSanitizeSanitization configuration for MySQL
ImageMySQLImageImage configuration for MySQL

MySQLImage

MySQL image configuration for an environment

FieldTypeLabelDescription
SchedulestringHow often to build a MySQL image
SanitizeMySQLSanitizeSanitization rules for image building
SuspendboolIf the MySQL image building is suspended

MySQLImageSanitize

MySQL sanitization rules

FieldTypeLabelDescription
BackupSanitizationPolicyRules applied to a backup
ImageSanitizationPolicyRules applied to an image

MySQLSanitize

MySQL image sanitization rules

FieldTypeLabelDescription
RewriteMySQLSanitizeRewriterepeatedRewrite table data
NoDatastringrepeatedExport tables with no data
IgnorestringrepeatedIngore tables
WhereMySQLSanitizeWhererepeatedUpdate table data

MySQLSanitizeRewrite

Database sanitize rewrite configuration

FieldTypeLabelDescription
NamestringName of the table
TablesMySQLSanitizeRewriteTablerepeatedHow to rewrite

MySQLSanitizeRewriteTable

Database sanitize rewrite configuration

FieldTypeLabelDescription
NamestringName of the table
ValuestringValue to rewrite

MySQLSanitizeRewriteTableSanitizationRewrite

Database sanitize rewrite configuration

FieldTypeLabelDescription
NamestringName of the table
ValuestringValue to rewrite

MySQLSanitizeWhere

Database sanitize where configuration

FieldTypeLabelDescription
NamestringName of the table
ValuestringValue to rewrite

Proxy

Proxy configuration

FieldTypeLabelDescription
IDstringIdentifier of the proxy
PathstringPath to proxy
OriginstringOrigin to connect to
HeadersstringrepeatedDepreciated.
CookiesstringrepeatedDepreciated.
CacheCacheCache configuration
TargetProxyTargetInternal project target

ProxyTarget

Proxy target configuration

FieldTypeLabelDescription
ProjectProxyTargetProjectName of the project
ExternalProxyTargetExternalIf the target is external

ProxyTargetExternal

Proxy target external configuration

FieldTypeLabelDescription
DomainstringDomain to connect to

ProxyTargetProject

Proxy target project configuration

FieldTypeLabelDescription
NamestringName of the project
EnvironmentstringName of the environment

SMTP

SMTP environment configuration

FieldTypeLabelDescription
AddressstringAddress to send FROM

SanitizationPolicy

Sanitization policy configuration

FieldTypeLabelDescription
PolicystringPolicy name
RulesSanitizationRulesRules to apply
PoliciesstringrepeatedPolicies to apply

SanitizationRewrite

Database sanitize rewrite configuration

FieldTypeLabelDescription
NamestringName of the table
TablesSanitizationRewriteItemrepeatedHow to rewrite

SanitizationRewriteItem

Database sanitize rewrite configuration

FieldTypeLabelDescription
NamestringName of the table
ValuestringValue to rewrite

SanitizationRules

Ingress configuration associated with an environment

FieldTypeLabelDescription
RewriteSanitizationRewriterepeatedRewrite table data
NoDatastringrepeatedExport tables with no data
IgnorestringrepeatedIngore tables
WhereSanitizationWhererepeatedUpdate table data

SanitizationWhere

Database sanitize where configuration

FieldTypeLabelDescription
NamestringName of the table
ValuestringValue to rewrite

ScheduleBackupVolume

Backup volume configuration

FieldTypeLabelDescription
NamestringName of the volume
ExcludeboolExclude rules for backup
PathsScheduleBackupVolumePathsVolume path configuration

ScheduleBackupVolumePaths

Backup volume configuration

FieldTypeLabelDescription
IncludestringrepeatedInclude these paths
ExcludestringrepeatedExclude these paths

ScheduledBackup

Environment backup schedule

FieldTypeLabelDescription
SchedulestringHow often to backup
VolumeScheduleBackupVolumerepeatedVolumes to backup
SuspendboolIf backups as suspended

Solr

Solr configuration

FieldTypeLabelDescription
NamestringName of the Solr instance
VersionstringVersion of the Solr instance

Volume

Volume configuration

FieldTypeLabelDescription
NamestringName of the volume
BackupVolumeBackupBackup configuration

VolumeBackup

Volume backup configuration

FieldTypeLabelDescription
SkipboolSkip this volume from backups
SanitizeVolumeBackupSanitizeSanitize this volume

VolumeBackupSanitize

Volume backup sanitization configuration

FieldTypeLabelDescription
PoliciesstringrepeatedPolicies associated with backing up this volume
RulesVolumeBackupSanitizeRulesRules associated with backing up this volume

VolumeBackupSanitizeRules

Volume backup sanitization configuration

FieldTypeLabelDescription
ExcludestringrepeatedExcluded paths from backup

Environment.Type

NameNumberDescription
None0Default environment type
Drupal1Environment is Drupal

EnvironmentValidateFinding.Type

NameNumberDescription
Violation0If this finding is a violation
Warning1If this finding is a warning

Ingress.Mode

NameNumberDescription
Default0Standard routing configuration
External1If the environment has an external CDN

environment

Method NameRequest TypeResponse TypeDescription
DeleteEnvironmentDeleteRequestEnvironmentDeleteResponse
GetEnvironmentGetRequestEnvironmentGetResponse
ListEnvironmentListRequestEnvironmentListResponse
CreateEnvironmentCreateRequestEnvironmentCreateResponse stream
UpdateEnvironmentUpdateRequestEnvironmentUpdateResponse stream
ValidateEnvironmentValidateRequestEnvironmentValidateResponse

Top

login.proto

Service responsible for logging into the Skpr platform

LoginGetProviderInfoRequest

Request login information for a cluster

LoginGetProviderInfoResponse

Returns login information

FieldTypeLabelDescription
CognitoLoginProviderInfoCognitoCognito configuration

LoginProviderInfoCognito

Environment cache configuration

FieldTypeLabelDescription
RegionstringRegion which Congito resides
ClientIDstringClient ID for Congito
IdentityPoolIDstringPool ID for Congito
IdentityProviderIDstringProvider ID for Congito
IssuerstringIssuer for Congito
AuthURLstringURL for auth
TokenURLstringURL for token
LogoutURLstringURL for logout

login

Method NameRequest TypeResponse TypeDescription
GetProviderInfoLoginGetProviderInfoRequestLoginGetProviderInfoResponse

Top

logs.proto

Service responsible for querying environment logs

LogListStreamsRequest

List streams for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment

LogListStreamsResponse

Returns a list of streams

FieldTypeLabelDescription
StreamsstringrepeatedStreams available for an environment
DefaultstringDefault stream

LogTailRequest

Start a log tailing stream

FieldTypeLabelDescription
EnvironmentstringName of the environment
StreamstringStream from an environment

LogTailResponse

Streamed message response

FieldTypeLabelDescription
MessagestringStreamed message response

logs

Method NameRequest TypeResponse TypeDescription
TailLogTailRequestLogTailResponse stream
ListStreamsLogListStreamsRequestLogListStreamsResponse

Top

mysql.proto

Service responsible for coordinating environment MySQL

ImageCreateRequest

Create a MySQL database image

FieldTypeLabelDescription
EnvironmentstringEnvironment name
DatabasestringDatabase to create an image for
PoliciesstringrepeatedPolicies to apply
TagstringTags to apply

ImageCreateResponse

Response of image build

FieldTypeLabelDescription
ImagesImageStatusrepeatedImages associated with build

ImageGetRepositoryRequest

Get repository information for environment.

FieldTypeLabelDescription
EnvironmentstringName of environment

ImageGetRepositoryResponse

Repository information for environment.

FieldTypeLabelDescription
Repositorystring

ImageGetRequest

Get MySQL image details

FieldTypeLabelDescription
IDstringID of the image

ImageGetResponse

MySQL database image information

FieldTypeLabelDescription
MysqlImageStatusMySQL information

ImageListRequest

List of images for an environment

FieldTypeLabelDescription
EnvironmentstringName of environment

ImageListResponse

Images for an environment

FieldTypeLabelDescription
ListImageStatusrepeatedList of images

ImageStatus

Image information

FieldTypeLabelDescription
IDstringID of the database image
phaseImageStatus.PhasePhase the database build is in
StartTimestringWhen the database image build started
CompletionTimestringWhen the database image build completed
DurationstringHow long the database image build took
TagsstringrepeatedTags to applied to the database image

MysqlBackupCreateRequest

Create a MySQL backup

FieldTypeLabelDescription
EnvironmentstringEnvironment name
DatabaseNamestringDatabase name

MysqlBackupCreateResponse

Returns details of MySQL backup

FieldTypeLabelDescription
IDstringID of the backup

MysqlBackupGetRequest

Image information

FieldTypeLabelDescription
IDstringID of the backup
DatabaseNamestringName of the database

MysqlBackupGetResponse

Returns MySQL backup details

FieldTypeLabelDescription
MysqlBackupMysqlBackupStatusMySQL backup details

MysqlBackupStatus

MySQL backup status

FieldTypeLabelDescription
NamestringName of the backup
phaseMysqlBackupStatus.PhasePhase the backup
StartTimestringStart time of the backup
CompletionTimestringCompletion time of the backup
DurationstringHow long the backup took
DatabasestringDatabase that was involved
BackupIDstringID of the backup

MysqlListRequest

Request a list of MySQL databases

FieldTypeLabelDescription
EnvironmentstringEnvironment name

MysqlListResponse

Returns a list of databases

FieldTypeLabelDescription
ListMysqlBackupStatusrepeatedList of databsaes

MysqlRestoreCreateRequest

Create a restore

FieldTypeLabelDescription
EnvironmentstringName of the environment
BackupstringBackup to use for restore
DatabaseNamestringDatabase name

MysqlRestoreCreateResponse

Returns a restore ID if succesful

FieldTypeLabelDescription
IDstringID of the restore

MysqlRestoreGetRequest

Request the latest restore information

FieldTypeLabelDescription
IDstringID of the restore

MysqlRestoreGetResponse

Returns a list of restores

FieldTypeLabelDescription
MysqlRestoreMysqlRestoreStatusRestore information

MysqlRestoreListRequest

Get a list of restores for an environment

FieldTypeLabelDescription
EnvironmentstringName of the environment

MysqlRestoreListResponse

Returns a list of restores

FieldTypeLabelDescription
ListMysqlRestoreStatusrepeatedList of restores

MysqlRestoreStatus

Status of a restore

FieldTypeLabelDescription
NamestringName of the database
RestoreIDstringID of the restore
phaseMysqlRestoreStatus.PhasePhase of the database restore
StartTimestringStart time of the restore
CompletionTimestringCompletion time of the restore
DurationstringDuration of the restore
DatabasestringName of the database
BackupIDstringBackup ID used during the restore

ImageStatus.Phase

NameNumberDescription
InProgress0Database image build is in progress
Completed1Database image build is complete
Failed2Database image failed
Unknown3Database image is in an unknown state

MysqlBackupStatus.Phase

NameNumberDescription
InProgress0Database image build is in progress
Completed1Database image build is complete
Failed2Database image failed
Unknown3Database image is in an unknown state

MysqlRestoreStatus.Phase

NameNumberDescription
InProgress0Database restore is in progress
Completed1Database restore is complete
Failed2Database restore failed
Unknown3Database restore is in an unknown state

mysql

Method NameRequest TypeResponse TypeDescription
ImageCreateImageCreateRequestImageCreateResponse
ImageGetImageGetRequestImageGetResponse
ImageListImageListRequestImageListResponse
ImageGetRepositoryImageGetRepositoryRequestImageGetRepositoryResponse
BackupListMysqlListRequestMysqlListResponse
BackupCreateMysqlBackupCreateRequestMysqlBackupCreateResponse
BackupGetMysqlBackupGetRequestMysqlBackupGetResponse
RestoreListMysqlRestoreListRequestMysqlRestoreListResponse
RestoreCreateMysqlRestoreCreateRequestMysqlRestoreCreateResponse
RestoreGetMysqlRestoreGetRequestMysqlRestoreGetResponse

Top

project.proto

Service responsible for coordinating projects

ProjectGetRequest

Get project information

ProjectGetResponse

Returns project information

FieldTypeLabelDescription
Namespacestring
RegistryProjectRegistry

ProjectRegistry

Project registry information

FieldTypeLabelDescription
ApplicationstringApplication registry information
MySQLstringMySQL registry information

project

Method NameRequest TypeResponse TypeDescription
GetProjectGetRequestProjectGetResponse

Top

purge.proto

Service responsible for coordinating environment purge requests

PurgeCreateRequest

Create a purge request

FieldTypeLabelDescription
Environmentstring
Pathsstringrepeated

PurgeCreateResponse

Returns purge request ID if successful

FieldTypeLabelDescription
IDstringID of the purge request

PurgeListRequest

List all purge requests

FieldTypeLabelDescription
EnvironmentstringName of the environment

PurgeListResponse

Returns a list of all purge requests

FieldTypeLabelDescription
RequestsRequestSummaryrepeatedLis of requests

RequestSummary

Purge request summary

FieldTypeLabelDescription
IDstringID of the request
CreatedstringWhen the request was created
PathsstringrepeatedPaths that the request included
StatusstringStatus of the request

purge

Method NameRequest TypeResponse TypeDescription
CreatePurgeCreateRequestPurgeCreateResponse
ListPurgeListRequestPurgeListResponse

Top

release.proto

Service responsible for coordinating releases

ReleaseCreateRequest

Create a release

FieldTypeLabelDescription
NamestringName of the release
ImagesReleaseImagerepeatedImages associated with the release
SignedBystringRelease signed by

ReleaseCreateResponse

Returns when a release creation is successful

ReleaseImage

Image associated with a release

FieldTypeLabelDescription
NamestringName of the release image
URIstringURI of the release image

ReleaseInfoRequest

Get release information

FieldTypeLabelDescription
NamestringName of the release

ReleaseInfoResponse

Returns release information

FieldTypeLabelDescription
DatestringDate the release was created
ImagesReleaseImagerepeatedImages associated with a release
EnvironmentsstringrepeatedEnvironments associated with a release

ReleaseListItem

Release listed item

FieldTypeLabelDescription
NamestringName of the release
DatestringCreation date of the release
ImagesReleaseImagerepeatedImages associated with the release
EnvironmentsstringrepeatedEnvironments associated with the release

ReleaseListRequest

List releases

ReleaseListResponse

Returns a list of releases

FieldTypeLabelDescription
ItemsReleaseListItemrepeatedList of releases

ReleaseSignerInfoRequest

Request signer information

ReleaseSignerInfoResponse

Returns signer information

FieldTypeLabelDescription
IdentifierstringIdentifier for the signer

release

Method NameRequest TypeResponse TypeDescription
CreateReleaseCreateRequestReleaseCreateResponse
InfoReleaseInfoRequestReleaseInfoResponse
ListReleaseListRequestReleaseListResponse
SignerInfoReleaseSignerInfoRequestReleaseSignerInfoResponse

Top

restore.proto

Service responsible for coordinating environment restores

RestoreCreateRequest

Create a restore request

FieldTypeLabelDescription
EnvironmentstringEnvironment name
BackupstringBackup identifier

RestoreCreateResponse

Returns an ID if the restore creation was successful

FieldTypeLabelDescription
IDstringID of the restore

RestoreGetRequest

Get the latest information for a restore

FieldTypeLabelDescription
IDstringID of the restore

RestoreGetResponse

Returns restore information

FieldTypeLabelDescription
RestoreRestoreStatus

RestoreListRequest

List restores for an environment

FieldTypeLabelDescription
EnvironmentstringEnvironment name

RestoreListResponse

Returns a list of restores

FieldTypeLabelDescription
ListRestoreStatusrepeated

RestoreStatus

Restore status information

FieldTypeLabelDescription
NamestringName of the restore
BackupstringBackup used for the restore
phaseRestoreStatus.PhasePhase of the restore
StartTimestringWhen the restore was started
CompletionTimestringWhen the restore was completed
DurationstringHow long the restore took to complete
DatabasesstringrepeatedDatabases associated with the restore
VolumesstringrepeatedVolumes associated with the restore

RestoreStatus.Phase

NameNumberDescription
InProgress0Default value
Completed1The backup completed
Failed2The backup failed
Unknown3Backup status is unknown

restore

Method NameRequest TypeResponse TypeDescription
CreateRestoreCreateRequestRestoreCreateResponse
GetRestoreGetRequestRestoreGetResponse
ListRestoreListRequestRestoreListResponse

Top

version.proto

Service responsible for version information

VersionGetRequest

Get the cluster version

VersionGetResponse

Returns the cluster version

FieldTypeLabelDescription
VersionstringVersion number
BuildDatestringWhen this version was built

version

Method NameRequest TypeResponse TypeDescription
GetVersionGetRequestVersionGetResponse

Top

volume.proto

Service responsible for coordinating environment volumes

VolumeBackupCreateRequest

Create a volume backup

FieldTypeLabelDescription
EnvironmentstringEnvironment name
VolumeNamestringVolume name

VolumeBackupCreateResponse

Returns a volume backup ID

FieldTypeLabelDescription
IDstring

VolumeBackupGetRequest

Get the latest volume backup information

FieldTypeLabelDescription
IDstringID of the backup

VolumeBackupGetResponse

Returns the latest backup information

FieldTypeLabelDescription
VolumeBackupVolumeBackupStatusBackup status

VolumeBackupListRequest

List volumes backups for an environment

FieldTypeLabelDescription
EnvironmentstringEnvironment name

VolumeBackupListResponse

Returns list of volume backups

FieldTypeLabelDescription
ListVolumeBackupStatusrepeatedList of volume backups

VolumeBackupStatus

Backup status information

FieldTypeLabelDescription
NamestringName of the volume backup
phaseVolumeBackupStatus.PhasePhase that the volume backup is in
StartTimestringWhen the volume backup started
CompletionTimestringWhen the volume backup completed
DurationstringHow long the volume backup took to finish
VolumestringVolumes associated with backup
BackupIDstringID of the volume backup

VolumeRestoreCreateRequest

Create a volume restore

FieldTypeLabelDescription
EnvironmentstringEnvironment name
BackupstringBackup name
VolumeNamestringVolume name

VolumeRestoreCreateResponse

Returns the ID of the created restore

FieldTypeLabelDescription
IDstring

VolumeRestoreGetRequest

Get the latest backup information

FieldTypeLabelDescription
IDstringID of the restore

VolumeRestoreGetResponse

Returns the volume restore status

FieldTypeLabelDescription
VolumeRestoreVolumeRestoreStatusRestore status

VolumeRestoreListRequest

List volume restores for an environment

FieldTypeLabelDescription
EnvironmentstringEnvironment name

VolumeRestoreListResponse

Returns a list of volume restores

FieldTypeLabelDescription
ListVolumeRestoreStatusrepeatedVolume restores

VolumeRestoreStatus

Volume restore status information

FieldTypeLabelDescription
NamestringName of the restore
RestoreIDstringID used for volume restore
phaseVolumeRestoreStatus.PhasePhase that the volume backup is in
StartTimestringWhen the volume backup started
CompletionTimestringWhen the volume backup completed
DurationstringHow long the volume backup took to finish
VolumeNamestringName of the volume
BackupIDstringID of the backup used

VolumeBackupStatus.Phase

NameNumberDescription
InProgress0Default value
Completed1The backup completed
Failed2The backup failed
Unknown3Backup status is unknown

VolumeRestoreStatus.Phase

NameNumberDescription
InProgress0Default value
Completed1The backup completed
Failed2The backup failed
Unknown3Backup status is unknown

volume

Method NameRequest TypeResponse TypeDescription
BackupListVolumeBackupListRequestVolumeBackupListResponse
RestoreListVolumeRestoreListRequestVolumeRestoreListResponse
BackupCreateVolumeBackupCreateRequestVolumeBackupCreateResponse
BackupGetVolumeBackupGetRequestVolumeBackupGetResponse
RestoreCreateVolumeRestoreCreateRequestVolumeRestoreCreateResponse
RestoreGetVolumeRestoreGetRequestVolumeRestoreGetResponse

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)