Download OpenAPI specification:Download
Crafter Studio API v2
Required Permission: "READ_GROUPS"
keyword | string The keyword to filter groups |
offset | integer <int32> Offset of first group in the response |
limit | integer <int32> Number of groups to return |
sort | string The fields to use for sorting, plus the |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "groups": [
- {
- "id": 0,
- "name": "string",
- "desc": "string"
}
]
}
Required Permission: "CREATE_GROUPS"
Group entity to create
id required | integer <int64> Group ID, unique and immutable |
name required | string Group name, unique |
desc | string Group description |
{- "id": 0,
- "name": "string",
- "desc": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "group": {
- "id": 0,
- "name": "string",
- "desc": "string"
}
}
Required Permission: "UPDATE_GROUPS"
Group entity to update
id required | integer <int64> Group ID, unique and immutable |
desc | string Group description |
{- "id": 0,
- "desc": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "group": {
- "id": 0,
- "name": "string",
- "desc": "string"
}
}
Required Permission: "DELETE_GROUPS"
id required | Array of strings The group ID(s). Can be repeated for multiple deletes (id=1&id=2&id=3) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "READ_GROUPS"
id required | integer <int64> The group ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "group": {
- "id": 0,
- "name": "string",
- "desc": "string"
}
}
Required Permission: "READ_GROUPS"
id required | integer <int64> The group ID |
offset | integer <int32> Offset of first record in the response |
limit | integer <int32> Number of records to return |
sort | string The fields to use for sorting, plus the |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "users": [
- {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
]
}
Required Permission: "UPDATE_GROUPS"
id required | integer <int64> The group ID |
List of user IDs and/or usernames to add
ids | Array of strings |
usernames | Array of strings |
{- "ids": [
- "string"
], - "usernames": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "users": [
- {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
]
}
Required Permission: "DELETE_GROUPS"
id required | integer <int64> The group ID |
userId | Array of strings The user ID(s) to remove. Can be repeated for multiple deletes (userId=1&userId=2&userId=3) |
username | Array of strings The username(s) to remove. Can be repeated for multiple deletes (username=john&username=mark) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "READ_USERS"
site_id | string The site ID to filter users for a particular site |
keyword | string The keyword to filter users |
offset | integer <int32> Offset of first record in the response |
limit | integer <int32> Number of records to return |
sort | string The fields to use for sorting, plus the |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "users": [
- {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
]
}
Required Permission: "CREATE_USERS"
User entity to create
username required | string Username, unique |
password required | string User's password (not returned to caller) |
firstName required | string User's first name |
lastName required | string User's last name |
email required | string User's email address |
enabled required | boolean Indicates if the user is enabled |
externallyManaged required | boolean Indicates if a user is managed in by an external system (LDAP, SAML, etc.) |
{- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "users": {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
}
Required Permission: "UPDATE_USERS"
User entity to update. Supported update attributes are firstName, lastName, email and enabled.
id required | integer <int64> User ID, unique and immutable |
firstName required | string User's first name |
lastName required | string User's last name |
email required | string User's email address |
enabled required | boolean Indicates if the user is enabled |
{- "id": 0,
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "user": {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
}
Required Permission: "DELETE_USERS"
id | Array of strings The user ID(s). Can be repeated for multiple deletes (id=1&id=2&id=3) |
username | Array of strings The username(s). Can be repeated for multiple deletes (username=john&username=mark) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "READ_USERS"
id required | string The user ID. Username can also be used |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "user": {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
}
Required Permission: "UPDATE_USERS"
List of user IDs and/or usernames to enable
ids | Array of strings |
usernames | Array of strings |
{- "ids": [
- "string"
], - "usernames": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "users": [
- {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
]
}
Required Permission: "UPDATE_USERS"
List of user IDs and/or usernames to disable
ids | Array of strings |
usernames | Array of strings |
{- "ids": [
- "string"
], - "usernames": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "users": [
- {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
]
}
Required Permission: "READ_USERS"
id required | string The user ID. Username can also be used |
offset | integer <int32> Offset of first site in the response |
limit | integer <int32> Number of sites to return |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "sites": [
- {
- "siteId": "string",
- "uuid": "string",
- "name": "string",
- "desc": "string"
}
]
}
Required Permission: "READ_USERS"
id required | string The user ID. Username can also be used |
site required | string The site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "roles": [
- "string"
]
}
Required Permission: "UPDATE_USERS"
id required | string The user ID. Username can also be used |
request body to change password
username required | string |
new required | string new password |
{- "username": "string",
- "new": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "ANONYMOUS"
request body to change password
token required | string |
new required | string new password |
{- "token": "string",
- "new": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "user": {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
}
Required Permission: "LOGGED_IN"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "authenticatedUser": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true,
- "authenticationType": "string"
}
}
Required Permission: "LOGGED_IN"
offset | integer <int32> Offset of first record in the response |
limit | integer <int32> Number of records to return |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "sites": [
- {
- "siteId": "string",
- "uuid": "string",
- "name": "string",
- "desc": "string"
}
]
}
Required Permission: "LOGGED_IN"
site required | string The site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "roles": [
- "string"
]
}
Required Permission: "LOGGED_IN"
site required | string The site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "permissions": [
- "string"
]
}
Required Permission: "LOGGED_IN"
site required | string The site ID |
request body to check if current authenticated user has permissions
permissions required | Array of strings |
{- "permissions": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "permissions": {
- "create": true,
- "update": true,
- "delete": false
}
}
Required Permission: "LOGGED_IN"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "permissions": [
- "string"
]
}
Required Permission: "LOGGED_IN"
request body to check if current authenticated user has permissions
permissions required | Array of strings |
{- "permissions": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "permissions": {
- "create": true,
- "update": true,
- "delete": false
}
}
AFTER
local logout. Response entity can be null if user is
not authenticated through SSO or if logout is disabled{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "logoutUrl": "string"
}
Required Permission: "LOGGED_IN"
request body to change password
username required | string |
current required | string current password |
new required | string new password |
{- "username": "string",
- "current": "string",
- "new": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "user": {
- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": true
}
}
Required Permission: "LOGGED_IN"
siteId | string The id of the site (defaults to global) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "properties": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}
Required Permission: "LOGGED_IN"
siteId | string The id of the site (defaults to global) |
object Properties to update or add |
{- "siteId": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "properties": {
- "property1": "string",
- "property2": "string"
}
}
Required Permission: "LOGGED_IN"
siteId | string The id of the site (defaults to global) |
properties required | Array of strings List of keys to delete |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "properties": {
- "property1": "string",
- "property2": "string"
}
}
Required Permission: "ANONYMOUS"
username required | string The username of user that forgot password |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "ANONYMOUS"
token required | string forgot password token to be validated |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "LOGGED_IN"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "menuItems": [
- {
- "id": "string",
- "label": "string",
- "icon": "string"
}
]
}
Required Permission: "LOGGED_IN"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "environment": "string"
}
Required Permission: "S3 Read"
siteId required | string The site ID |
profileId required | string The profile ID |
path | string The path of the directory to list (defaults to the root) |
type | string The type of items to list (defaults to all types) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "name": "string",
- "url": "string",
- "folder": true
}
]
}
Required Permission: "S3 Write"
siteId required | string The site ID |
profileId required | string The profile ID |
path | string The path where the file will be uploaded (will be used as part of the key in S3) |
filename required | string The name of the file (will be used as part of the item key in S3) |
file required | string <binary> The content of the file to upload |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": {
- "name": "string",
- "url": "string",
- "folder": true
}
}
Required Permission: "S3 Write"
siteId required | string The site ID |
inputProfileId required | string The MediaConvert profile ID |
outputProfileId required | string The S3 profile ID for the generated URLs |
file required | string <binary> The content of the file to upload |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": {
- "jobId": "string",
- "jobArn": "string",
- "urls": [
- "string"
]
}
}
Required Permission: "read_cluster"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "clusterMembers": [
- {
- "primary": true,
- "localAddress": "string",
- "state": "ACTIVE",
- "gitUrl": "string",
- "gitRemoteName": "string"
}
]
}
Required Permission: "LOGGED_IN"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "blueprints": [
- {
- "descriptorVersion": 0,
- "plugin": {
- "type": "string",
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "version": {
- "major": 0,
- "minor": 0,
- "patch": 0
}, - "description": "string",
- "website": {
- "name": "string",
- "url": "string"
}, - "media": {
- "screenshots": [
- {
- "title": "string",
- "description": "string",
- "url": "string"
}
], - "videos": [
- {
- "title": "string",
- "description": "string",
- "url": "string"
}
]
}, - "developer": {
- "people": [
- {
- "name": "string",
- "url": "string"
}
], - "company": {
- "name": "string",
- "url": "string"
}
}, - "license": {
- "name": "string",
- "url": "string"
}, - "crafterCmsVersions": [
- {
- "major": 0,
- "minor": 0,
- "patch": 0
}
], - "crafterCmsEditions": [
- "string"
], - "parameters": [
- {
- "label": "string",
- "name": "string",
- "description": "string",
- "defaultValue": "string",
- "type": "string",
- "required": true
}
]
}
}
]
}
The site information
siteId required | string Site ID to use |
description | string Site description |
sandboxBranch | string Name for sandbox branch (default master) |
remoteName | string Remote repository name (default origin) |
blueprintId required | string The ID of the blueprint to use |
required | object (Version) |
object Object containing all parameters for the blueprint. It should include all required parameters from the descriptor |
{- "siteId": "string",
- "description": "string",
- "sandboxBranch": "string",
- "remoteName": "string",
- "blueprintId": "string",
- "blueprintVersion": {
- "major": 0,
- "minor": 0,
- "patch": 0
}, - "siteParams": {
- "property1": "string",
- "property2": "string"
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "EDIT_SITE"
siteId required | string The site ID |
name | string The name of the site |
description | string The description of the site |
{- "name": "string",
- "description": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
siteId required | string |
required | Array of objects The list of actions to verify |
{- "actions": [
- {
- "type": "string",
- "source": "string",
- "target": "string",
- "recursive": false,
- "contentMetadata": {
- "fileSize": 0,
- "contentType": "string"
}
}
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "result": {
- "actions": [
- {
- "type": "string",
- "target": "string",
- "allowed": true,
- "modifiedValue": "string"
}
]
}
}
siteId required | string The site ID |
Search Parameters
query | string The main Lucene query to execute |
keywords | string The keywords to search in the files |
path | string Regular expression to filter the paths |
offset | integer <int64> The offset to paginate the results (defaults to 0) |
limit | integer <int64> The limit to paginate the results (defaults to 10) |
sortBy | string The name of the field to sort the results (defaults to sort by relevance) |
sortOrder | string The order to sort the results (defaults to DESC) |
orOperator | boolean Indicates if the filters should use an OR instead of an AND operator (defaults to false) |
object Object containing facets to filter the search results. Facets can be simple key-value pairs like "MIME Type":"text/css" or nested objects for range facets like "Width": { "min": 0, "max": 150 }. Both keys and values can be taken from the facets object of a previous search. |
{- "query": "string",
- "keywords": "string",
- "path": "string",
- "offset": 0,
- "limit": 0,
- "sortBy": "string",
- "sortOrder": "string",
- "orOperator": true,
- "filters": { }
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "result": {
- "total": 0,
- "items": [
- {
- "path": "string",
- "name": "string",
- "type": "string",
- "mimeType": "string",
- "previewUrl": "string",
- "lastModifier": "string",
- "lastModified": "2019-08-24T14:15:22Z",
- "size": 0,
- "snippets": [
- "string"
]
}
], - "facets": [
- {
- "name": "string",
- "range": true,
- "date": true,
- "values": {
- "facet1": {
- "value1": 0
}, - "facet2": {
- "count": 0,
- "from": { },
- "to": { }
}
}
}
]
}
}
Required permission "AUDIT_LOG"
siteId | string Site ID (site identifier) - optional for super admin user, otherwise required |
offset | integer <int32> Offset of first record in the response |
limit | integer <int32> Number of records to return |
user | string Filter log by user name |
operations | Array of strings Filter log by operations |
includeParameters | boolean Include parameters into result set if |
dateFrom | string Lower boundary in date range query |
dateTo | string Upper boundary in date range query |
target | string Regular expression to filter target values |
origin | string Origin filter for audit log. Possible values |
clusterNodeId | string Cluster node id filter for audit log |
sort | string Sort result set by specified field. Possible values |
order | string Order in sorted result. Possible values |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "auditLog": [
- {
- "id": 0,
- "organizationId": 0,
- "siteId": "string",
- "siteName": "string",
- "operation": "string",
- "operationTimestamp": "string",
- "origin": "string",
- "primaryTargetId": "string",
- "primaryTargetType": "string",
- "primaryTargetSubtype": "string",
- "primaryTargetValue": "string",
- "actorId": "string",
- "actorDetails": "string",
- "clusterNodeId": "string",
- "parameters": [
- {
- "targetId": "string",
- "targetType": "string",
- "targetSubtype": "string",
- "targetValue": "string"
}
]
}
]
}
id required | integer <int64> The log entry ID |
siteId | string Site ID (site identifier) - optional for super admin user, otherwise required |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "auditLog": [
- {
- "id": 0,
- "organizationId": 0,
- "siteId": "string",
- "siteName": "string",
- "operation": "string",
- "operationTimestamp": "string",
- "origin": "string",
- "primaryTargetId": "string",
- "primaryTargetType": "string",
- "primaryTargetSubtype": "string",
- "primaryTargetValue": "string",
- "actorId": "string",
- "actorDetails": "string",
- "clusterNodeId": "string",
- "parameters": [
- {
- "targetId": "string",
- "targetType": "string",
- "targetSubtype": "string",
- "targetValue": "string"
}
]
}
]
}
token required | string Management token - not required for authenticated users |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "version": {
- "packageName": "string",
- "packageVersion": "string",
- "packageBuild": "string",
- "packageBuildDate": "2019-08-24T14:15:22Z",
- "osName": "string",
- "osVersion": "string",
- "osArch": "string",
- "javaVersion": "string",
- "javaVendor": "string",
- "javaVm": "string"
}
}
token required | string Management token - not required for authenticated users |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "status": {
- "uptime": 0,
- "startup": "2019-08-24T14:15:22Z"
}
}
token required | string Management token - not required for authenticated users |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "memory": {
- "totalJvmMemory": 0,
- "freeJvmMemory": 0,
- "maxJvmMemory": 0,
- "totalOsMemory": 0,
- "freeOsMemory": 0,
- "totalSwapMemory": 0,
- "freeSwapMemory": 0
}
}
since required | integer <int64> The time in milliseconds from which events should be fetched |
token required | string Management token - not required for authenticated users |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "events": [
- {
- "exception": "string",
- "site": "string",
- "level": "string",
- "thread": "string",
- "message": "string",
- "timestamp": "string",
- "timestampm": 0
}
]
}
Required permission "add_remote"
Remote repository entity
siteId required | string site identifier |
remoteName required | string remote repository name |
remoteUrl required | string <URL> URL to access remote repository |
authenticationType required | string Authentication type to use to access remote repository Possible values:
|
remoteUsername | string username to use to access remote repository |
remotePassword | string password to use to access remote repository |
remoteToken | string token to use to access remote repository |
remotePrivateKey | string private key to access |
{- "siteId": "string",
- "remoteName": "string",
- "remoteUrl": "string",
- "authenticationType": "string",
- "remoteUsername": "string",
- "remotePassword": "string",
- "remoteToken": "string",
- "remotePrivateKey": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "pull_from_remote"
pull from remote repository request body
siteId required | string Site ID |
remoteName required | string Remote repository name to pull from |
remoteBranch required | string Remote repository branch to pull from |
mergeStrategy | string <theirs, ours, none> Merge strategy to use when pulling content from remote repository |
{- "siteId": "string",
- "remoteName": "string",
- "remoteBranch": "string",
- "mergeStrategy": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "result": {
- "successful": true,
- "commitsMerged": 0,
- "mergeCommitId": "string"
}
}
Required permission "push_to_remote"
push to remote repository request body
siteId required | string Site ID |
remoteName required | string Remote repository name to push to |
remoteBranch required | string Remote repository branch to push to |
force | boolean Indicates whether to force push to remote or not |
{- "siteId": "string",
- "remoteName": "string",
- "remoteBranch": "string",
- "force": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "rebuild_database"
rebuild database request body
siteId required | string Site ID |
{- "siteId": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "remove_remote"
remove remote repository request body
siteId required | string Site ID |
remoteName required | string Remote repository name of remote to be removed |
{- "siteId": "string",
- "remoteName": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "list_remote"
siteId required | string Site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "remotes": [
- {
- "name": "string",
- "url": "string",
- "fetch": "string",
- "push_url": "string",
- "branches": [
- "string"
], - "reachable": true,
- "unreachableReason": "string",
- "removable": true
}
]
}
Required permission "site_status"
siteId required | string Site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "repositoryStatus": {
- "conflicting": [
- "string"
], - "uncommittedChanges": [
- "string"
], - "clean": true
}
}
Required permission "resolve_conflict"
resolve conflict request body
siteId required | string site ID |
path required | string Conflicted file path |
resolution required | string resolution mechanism to use (ours, theirs) |
{- "siteId": "string",
- "path": "string",
- "resolution": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "repositoryStatus": {
- "conflicting": [
- "string"
], - "uncommittedChanges": [
- "string"
], - "clean": true
}
}
Required permission "site_diff_conflicted_file"
siteId required | string Site ID |
path required | string Path of conflicted file |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "diff": {
- "diff": "string",
- "studioVersion": "string",
- "remoteVersion": "string"
}
}
Required permission "commit_resolution"
Commit resolution request body
siteId required | string site ID |
commitMessage required | string Commit message |
{- "siteId": "string",
- "commitMessage": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "repositoryStatus": {
- "conflicting": [
- "string"
], - "uncommittedChanges": [
- "string"
], - "clean": true
}
}
Required permission "cancel_failed_pull"
cancel failed pull request body
siteId required | string site ID |
{- "siteId": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "repositoryStatus": {
- "conflicting": [
- "string"
], - "uncommittedChanges": [
- "string"
], - "clean": true
}
}
Required role "system_admin" for global, "admin" for site sandbox or published
Unlock local git repository request
siteId | string site ID, do not send if unlocking the GLOBAL repository |
repositoryType required | string <GLOBAL, SANDBOX or PUBLISHED> |
{- "siteId": "string",
- "repositoryType": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "repositoryStatus": {
- "conflicting": [
- "string"
], - "uncommittedChanges": [
- "string"
], - "clean": true
}
}
Required role "system_admin" for global, "admin" for site sandbox or published
siteId | string site ID, do not send if checking the GLOBAL repository |
repositoryType required | string <GLOBAL, SANDBOX or PUBLISHED> |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "corrupted": true
}
Required role "system_admin" for global, "admin" for site sandbox or published
siteId | string site ID, do not send if repairing the GLOBAL repository |
repositoryType required | string <GLOBAL, SANDBOX or PUBLISHED> |
{- "siteId": "string",
- "repositoryType": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "create content"
siteId required | string Site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "siteId": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string"
}
]
}
Required permission "delete_content"
siteId required | string Site ID |
paths required | Array of strings Content paths to get a delete package for |
{- "siteId": "string",
- "paths": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": {
- "childItems": [
- "string"
], - "dependentItems": [
- "string"
]
}
}
Required permission "content_delete"
parameters for delete content
siteId required | string site identifier |
items required | Array of strings path(s) of content item(s) |
optionalDependencies | Array of strings optional (soft) dependencies |
comment | string deletion comment by the user performing the delete |
{- "siteId": "string",
- "items": [
- "string"
], - "optionalDependencies": [
- "string"
], - "comment": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "content_write"
parameters for rename content
siteId required | string site identifier |
path required | string full path to the item to rename |
name required | string new item name (just the name, no path) |
{- "siteId": "string",
- "path": "string",
- "name": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "get_children" and "site member"
siteId required | string Site ID |
path required | string item path to get children for |
localeCode | string filter children by locale code, or show source items (not translation) if translation to specified locale code does not exist |
sortStrategy | string sort strategy (sort order) Possible values:
|
order | string <ASC, DESC> order for sort strategy ascending or descending (ASC / DESC) |
offset | integer offset of first child in response - default 0 |
limit | integer number of children to return |
keyword | string filter children by keyword |
systemTypes | Array of strings filter children by system type |
excludes | Array of strings exclude items by path |
{- "siteId": "string",
- "path": "string",
- "localeCode": "string",
- "sortStrategy": "string",
- "order": "string",
- "offset": 0,
- "limit": 0,
- "keyword": "string",
- "systemTypes": [
- "string"
], - "excludes": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "levelDescriptor": {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}, - "children": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
], - "total": 0,
- "offset": 0,
- "limit": 0
}
Required permission "get_children"
siteId required | string site ID |
path required | string item path |
preferContent | boolean when set to true, return an item instead of a folder if the path can match either |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "expiresOn": "string",
- "availableActions": 0,
- "sandbox": {
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "staging": {
- "dateScheduled": "string",
- "datePublished": "string",
- "publisher": "string",
- "commitId": "string"
}, - "live": {
- "dateScheduled": "string",
- "datePublished": "string",
- "publisher": "string",
- "commitId": "string"
}, - "childrenCount": 0
}
}
Required permission "get_children" and "site member"
siteId required | string Site ID |
paths required | Array of strings item paths to get |
preferContent | boolean when set to true, return an item instead of a folder if the path can match either |
{- "siteId": "string",
- "paths": [
- "string"
], - "preferContent": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
], - "missingItems": [
- "string"
]
}
siteId required | string The site ID |
path required | string The path of the descriptor |
flatten | boolean Indicates if included descriptors should be flattened |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "xml": "string"
}
Required permission "Write"
siteId required | string The id of the site |
operation | string Enum: "COPY" "CUT" Indicate the type of operation |
targetPath | string The target path for the operation |
required | object (PasteItem) |
{- "siteId": "string",
- "operation": "COPY",
- "targetPath": "string",
- "item": {
- "path": "string",
- "children": [
- { }
]
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- "string"
]
}
Required permission "Write"
siteId required | string The id of the site |
path required | string The path of the item to duplicate |
{- "siteId": "string",
- "path": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": "string"
}
Required permission "content_write"
siteId required | string The id of the site |
path required | string Path of item to lock |
{- "siteId": "string",
- "path": "string"
}
{- "result": {
- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
}
Required permission "item_unlock" or lock owner
siteId required | string The id of the site |
path required | string The path of the item to unlock |
{- "siteId": "string",
- "path": "string"
}
{- "result": {
- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
}
Required permission "content_read"
siteId required | string site ID |
path required | string path of the content |
commitId required | string commit id of the content version |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "content": "string"
}
Required permission "read_configuration"
siteId required | string Site ID |
module required | string Module name (e.g. studio, engine) |
path required | string Configuration file path, relative to /config/ |
environment | string environment to use |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "content": "string"
}
Required permission "write_configuration"
write configuration request body
siteId required | string site ID |
module required | string Module name (e.g. studio, engine) |
path required | string Configuration file path, relative to /config/ |
environment | string environment to use |
content required | string configuration file content |
{- "siteId": "string",
- "module": "string",
- "path": "string",
- "environment": "string",
- "content": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "write_configuration"
siteId required | string Site ID |
{- "result": {
- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
}
Required permission "read_configuration"
siteId required | string Site ID |
module required | string Module name (e.g. studio, engine) |
path required | string Configuration file path, relative to /config/ |
environment | string environment to use |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "history": {
- "item": { },
- "versions": [
- {
- "versionNumber": "string",
- "lastModifiedDate": "string",
- "lastModifier": "string",
- "comment": "string"
}
]
}
}
Required permission "content_read"
siteId required | string site ID |
contentType required | string |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "dependencies": {
- "templates": [
- "string"
], - "scripts": [
- "string"
], - "content": [
- "string"
]
}
}
Required permission "content_read"
siteId required | string site ID |
contentTypeId required | string |
{- "result": {
- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
}
Required permission "write_configuration"
siteId required | string The id of the site |
contentType required | string The content-type to delete |
deleteDependencies | boolean Indicates if all dependencies of the content-type should be deleted (defaults to false) |
{- "siteId": "string",
- "contentType": "string",
- "deleteDependencies": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
siteId required | string The site ID |
type required | string The plugin type (e.g. control, data-source) |
name required | string The plugin name (e.g. custom-input) |
filename required | string The name of the file (e.g. input.js, style/main.css) |
pluginId | string The id of the plugin (e.g. org.craftercms.plugin). This is only needed for plugins installed from the marketplace |
{- "result": {
- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
}
Required permission "site member"
siteId required | string The id of the site |
pluginId required | string The id of the plugin |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "content": "string"
}
Required permission "write_configuration" and "site member"
write configuration request body
siteId required | string The id of the site |
pluginId required | string The id of the plugin |
content required | string configuration file content |
{- "siteId": "string",
- "pluginId": "string",
- "content": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
siteId required | string Site ID |
token required | string Management token |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "content_read"
siteId required | string Site ID |
paths required | Array of strings Content paths to get dependencies for |
{- "siteId": "string",
- "paths": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": {
- "hardDependencies": [
- "string"
], - "softDependencies": [
- "string"
]
}
}
type | string Plugin type to search (e.g. blueprint, control, datasource) |
keywords | string The keywords to filter plugins |
showPending | boolean Include plugins pending of approval (default to false) |
offset | integer <int64> Offset for pagination |
limit | integer <int64> Limit for pagination |
showIncompatible | boolean Include incompatible plugins (defaults to false) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "items": [
- {
- "type": "string",
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "version": {
- "major": 0,
- "minor": 0,
- "patch": 0
}, - "description": "string",
- "website": {
- "name": "string",
- "url": "string"
}, - "media": {
- "screenshots": [
- {
- "title": "string",
- "description": "string",
- "url": "string"
}
], - "videos": [
- {
- "title": "string",
- "description": "string",
- "url": "string"
}
]
}, - "developer": {
- "people": [
- {
- "name": "string",
- "url": "string"
}
], - "company": {
- "name": "string",
- "url": "string"
}
}, - "license": {
- "name": "string",
- "url": "string"
}, - "crafterCmsVersions": [
- {
- "major": 0,
- "minor": 0,
- "patch": 0
}
], - "crafterCmsEditions": [
- "string"
], - "parameters": [
- {
- "label": "string",
- "name": "string",
- "description": "string",
- "defaultValue": "string",
- "type": "string",
- "required": true
}
], - "status": "string",
- "source": "string",
- "compatible": true
}
]
}
Required permission "list_plugins"
siteId required | string site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "plugins": [
- {
- "id": "string",
- "version": {
- "major": 0,
- "minor": 0,
- "patch": 0
}, - "pluginUrl": "string",
- "installationDate": "2019-08-24T14:15:22Z",
- "files": [
- {
- "path": "string"
}
]
}
]
}
Required permission "install_plugins"
siteId required | string The id of the site |
pluginId required | string The id of the plugin |
required | object (Version) |
object Object containing all parameters for the plugin. It should include all required parameters from the descriptor |
{- "siteId": "string",
- "pluginId": "string",
- "pluginVersion": {
- "major": 0,
- "minor": 0,
- "patch": 0
}, - "parameters": {
- "property1": "string",
- "property2": "string"
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "install_plugins"
siteId required | string The id of the site |
path required | string The path of the local plugin source folder |
object Object containing all parameters for the plugin. It should include all required parameters from the descriptor |
{- "siteId": "string",
- "path": "string",
- "parameters": {
- "property1": "string",
- "property2": "string"
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "remove_plugins"
siteId required | string The id of the site |
pluginId required | string The id of the plugin |
force | any Indicates if the plugin should be removed even if there are dependant items |
{- "siteId": "string",
- "pluginId": "string",
- "force": null
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "remove_plugins"
siteId required | string The id of the site |
pluginId required | string The id of the plugin |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- "string"
]
}
Required Permission: "webdav_read"
siteId required | string The site ID |
profileId required | string The profile ID |
path | string The path of the directory to list (defaults to the root) |
type | string The MIME-type of items to list, defaults to all |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "name": "string",
- "url": "string",
- "folder": true
}
]
}
Required Permission: "webdav_write"
siteId required | string The site ID |
profileId required | string The profile ID |
path | string The path where the file will be uploaded |
file required | string <binary> The content of the file to upload |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": {
- "name": "string",
- "url": "string",
- "folder": true
}
}
Required permission "Publish"
publish all request body
siteId required | string site ID |
publishingTarget required | string the publishing target (staging or live) |
submissionComment | string optional submission comment |
{- "siteId": "string",
- "publishingTarget": "string",
- "submissionComment": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "get_publishing_queue"
siteId required | string site ID |
publishingTarget | string filter by publishing target |
path | string regular expression to filter by path |
states | Array of strings filter by package state(s) |
offset | integer <int64> Offset for pagination |
limit | integer <int64> Limit for pagination |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "packages": [
- {
- "id": "string",
- "siteId": "string",
- "schedule": "string",
- "approver": "string",
- "state": "string",
- "publishingTarget": "string",
- "comment": "string"
}
]
}
Required permission "get_publishing_queue"
siteId required | string site ID |
packageId required | string package ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "package": {
- "id": "string",
- "siteId": "string",
- "schedule": "string",
- "approver": "string",
- "state": "string",
- "publishingTarget": "string",
- "comment": "string",
- "items": [
- {
- "path": "string",
- "contentTypeClass": "string",
- "mimeType": "string"
}
]
}
}
Required permission "cancel_publish"
cancel publishing packages request body
siteId required | string site ID |
packageIds required | Array of strings packageIds |
{- "siteId": "string",
- "packageIds": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "publish_status"
siteId required | string site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "publishingStatus": {
- "enabled": true,
- "status": "string",
- "lockOwner": "string",
- "lockTTL": "string",
- "totalItems": 0,
- "numberOfItems": 0,
- "submissionId": "string",
- "publishingTarget": "string",
- "published": true
}
}
Required permission "publish_clear_lock"
clear publishing lock request body
siteId required | string site ID |
{- "siteId": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "publish"
siteId required | string site ID |
days required | integer <int32> number of days to display history for |
num required | integer <int32> number of items to fetch |
filterType | string filter items by type (all, page, component, asset) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "publishingStatus": {
- "internalName": "string",
- "numberOfChildren": 0,
- "children": [
- { }
], - "publishingTarget": "string"
}
}
Required permission "publish"
siteId required | string site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "publishingTargets": [
- {
- "name": "string",
- "order": 0
}
], - "published": true
}
Required permission "content_read"
siteId required | string site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "hasInitialPublish": true
}
Required permission "encryption_tool"
text required | string |
{- "text": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": "string"
}
Required permission "manage_access_token"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "tokens": [
- {
- "token": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "label": "string",
- "enabled": true,
- "createdOn": "2019-08-24T14:15:22Z"
}
]
}
Required permission "manage_access_token"
label required | string The label for the access token |
expiresAt | string <date-time> The date of expiration for the access token |
{- "label": "string",
- "expiresAt": "2019-08-24T14:15:22Z"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "token": {
- "token": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "label": "string",
- "enabled": true,
- "createdOn": "2019-08-24T14:15:22Z"
}
}
Required permission "manage_access_token"
id required | integer <int64> The id of the access token to update |
enabled required | boolean Indicates if the access token is enabled |
{- "enabled": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "token": {
- "token": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "label": "string",
- "enabled": true,
- "createdOn": "2019-08-24T14:15:22Z"
}
}
Required permission "manage_access_token"
id required | integer <int64> The id of the access token to delete |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "site_member"
siteId required | string site ID |
usernames | Array of strings filter activities for given users only |
actions | Array of strings filter activities for given actions only |
dateFrom | string <date-time> lower boundary to filter by date-time range |
dateTo | string <date-time> upper boundary to filter by date-time range |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "activities": [
- {
- "id": 0,
- "person": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "actionType": "string",
- "item": {
- "id": 0,
- "path": "string",
- "label": "string",
- "previewUrl": "string"
}, - "package": {
- "id": "string"
}
}
]
}
Required permission "site_member"
siteId required | string site ID |
actions | Array of strings filter activities for given actions only |
dateFrom | string <date-time> lower boundary to filter by date-time range |
dateTo | string <date-time> upper boundary to filter by date-time range |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "activities": [
- {
- "id": 0,
- "person": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "actionType": "string",
- "item": {
- "id": 0,
- "path": "string",
- "label": "string",
- "previewUrl": "string"
}, - "package": {
- "id": "string"
}
}
]
}
Required permission "site_member"
siteId required | string site ID |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "publishingItems": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "expiresOn": "string",
- "availableActions": 0,
- "sandbox": {
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "staging": {
- "dateScheduled": "string",
- "datePublished": "string",
- "publisher": "string",
- "commitId": "string"
}, - "live": {
- "dateScheduled": "string",
- "datePublished": "string",
- "publisher": "string",
- "commitId": "string"
}, - "childrenCount": 0
}
]
}
Required permission "site_member"
id required | string package ID |
siteId required | string site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "publishingPackageItems": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
]
}
Required permission "content_read"
siteId required | string site ID |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "unpublishedItems": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
]
}
Required permission "content_read"
siteId required | string site ID |
publishingTarget | string publishing target to filter results |
dateFrom required | string <date-time> lower boundary to filter by date-time range |
dateTo required | string <date-time> upper boundary to filter by date-time range |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "publishingPackages": [
- {
- "id": "string",
- "label": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "size": 0,
- "publishingTarget": "string",
- "schedule": "2019-08-24T14:15:22Z"
}
]
}
Required permission "content_read"
id required | string package ID |
siteId required | string site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "publishingPackageItems": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
]
}
Required permission "content_read"
siteId required | string site ID |
publishingTarget | string publishing target to filter results |
approver | string approver user to filter results |
dateFrom required | string <date-time> lower boundary to filter by date-time range |
dateTo required | string <date-time> upper boundary to filter by date-time range |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "publishingPackages": [
- {
- "id": "string",
- "label": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "size": 0,
- "publishingTarget": "string",
- "schedule": "2019-08-24T14:15:22Z"
}
]
}
Required permission "content_read"
id required | string package ID |
siteId required | string site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "publishingPackageItems": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
]
}
Required permission "content_read"
siteId required | string site ID |
days required | integer <int32> number of days to display stats for |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "publishingStats": {
- "numberOfPublishes": 0,
- "numberOfNewAndPublishedItems": 0,
- "numberOfEditedAndPublishedItems": 0
}
}
Required permission "site_member"
siteId required | string site ID |
dateFrom required | string <date-time> lower boundary to filter by date-time range |
dateTo required | string <date-time> upper boundary to filter by date-time range |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "itemName": "string",
- "itemPath": "string",
- "expireDateTime": "2019-08-24T14:15:22Z"
}
]
}
Required permission "site_member"
siteId required | string site ID |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "itemName": "string",
- "itemPath": "string",
- "expiredDateTime": "2019-08-24T14:15:22Z"
}
]
}
Required permission "get_item_states"
siteId required | string site ID |
path | string path regex |
states | integer <int64> states bitmap mask |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "items": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
]
}
Required permission "set_item_states"
List of items to set workflow state(s)
siteId required | string site ID |
items required | Array of strings path(s) of item(s) |
clearSystemProcessing | boolean true if system processing is to be cleared |
clearUserLocked | boolean true if user lock is to be cleared |
live | boolean true if item is to be set as live, otherwise false |
staged | boolean true if item is to be set as staged, otherwise false |
new | boolean true if item is to be set as new, otherwise false |
modified | boolean true if item is to be set as modified, otherwise false |
{- "siteId": "string",
- "items": [
- "string"
], - "clearSystemProcessing": true,
- "clearUserLocked": true,
- "live": true,
- "staged": true,
- "new": true,
- "modified": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "set_item_states"
List of items to set workflow state(s)
required | object |
required | object |
{- "query": {
- "siteId": "string",
- "path": "string",
- "states": 0
}, - "update": {
- "clearSystemProcessing": true,
- "clearUserLocked": true,
- "live": true,
- "staged": true,
- "new": true,
- "modified": true
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "content_read"
siteId required | string site ID |
path required | string path of the content |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "dateCreated": "string",
- "modifier": "string",
- "dateModified": "string",
- "commitId": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
]
}
Required permission "site_member"
parameters for request publish
siteId required | string site identifier |
items required | Array of strings path(s) of content item(s) |
optionalDependencies | Array of strings optional (soft) dependencies |
publishingTarget required | string target to publish content to |
schedule | string <datetime> schedule when to publish content |
comment | string comment about publish request |
sendEmailNotifications | boolean if true, send email notifications |
{- "siteId": "string",
- "items": [
- "string"
], - "optionalDependencies": [
- "string"
], - "publishingTarget": "string",
- "schedule": "string",
- "comment": "string",
- "sendEmailNotifications": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "publish"
parameters for publish content
siteId required | string site identifier |
items required | Array of strings path(s) of content item(s) |
optionalDependencies | Array of strings optional (soft) dependencies |
publishingTarget required | string target to publish content to |
schedule | string <datetime> schedule when to publish content |
comment | string submission comment by publisher |
{- "siteId": "string",
- "items": [
- "string"
], - "optionalDependencies": [
- "string"
], - "publishingTarget": "string",
- "schedule": "string",
- "comment": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "publish"
parameters for approve request publish submission
siteId required | string site identifier |
items required | Array of strings path(s) of content item(s) |
optionalDependencies | Array of strings optional (soft) dependencies |
publishingTarget required | string target to publish content to |
schedule | string <datetime> schedule when to publish content |
comment | string Reviewer's comment |
{- "siteId": "string",
- "items": [
- "string"
], - "optionalDependencies": [
- "string"
], - "publishingTarget": "string",
- "schedule": "string",
- "comment": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "publish"
parameters for reject request publish submission
siteId required | string site identifier |
items required | Array of strings path(s) of content item(s) |
comment | string Reviewer's rejection comment |
{- "siteId": "string",
- "items": [
- "string"
], - "comment": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "request_publish, publish"
siteId required | string filter workflow packages by site |
dateFrom | string <date> lower boundary for filtering results by scheduled date |
dateTo | string <date> upper boundary for filtering results by scheduled date |
offset | integer <int32> Offset of the first package in the response |
limit | integer <int32> Number of packages to return |
order | string ascending or descending (ASC | DESC). Default ascending |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "packages": [
- {
- "id": "string",
- "siteId": "string",
- "status": "string",
- "author": "string",
- "reviewer": "string",
- "schedule": "string",
- "publishingTarget": "string",
- "authorComment": "string",
- "reviewerComment": "string",
- "label": "string"
}
]
}
Required permission "request_publish, publish"
parameters to create new workflow package
siteId required | string site identifier |
paths required | Array of strings paths of content items to add to package |
publishingTarget required | string target where to publish content |
schedule | string <datetime> schedule when publishing should be performed |
authorComment | string author's comment about the package |
label | string user friendly name for the package |
{- "siteId": "string",
- "paths": [
- "string"
], - "publishingTarget": "string",
- "schedule": "string",
- "authorComment": "string",
- "label": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "request_publish, publish"
Workflow package entity to update
id required | string workflow package ID |
siteId required | string site identifier |
status required | string workflow package status |
author required | string username of the author |
reviewer | string username of the reviewer |
schedule | string <datetime> scheduled date and time to publish the package |
publishingTarget required | string name of the publishing target where package will be published |
authorComment | string author's comment |
reviewerComment | string reviewer's comment |
label | string user friendly label for package |
{- "id": "string",
- "siteId": "string",
- "status": "string",
- "author": "string",
- "reviewer": "string",
- "schedule": "string",
- "publishingTarget": "string",
- "authorComment": "string",
- "reviewerComment": "string",
- "label": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "package": {
- "id": "string",
- "siteId": "string",
- "status": "string",
- "author": "string",
- "reviewer": "string",
- "schedule": "string",
- "publishingTarget": "string",
- "authorComment": "string",
- "reviewerComment": "string",
- "label": "string"
}
}
Required permission "request_publish, publish"
id required | string <UUID> The workflow package ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "package": {
- "id": "string",
- "siteId": "string",
- "status": "string",
- "author": "string",
- "reviewer": "string",
- "schedule": "string",
- "publishingTarget": "string",
- "authorComment": "string",
- "reviewerComment": "string",
- "label": "string"
}
}
Required permission "publish"
parameters to approve a workflow package
siteId required | string site identifier |
required | Array of objects |
schedule | string <datetime> approved schedule when to publish package |
{- "siteId": "string",
- "packages": [
- {
- "packageId": "string",
- "approverComment": "string"
}
], - "schedule": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "request_publish, publish"
parameters to create new workflow package
siteId required | string site identifier |
required | Array of objects |
{- "siteId": "string",
- "packages": [
- {
- "packageId": "string",
- "rejectionComment": "string"
}
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "view_log_levels or configure_log_levels"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "results": [
- {
- "name": "string",
- "level": "string"
}
]
}
Required permission "configure_log_levels"
parameters to update the logger level
name required | string the logger name |
level required | string the logger priority level (off|error|warn|info|debug|trace|all) |
createIfAbsent | boolean if true, the logger will be created in case it does not exist yet. If false, a 404 status code will be returned if logger is not in the registry. |
{- "name": "string",
- "level": "string",
- "createIfAbsent": true
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "result": {
- "name": "string",
- "level": "string"
}
}