Deployment Target
An Object
| Note |
Parent
This Deployment Target is contained within a Platform.
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 | |
| config | object | No | ||
| type | string | No |
Methods
In this list, … stands for /deployment/targets.
- POSTCheck Permission
…/{deploymentTargetId}/permissions/{permissionId}/check - POSTCheck Single Authority
…/{deploymentTargetId}/authorities/{authorityId}/check - POSTCheck multiple Authorities
…/authorities/check - POSTCheck multiple Permissions
…/permissions/check - POSTCreate Deployment Target
/deployment/targets - DELETEDelete Deployment Target (DELETE)
…/{deploymentTargetId} - POSTDelete Deployment Target (POST …/delete)
…/{deploymentTargetId}/delete - POSTGrant Authority
…/{deploymentTargetId}/authorities/{authorityId}/grant - GETLists Deployment Target
/deployment/targets - POSTQueries for Deployment Target
…/query - GETRead ACL
…/{deploymentTargetId}/acl/list - GETRead ACL for Principal
…/{deploymentTargetId}/acl - POSTRead Authorities Report
…/{deploymentTargetId}/authorities - GETRead Deployment Target
…/{deploymentTargetId} - POSTRevoke Authority
…/{deploymentTargetId}/authorities/{authorityId}/revoke - PUTUpdate Deployment Target (PUT)
…/{deploymentTargetId} - POSTUpdate Deployment Target (POST …/update)
…/{deploymentTargetId}/update
Check Permission
POST /deployment/targets/{deploymentTargetId}/permissions/{permissionId}/check
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string | |
| permissionId | Yes | string | The ID of the permission |
| id | Yes | string |
Response
{
"$ref": "#/components/schemas/checkPermission"
}
Check Single Authority
POST /deployment/targets/{deploymentTargetId}/authorities/{authorityId}/check
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string | |
| 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 /deployment/targets/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"
}
}
}
}
}
}
Check multiple Permissions
POST /deployment/targets/permissions/check
No parameters, response
Parameters
This function has no parameters.
Response
{
"type": "object",
"description": "Check Multiple Permissions Out",
"properties": {
"checks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"permissionedId": {
"type": "string"
},
"principalId": {
"type": "string"
},
"permissionId": {
"type": "string"
},
"result": {
"type": "boolean"
}
}
}
}
}
}
Create Deployment Target
POST /deployment/targets
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"
}
}
}
Delete Deployment Target (DELETE)
DELETE /deployment/targets/{deploymentTargetId}
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Delete Deployment Target (POST …/delete)
POST /deployment/targets/{deploymentTargetId}/delete
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Grant Authority
POST /deployment/targets/{deploymentTargetId}/authorities/{authorityId}/grant
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string | |
| 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"
}
}
}
Lists Deployment Target
GET /deployment/targets
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_deployment-target"
}
}
}
}
Queries for Deployment Target
POST /deployment/targets/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_deployment-target"
}
}
}
}
Read ACL
GET /deployment/targets/{deploymentTargetId}/acl/list
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string |
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 /deployment/targets/{deploymentTargetId}/acl
Parameters (2), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string | |
| 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 Authorities Report
POST /deployment/targets/{deploymentTargetId}/authorities
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string |
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 Deployment Target
GET /deployment/targets/{deploymentTargetId}
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string |
Response
{
"type": "object",
"extends": "document",
"description": "Deployment Target",
"container": "platform",
"properties": {
"type": {
"type": "string"
},
"config": {
"type": "object"
},
"_doc": null,
"_system": null
}
}
Revoke Authority
POST /deployment/targets/{deploymentTargetId}/authorities/{authorityId}/revoke
Parameters (3), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string | |
| 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"
}
}
}
Update Deployment Target (PUT)
PUT /deployment/targets/{deploymentTargetId}
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Update Deployment Target (POST …/update)
POST /deployment/targets/{deploymentTargetId}/update
Parameters (1), response
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| deploymentTargetId | Yes | string |
Response
{
"type": "object",
"description": "Status of Operation",
"properties": {
"ok": {
"type": "boolean",
"description": "Indicates whether the operation succeeded or not"
}
}
}
Schema
{
"type": "object",
"extends": "document",
"description": "Deployment Target",
"container": "platform",
"properties": {
"type": {
"type": "string"
},
"config": {
"type": "object"
},
"_doc": null,
"_system": null
},
"id": "deployment-target"
}