Platform
A Data Store
Your platform provides access to all of the underlying data stores and platform-scoped objects. You can also store data on your platform data store itself, if you wish.
When you authenticate to Cloud CMS, you are given access to your platform. You can only authenticate to one platform at a time. This is because clients are scoped to a single platform. When you authenticate using a client key and secret, you inform the Gitana driver which platform to connect to.
| Note |
Data Stores
A Platform is a parent data store which contains the following child data stores:
Objects
This Platform contains the following objects:
- Stack
- Log Entry
- Access Policy
- Favorite
- UI Config
- Deployment Package
- Workflow History Item
- Deployment
- Deployment Target
- Access Policy Assignment
- Project
- Stack Assignment
- Deployment Strategy
- Publication
- Deployment Record
- Workflow
- Workflow Comment
- Workflow Model
- Client
- Deployment Receiver
- Workflow Task
- Authentication Grant
Properties
The following properties are available:
| Property | Type | Default | Read-Only | Description |
|---|---|---|---|---|
| _doc | string | No | The primary ID | |
| _system | object | No | Metadata maintained by the system | |
| accessTokenValidity | number | No | ||
| antivirusEnabled | boolean | No | ||
| authenticationMaxAttempts | number | No | ||
| authenticationResetTimeout | number | No | ||
| binaryStorageProviderType | string | No | The type identifier for the binary storage provider that backs this data store | |
| datastoreId | string | Yes | The ID of the data store | |
| datastoreTypeId | string | Yes | The data store type identifier | |
| description | string | No | A description of the data store | |
| enableAuthorities | boolean | true | No | Whether to check access control rights for principals against this data store |
| locked | boolean | Yes | Whether the data store is presently locked. If the data store is locked, then write operations against it will block. | |
| lockedBy | string | No | The principal that holds the lock (if the data store is locked) | |
| maxsize | number | No | The maximum allowed allocation size (on disk) of the data store in bytes. If this size of the data store exceeds this value, write operations will fail. A value of -1 indicates that there is no upper limit. | |
| objectcount | number | No | The number of objects stored within the data store. This includes system-maintained objects. This value is updated periodically and may not be precise at the moment it is read. | |
| ownerRegistrarId | string | No | ||
| ownerTenantId | string | No | ||
| platformObjectCount | number | No | ||
| platformSize | number | No | ||
| refreshTokenRaceConditionWindowMs | number | No | ||
| refreshTokenValidity | number | No | ||
| sessionTimeout | number | No | ||
| size | number | Yes | The last-recorded allocation size (on disk) of the data store in bytes. This value is updated periodically and may not be precise at the moment it is read. | |
| statisticsDate | object | No | Records the time when statistics were last run against the data store. Statistics are run periodically to calculate the data store size and object allocations. | |
| statisticsDirty | boolean | Yes | Whether writes have occurred against this data store since the last time statistics were run. This signals to the system that statistics need to be collected at the next available opportunity. | |
| title | string | No | The title of the data store |
Methods
- GETActives Deployment (GET)
/ref/deployment/actives - POSTActives Deployment (POST)
/ref/deployment/actives - POSTAdd Team Member
/teams/{teamKey}/members/add - GETAttachments Data (GET)
/jobs/{jobId}/data/attachments - POSTAttachments Data (POST)
/jobs/{jobId}/data/attachments - POSTAttachments Result (POST)
/jobs/{jobId}/result/attachments - GETAttachments Result (GET)
/jobs/{jobId}/result/attachments - POSTCheck Access
/access/check - POSTCheck Membership
/teams/{teamKey}/members/check - POSTCheck Permission
/permissions/{permissionId}/check - POSTCheck Single Authority
/authorities/{authorityId}/check - POSTCheck multiple Authorities
/authorities/check - POSTClear Activities
/activities/clear - POSTClear Logs
/logs/clear - POSTContext Oneteam
/oneteam/context - POSTCreate Log
/logs - POSTCreate Role
/roles - POSTCreate a Team
/teams - DELETEDelete Attachment (/tenant/attachments/{attachmentId})
/tenant/attachments/{attachmentId} - DELETEDelete Attachment (/jobs/{jobId}/result/attachments/{attachmentId})
/jobs/{jobId}/result/attachments/{attachmentId} - DELETEDelete Attachment (/jobs/{jobId}/data/attachments/{attachmentId})
/jobs/{jobId}/data/attachments/{attachmentId} - DELETEDelete Role (DELETE)
/roles/{roleKeyOrId} - POSTDelete Role (POST …/delete)
/roles/{roleKeyOrId}/delete - DELETEDeletes a Team
/teams/{teamKey} - POSTDeploy Ref
/ref/deploy - GETDiff Ref
/ref/diff - GETDownload Attachment
/tenant/attachments/{attachmentId} - GETDownload Preview
/tenant/preview/{name} - POSTEmail Export
/ref/exports/{exportId}/email - POSTExport Platform
/export - POSTExport Transfer
/transfer/export - POSTGenerate Export
/ref/exports/{exportId}/generate - GETGet Team
/teams/{teamKey} - POSTGrant Authority
/authorities/{authorityId}/grant - POSTGrant Authority to Team
/teams/{teamKey}/authorities/{authorityId}/grant - POSTImport
/import - POSTImport Transfer
/transfer/import - POSTKill Job
/jobs/{jobId}/kill - POSTKillall Jobs
/jobs/killall - GETList Activities
/activities - GETList Attachments
/tenant/attachments - GETList Dependencies
/jobs/{jobId}/dependencies - GETList Logs (/logs)
/logs - GETList Logs (/jobs/{jobId}/logs)
/jobs/{jobId}/logs - GETList Roles
/roles - GETList Team Authorities
/teams/{teamKey}/authorities - GETList Teams
/teams - GETLists Team Members
/teams/{teamKey}/members - GETLogfile Logs
/logs/logfile - POSTLookup Access
/access/lookup - POSTMerge Ref
/ref/merge - POSTQuery (/jobs/results/query)
/jobs/results/query - POSTQuery (/jobs/data/query)
/jobs/data/query - POSTQuery (/jobs/{jobId}/logs/query)
/jobs/{jobId}/logs/query - POSTQuery (/logs/query)
/logs/query - POSTQuery (/jobs/query)
/jobs/query - POSTQuery (/activities/query)
/activities/query - GETRead ACL
/acl/list - GETRead ACL for Principal
/acl - GETRead API Keys
/apikeys - GETRead API Usage
/api/usage - GETRead Activity
/activities/{activityId} - GETRead Attachment (…/result/attachments/{attachmentId})
/jobs/{jobId}/result/attachments/{attachmentId} - GETRead Attachment (…/data/attachments/{attachmentId})
/jobs/{jobId}/data/attachments/{attachmentId} - POSTRead Authorities Report
/authorities - GETRead Data Job
/jobs/{jobId}/data - GETRead Dependson Job
/jobs/{jobId}/dependson - GETRead Download
/ref/exports/{exportId}/download/{index} - GETRead Download Export
/ref/exports/{exportId}/download - GETRead Info
/info - GETRead Job
/jobs/{jobId} - GETRead Log (/logs/{logEntryId})
/logs/{logEntryId} - GETRead Log (/jobs/{jobId}/logs/{id})
/jobs/{jobId}/logs/{id} - GETRead Platform
/ - GETRead Poll Job
/jobs/{jobId}/poll - POSTRead Ref
/ref/read - GETRead Result Job
/jobs/{jobId}/result - GETRead Role
/roles/{roleKeyOrId} - GETRead Status Export
/ref/exports/{exportId}/status - POSTRemove Team Member
/teams/{teamKey}/members/remove - POSTRevoke Authority
/authorities/{authorityId}/revoke - POSTRevoke Authority from Team
/teams/{teamKey}/authorities/{authorityId}/revoke - GETSearch Projects (GET)
/projects/search - POSTSearch Projects (POST)
/projects/search - POSTStart Exports
/ref/exports/start - POSTStart Verify
/ref/deployments/verify/start - GETSummarize Access Policy
/teams/{teamKey}/access/policies/summary - POSTSummary Default
/queues/default/summary - POSTUpdate Attachment (…/result/attachments/{attachmentId})
/jobs/{jobId}/result/attachments/{attachmentId} - POSTUpdate Attachment (…/data/attachments/{attachmentId})
/jobs/{jobId}/data/attachments/{attachmentId} - PUTUpdate Platform (PUT)
/ - POSTUpdate Platform (POST /update)
/update - PUTUpdate Role (PUT)
/roles/{roleKeyOrId} - POSTUpdate Role (POST …/update)
/roles/{roleKeyOrId}/update - PUTUpdate a Team
/teams/{teamKey} - POSTUpload Attachment
/tenant/attachments/{attachmentId}
Actives Deployment (GET)
GET /ref/deployment/actives
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| ref | Yes | string |
Actives Deployment (POST)
POST /ref/deployment/actives
No parameters
Parameters
This function has no parameters.
Add Team Member
POST /teams/{teamKey}/members/add
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
| id | Yes | string |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
Attachments Data (GET)
GET /jobs/{jobId}/data/attachments
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
Attachments Data (POST)
POST /jobs/{jobId}/data/attachments
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
Attachments Result (POST)
POST /jobs/{jobId}/result/attachments
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
Attachments Result (GET)
GET /jobs/{jobId}/result/attachments
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
Check Membership
POST /teams/{teamKey}/members/check
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
| id | Yes | string |
Response
{
"type": "object",
"description": "Belongs",
"extends": "status",
"properties": {
"belongs": {
"type": "boolean"
},
"ok": null
}
}
Check Permission
POST /permissions/{permissionId}/check
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| permissionId | Yes | string | The ID of the permission |
| id | Yes | string |
Response
{
"$ref": "#/components/schemas/checkPermission"
}
Check Single Authority
POST /authorities/{authorityId}/check
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| authorityId | Yes | string | The ID or authority key for the authority |
| id | Yes | string |
Response
{
"type": "object",
"description": "Check",
"extends": "status",
"properties": {
"check": {
"type": "boolean"
},
"ok": null
}
}
Check multiple Authorities
POST /authorities/check
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"description": "Check Multiple Authorities Out",
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"permissionedId": {
"type": "string"
},
"principalId": {
"type": "string"
},
"authorityId": {
"type": "string"
},
"result": {
"type": "boolean"
}
}
}
}
}
}
Create Role
POST /roles
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| HTTP Payload | Yes | string | HTTP Payload |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Create a Team
POST /teams
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"extends": "document",
"description": "Team",
"properties": {
"teamableObjectTypeId": {
"type": "string",
"readonly": true
},
"teamableObjectId": {
"type": "string",
"readonly": true
},
"key": {
"type": "string"
},
"groupId": {
"type": "string"
},
"groupDomainId": {
"type": "string"
},
"roleKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"_doc": null,
"_system": null
}
}
Delete Attachment (/tenant/attachments/{attachmentId})
DELETE /tenant/attachments/{attachmentId}
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| attachmentId | Yes | string |
Delete Attachment (/jobs/{jobId}/result/attachments/{attachmentId})
DELETE /jobs/{jobId}/result/attachments/{attachmentId}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| attachmentId | Yes | string |
Delete Attachment (/jobs/{jobId}/data/attachments/{attachmentId})
DELETE /jobs/{jobId}/data/attachments/{attachmentId}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| attachmentId | Yes | string |
Delete Role (DELETE)
DELETE /roles/{roleKeyOrId}
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| roleKeyOrId | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Delete Role (POST …/delete)
POST /roles/{roleKeyOrId}/delete
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| roleKeyOrId | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Deletes a Team
DELETE /teams/{teamKey}
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Diff Ref
GET /ref/diff
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| source | Yes | string | |
| target | Yes | string |
Download Attachment
GET /tenant/attachments/{attachmentId}
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| attachmentId | Yes | string |
Download Preview
GET /tenant/preview/{name}
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| name | Yes | string |
Email Export
POST /ref/exports/{exportId}/email
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| exportId | Yes | string |
Export Platform
POST /export
Parameters (5), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| groupId | No | string | The Group ID to be assigned to the exported archive |
| artifactId | No | string | The Artifact ID to be assigned to the exported archive |
| versionId | No | string | The Version ID to be assigned to the exported archive |
| vaultId | No | string | The ID of the vault where the exported archive should be saved |
| schedule | No | string | Whether to run the job immediately or in the background (either 'synchronous' or 'asynchronous') |
Response
{
"type": "object",
"description": "Export Configuration",
"properties": {
"startDate": {
"type": "object",
"description": "Only include objects whose modification date is after this time (epoch millis). This is used for partial or rolling exports."
},
"endDate": {
"type": "object",
"description": "Only include objects whose modification date is before this time (epoch millis). This is used for partial or rolling exports."
},
"startChangeset": {
"type": "string",
"description": "Only include data that is relevant to changesets at or beyond the specified changeset."
},
"endChangeset": {
"type": "string",
"description": "Only include data that is relevant to changesets at or before the specified changeset."
},
"includeACLs": {
"type": "boolean",
"default": true,
"description": "Whether to include ACLs during export."
},
"includeTeams": {
"type": "boolean",
"default": true,
"description": "Whether to include Teams during export."
},
"includeActivities": {
"type": "boolean",
"default": true,
"description": "Whether to include Activities during export."
},
"includeBinaries": {
"type": "boolean",
"default": true,
"description": "Whether to include Binaries for data stores during export."
},
"includeAttachments": {
"type": "boolean",
"default": true,
"description": "Whether to include Attachments for Attachables during export."
},
"artifactDependencies": {
"type": "array",
"items": {
"type": "object"
}
},
"artifactIncludes": {
"type": "array",
"items": {
"type": "object"
}
},
"forceIncludes": {
"type": "boolean"
}
}
}
Generate Export
POST /ref/exports/{exportId}/generate
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| exportId | Yes | string |
Get Team
GET /teams/{teamKey}
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
Response
{
"type": "object",
"extends": "document",
"description": "Team",
"properties": {
"teamableObjectTypeId": {
"type": "string",
"readonly": true
},
"teamableObjectId": {
"type": "string",
"readonly": true
},
"key": {
"type": "string"
},
"groupId": {
"type": "string"
},
"groupDomainId": {
"type": "string"
},
"roleKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"_doc": null,
"_system": null
}
}
Grant Authority
POST /authorities/{authorityId}/grant
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| authorityId | Yes | string | The ID or authority key for the authority |
| id | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Grant Authority to Team
POST /teams/{teamKey}/authorities/{authorityId}/grant
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
| authorityId | Yes | string | The ID or authority key for the authority |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Import Transfer
POST /transfer/import
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| target | Yes | string |
Kill Job
POST /jobs/{jobId}/kill
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
List Attachments
GET /tenant/attachments
No parameters
Parameters
This function has no parameters.
List Dependencies
GET /jobs/{jobId}/dependencies
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
List Logs (/jobs/{jobId}/logs)
GET /jobs/{jobId}/logs
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
List Roles
GET /roles
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| inherited | No | string |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/resultmap"
}
}
}
}
List Team Authorities
GET /teams/{teamKey}/authorities
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
Response
{
"type": "object",
"description": "List of Authorities",
"properties": {
"authorities": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
List Teams
GET /teams
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
Lists Team Members
GET /teams/{teamKey}/members
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
Query (/jobs/results/query)
POST /jobs/results/query
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| sort | No | object | Defines how to sort fields in the result set |
| skip | No | number | Skips the result set cursor ahead the specified number of records |
| limit | No | number | Specifies the number of records to be handed back in the result set |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/resultmap"
}
}
}
}
Query (/jobs/data/query)
POST /jobs/data/query
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| sort | No | object | Defines how to sort fields in the result set |
| skip | No | number | Skips the result set cursor ahead the specified number of records |
| limit | No | number | Specifies the number of records to be handed back in the result set |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/resultmap"
}
}
}
}
Query (/jobs/{jobId}/logs/query)
POST /jobs/{jobId}/logs/query
Parameters (4), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| sort | No | object | Defines how to sort fields in the result set |
| skip | No | number | Skips the result set cursor ahead the specified number of records |
| limit | No | number | Specifies the number of records to be handed back in the result set |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/resultmap"
}
}
}
}
Query (/logs/query)
POST /logs/query
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| sort | No | object | Defines how to sort fields in the result set |
| skip | No | number | Skips the result set cursor ahead the specified number of records |
| limit | No | number | Specifies the number of records to be handed back in the result set |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/resultmap"
}
}
}
}
Query (/jobs/query)
POST /jobs/query
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| sort | No | object | Defines how to sort fields in the result set |
| skip | No | number | Skips the result set cursor ahead the specified number of records |
| limit | No | number | Specifies the number of records to be handed back in the result set |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/resultmap"
}
}
}
}
Query (/activities/query)
POST /activities/query
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| sort | No | object | Defines how to sort fields in the result set |
| skip | No | number | Skips the result set cursor ahead the specified number of records |
| limit | No | number | Specifies the number of records to be handed back in the result set |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/resultmap"
}
}
}
}
Read ACL
GET /acl/list
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"description": "Result Map of ACL entries",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"_doc": {
"type": "string",
"title": "Principal ID"
},
"name": {
"type": "string",
"title": "Principal Name"
},
"type": {
"type": "string",
"title": "Principal Type"
},
"domainId": {
"type": "string"
},
"domainQualifiedId": {
"type": "string"
},
"domainQualifiedName": {
"type": "string"
},
"principalId": {
"type": "string",
"title": "Principal ID"
},
"userEmail": {
"type": "string"
},
"userFirstName": {
"type": "string"
},
"userLastName": {
"type": "string"
},
"authorities": {
"type": "array",
"title": "Authorities",
"items": {
"type": "string",
"title": "Authority Key"
}
}
}
}
}
}
}
Read ACL for Principal
GET /acl
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| id | Yes | string |
Response
{
"type": "object",
"description": "Result Map of Authority Keys",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "string",
"description": "Authority Key"
}
}
}
}
Read API Keys
GET /apikeys
No parameters
Parameters
This function has no parameters.
Read API Usage
GET /api/usage
No parameters
Parameters
This function has no parameters.
Read Activity
GET /activities/{activityId}
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| activityId | Yes | string |
Read Attachment (…/result/attachments/{attachmentId})
GET /jobs/{jobId}/result/attachments/{attachmentId}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| attachmentId | Yes | string |
Read Attachment (…/data/attachments/{attachmentId})
GET /jobs/{jobId}/data/attachments/{attachmentId}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| attachmentId | Yes | string |
Read Authorities Report
POST /authorities
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"description": "Authority Report",
"properties": {
"principalId": {
"type": "object",
"properties": {
"id": {
"type": "object",
"properties": {
"role-key": {
"type": "string"
},
"principal": {
"type": "string"
},
"permissioned": {
"type": "string"
},
"inheritsFrom": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"principal": {
"type": "string"
},
"permissioned": {
"type": "string"
}
}
}
}
}
}
}
}
}
Read Data Job
GET /jobs/{jobId}/data
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
Read Dependson Job
GET /jobs/{jobId}/dependson
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
Read Download
GET /ref/exports/{exportId}/download/{index}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| exportId | Yes | string | |
| index | Yes | string |
Read Download Export
GET /ref/exports/{exportId}/download
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| exportId | Yes | string |
Read Job
GET /jobs/{jobId}
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | The ID of the job |
state settles at FINISHED if it completes successfully or ERROR if there is a problem.
Read Log (/logs/{logEntryId})
GET /logs/{logEntryId}
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| logEntryId | Yes | string | The ID of the log entry |
Read Log (/jobs/{jobId}/logs/{id})
GET /jobs/{jobId}/logs/{id}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| jobId | Yes | string |
Read Platform
GET /
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"extends": "datastore",
"description": "Platform",
"properties": {
"ownerRegistrarId": {
"type": "string"
},
"ownerTenantId": {
"type": "string"
},
"platformSize": {
"type": "number"
},
"platformObjectCount": {
"type": "number"
},
"sessionTimeout": {
"type": "number"
},
"authenticationMaxAttempts": {
"type": "number"
},
"authenticationResetTimeout": {
"type": "number"
},
"antivirusEnabled": {
"type": "boolean"
},
"accessTokenValidity": {
"type": "number"
},
"refreshTokenValidity": {
"type": "number"
},
"refreshTokenRaceConditionWindowMs": {
"type": "number"
},
"title": null,
"description": null,
"datastoreId": null,
"datastoreTypeId": null,
"enableAuthorities": null,
"size": null,
"maxsize": null,
"objectcount": null,
"locked": null,
"lockedBy": null,
"statisticsDate": null,
"statisticsDirty": null,
"binaryStorageProviderType": null,
"_doc": null,
"_system": null
}
}
Read Poll Job
GET /jobs/{jobId}/poll
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| since | No | string |
Read Result Job
GET /jobs/{jobId}/result
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string |
Read Role
GET /roles/{roleKeyOrId}
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| roleKeyOrId | Yes | string | |
| inherited | No | string |
Response
{
"$ref": "#/components/schemas/"
}
Read Status Export
GET /ref/exports/{exportId}/status
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| exportId | Yes | string |
Remove Team Member
POST /teams/{teamKey}/members/remove
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
| id | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Revoke Authority
POST /authorities/{authorityId}/revoke
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| authorityId | Yes | string | The ID or authority key for the authority |
| id | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Revoke Authority from Team
POST /teams/{teamKey}/authorities/{authorityId}/revoke
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
| authorityId | Yes | string | The ID or authority key for the authority |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Search Projects (GET)
GET /projects/search
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| text | Yes | string |
Search Projects (POST)
POST /projects/search
No parameters
Parameters
This function has no parameters.
Start Verify
POST /ref/deployments/verify/start
No parameters
Parameters
This function has no parameters.
Summarize Access Policy
GET /teams/{teamKey}/access/policies/summary
Parameters (4), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
| scope | No | string | |
| info | No | string | |
| order | No | string |
Response
{
"type": "object",
"description": "Result Map",
"properties": {
"total_rows": {
"type": "number"
},
"offset": {
"type": "number"
},
"size": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
Summary Default
POST /queues/default/summary
No parameters
Parameters
This function has no parameters.
Update Attachment (…/result/attachments/{attachmentId})
POST /jobs/{jobId}/result/attachments/{attachmentId}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| attachmentId | Yes | string |
Update Attachment (…/data/attachments/{attachmentId})
POST /jobs/{jobId}/data/attachments/{attachmentId}
Parameters (2)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| jobId | Yes | string | |
| attachmentId | Yes | string |
Update Platform (PUT)
PUT /
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Update Platform (POST /update)
POST /update
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Update Role (PUT)
PUT /roles/{roleKeyOrId}
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| roleKeyOrId | Yes | string | |
| HTTP Payload | Yes | string | HTTP Payload |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Update Role (POST …/update)
POST /roles/{roleKeyOrId}/update
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| roleKeyOrId | Yes | string | |
| HTTP Payload | Yes | string | HTTP Payload |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Update a Team
PUT /teams/{teamKey}
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| teamKey | Yes | string | The key identifier for the team |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Upload Attachment
POST /tenant/attachments/{attachmentId}
Parameters (1)
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| attachmentId | Yes | string |
Schema
{
"type": "object",
"extends": "datastore",
"description": "Platform",
"properties": {
"ownerRegistrarId": {
"type": "string"
},
"ownerTenantId": {
"type": "string"
},
"platformSize": {
"type": "number"
},
"platformObjectCount": {
"type": "number"
},
"sessionTimeout": {
"type": "number"
},
"authenticationMaxAttempts": {
"type": "number"
},
"authenticationResetTimeout": {
"type": "number"
},
"antivirusEnabled": {
"type": "boolean"
},
"accessTokenValidity": {
"type": "number"
},
"refreshTokenValidity": {
"type": "number"
},
"refreshTokenRaceConditionWindowMs": {
"type": "number"
},
"title": null,
"description": null,
"datastoreId": null,
"datastoreTypeId": null,
"enableAuthorities": null,
"size": null,
"maxsize": null,
"objectcount": null,
"locked": null,
"lockedBy": null,
"statisticsDate": null,
"statisticsDirty": null,
"binaryStorageProviderType": null,
"_doc": null,
"_system": null
},
"id": "platform"
}