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

Drop in one of our language drivers to accelerate your development.
Here are links to some of our popular Cookbooks to help you get started!

Data Stores

A Platform is a parent data store which contains the following child data stores:

Objects

This Platform contains the following objects:

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

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

Adds a principal as a member of a Team against the given platform

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 Access

POST /access/check

No parameters

Parameters

This function has no parameters.

Check Membership

Checks whether a principal belongs to a Team for the given platform

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

Checks whether one or more authorities against the specified platform are granted for a given set of users

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

Checks whether a single authority is granted against the specified platform for the given user

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

Checks whether one or more authorities against the specified platform are granted for a given set of users

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"
          }
        }
      }
    }
  }
}

Clear Activities

POST /activities/clear

No parameters

Parameters

This function has no parameters.

Clear Logs

POST /logs/clear

No parameters

Parameters

This function has no parameters.

Context Oneteam

POST /oneteam/context

No parameters

Parameters

This function has no parameters.

Create Log

POST /logs

No parameters

Parameters

This function has no parameters.

Create Role

Creates a role for the current platform

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

Creates a Team against the given platform

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})

Deletes an attachment

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)

Deletes a role for the current platform

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)

Deletes a role for the current platform

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

Deletes a Team against the given platform

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"
    }
  }
}

Deploy Ref

POST /ref/deploy

No parameters

Parameters

This function has no parameters.

Diff Ref

GET /ref/diff

Parameters (2)

Parameters

Name Required Type Description
source Yes string
target Yes string

Download Attachment

Downloads an attachment

GET /tenant/attachments/{attachmentId}

Parameters (1)

Parameters

Name Required Type Description
attachmentId Yes string

Download Preview

Downloads a preview stream of a tenant attachment

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

Starts an export job for this resource

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"
    }
  }
}

Export Transfer

POST /transfer/export

No parameters

Parameters

This function has no parameters.

Generate Export

POST /ref/exports/{exportId}/generate

Parameters (1)

Parameters

Name Required Type Description
exportId Yes string

Get Team

Retrieves a Team against the given platform

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

Grants an authority against the specified platform to a given user

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

Assigns an Authority to a Team for the given platform

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

POST /import

No parameters

Parameters

This function has no parameters.

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

Killall Jobs

POST /jobs/killall

No parameters

Parameters

This function has no parameters.

List Activities

GET /activities

No parameters

Parameters

This function has no parameters.

List Attachments

Lists the attachments for the current tenant

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 (/logs)

GET /logs

No parameters

Parameters

This function has no parameters.

List Logs (/jobs/{jobId}/logs)

GET /jobs/{jobId}/logs

Parameters (1)

Parameters

Name Required Type Description
jobId Yes string

List Roles

Lists the roles for the current platform

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

Retrieves a list of the authorities defined to be granted by a Team

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

Lists the Teams against the given platform

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

Lists the members of a Team against the given platform

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"
      }
    }
  }
}

Logfile Logs

GET /logs/logfile

No parameters

Parameters

This function has no parameters.

Lookup Access

POST /access/lookup

No parameters

Parameters

This function has no parameters.

Merge Ref

POST /ref/merge

Parameters (1)

Parameters

Name Required Type Description
ref Yes string

Query (/jobs/results/query)

Queries for matches

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
This method supports pagination.

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)

Queries for matches

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
This method supports pagination.

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)

Queries for matches

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
This method supports pagination.

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)

Queries for matches

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
This method supports pagination.

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)

Queries for matches

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
This method supports pagination.

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)

Queries for matches

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
This method supports pagination.

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

Reads the ACL for the platform

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

Reads the ACL for the platform and specific actor

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

Retrieves API Keys within the current platform

GET /apikeys

No parameters

Parameters

This function has no parameters.

Read API Usage

Retrieves API Usage information for the current platform

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

Read the Authorities Report for the specified platform

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 Info

GET /info

No parameters

Parameters

This function has no parameters.

Read Job

Reads a job. Background operations such as exports and imports return a job ID that you can poll with this call.

GET /jobs/{jobId}

Parameters (1)

Parameters

Name Required Type Description
jobId Yes string The ID of the job
The job's 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

Reads an instance of a 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 Ref

POST /ref/read

No parameters

Parameters

This function has no parameters.

Read Result Job

GET /jobs/{jobId}/result

Parameters (1)

Parameters

Name Required Type Description
jobId Yes string

Read Role

Reads a role for the current platform

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

Remove a principal from a team's membership list

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

Revokes an authority against the specified platform from a given user

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

Revokes an Authority from a Team for the given platform

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 Exports

POST /ref/exports/start

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

Retrieves an access policy summary for a Team on the given platform

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)

Updates an existing Platform

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)

Updates an existing Platform

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)

Updates a role for the currnet platform

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)

Updates a role for the current platform

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

Updates a Team against the given platform

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

Uploads an 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"
}