Download OpenAPI specification:Download
Crafter Studio API v2
Required Permission: "READ_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 |
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: "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 | string The site ID to filter users for a particular site |
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
id required | integer <int64> User ID, unique and immutable |
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.) |
{- "id": 0,
- "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. The password
and externallyManaged
fields will be ignored if sent.
id required | integer <int64> User ID, unique and immutable |
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.) |
{- "id": 0,
- "username": "string",
- "password": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "enabled": true,
- "externallyManaged": 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",
- "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
}
}
{- "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"
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "sites": [
- {
- "siteId": "string",
- "desc": "string"
}
]
}
Required Permission: "LOGGED_IN"
site required | string The site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "roles": [
- "string"
]
}
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: "ANONYMOUS"
token required | string forgot password token to be validated |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "menuItems": [
- {
- "id": "string",
- "label": "string",
- "icon": "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"
]
}
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "clusterMembers": [
- {
- "id": 0,
- "localAddress": "string",
- "state": "string",
- "heartbeat": "2019-08-24T14:15:22Z",
- "gitUrl": "string",
- "gitRemoteName": "string",
- "gitAuthType": "string",
- "gitUsername": "string",
- "gitPassword": "string",
- "gitToken": "string",
- "gitPrivateKey": "string"
}
]
}
Required Permission: "DELETE_CLUSTER"
id required | integer <int64> The cluster member ID(s). Can be repeated for multiple deletes (id=1&id=2&id=3) |
{- "result": {
- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
}
{- "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"
}
}, - "build": {
- "id": "string",
- "date": "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"
}
}
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) |
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",
- "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 (id from database) - optional for super admin user, otherwise required |
siteName | string Site name - 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 espression 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. Posible values |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "auditLog": [
- {
- "id": 0,
- "organizationId": 0,
- "siteId": 0,
- "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"
}
]
}
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "auditLog": [
- {
- "id": 0,
- "organizationId": 0,
- "siteId": 0,
- "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 permissions: "list_cmis"
siteId required | string site ID |
cmisRepoId required | string CMIS repository ID as specified in Site Config CMIS Config (cmis-config.xml) |
path | string path to look under. Note this will be under the |
offset | integer <int32> start offset |
limit | integer <int32> number of records to retrieve |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "items": [
- {
- "itemId": "string",
- "itemName": "string",
- "mimeType": "string",
- "size": 0
}
]
}
Required permissions: "search_cmis"
siteId required | string site ID |
cmisRepoId required | string CMIS repository ID as specified in Site Config CMIS Config (cmis-config.xml) |
searchTerm required | string CMIS search term to use |
path | string path to look under. Note this will be under the |
offset | integer <int32> start offset |
limit | integer <int32> number of records to retrieve |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "items": [
- {
- "itemId": "string",
- "itemName": "string",
- "mimeType": "string",
- "size": 0
}
]
}
Required permissions: "clone_content_cmis"
cmis clone request body
siteId required | string site ID |
cmisRepoId required | string CMIS repository ID as specified in Site Config CMIS Config (cmis-config.xml) |
cmisPath required | string path to read the asset from CMIS repo (source) |
studioPath required | string path to save the asset in Studio (destination) |
{- "siteId": "string",
- "cmisRepoId": "string",
- "cmisPath": "string",
- "studioPath": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permissions: "upload_content_cmis"
cmis upload request body
siteId required | string site ID |
cmisRepoId required | string CMIS repository ID as specified in Site Config CMIS Config (cmis-config.xml) |
cmisPath | string path to upload the asset to CMIS repo (destination) |
file required | string <binary> |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": {
- "name": "string",
- "url": "string",
- "folder": true,
- "fileExtension": "string"
}
}
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 | string Authentication type to use to access remote repository Posible 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"
}
}
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 |
commit_message | string Commit message |
{- "siteId": "string",
- "commit_message": "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 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": {
- "childItems": [
- "string"
], - "dependentItems": [
- "string"
]
}
}
Required Permission: "delete_content"
siteId required | string Site ID |
paths required | Array of strings Content paths to be deleted |
submissionComment | string Submission comment |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "get_children" ("site member")
siteId required | string Site ID |
id required | string item id to get children for |
locale | string filter children by locale, or show source items (not translation) if translatation to specified locale does not exist |
sortStrategy | string sort strategy (sort order) Possible values:
|
order | string <ASC, DESC> order for srot 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 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "parent": {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "levelDescriptor": {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "children": [
- {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}
], - "total": 0,
- "offset": 0,
- "limit": 0
}
Required permission "get_children" ("site member")
siteId required | string Site ID |
path required | string item path to get children for |
locale | string filter children by locale, or show source items (not translation) if translatation to specified locale does not exist |
sortStrategy | string sort strategy (sort order) Possible values:
|
order | string <ASC, DESC> order for srot 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 |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "parent": {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "levelDescriptor": {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "children": [
- {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}
], - "total": 0,
- "offset": 0,
- "limit": 0
}
Required permission "get_detailed_item" "read_item" ("site member")
siteId required | string site ID |
id required | string item identifier |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "sandbox": {
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "staging": {
- "lastScheduledDate": "string",
- "lastPublishedDate": "string",
- "publisher": "string",
- "commitId": "string"
}, - "live": {
- "lastScheduledDate": "string",
- "lastPublishedDate": "string",
- "publisher": "string",
- "commitId": "string"
}
}
}
Required permission "get_detailed_item" "read_item" ("site member")
siteId required | string site ID |
path required | string item path |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": {
- "id": "string",
- "label": "string",
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string",
- "sandbox": {
- "creator": "string",
- "createdDate": "string",
- "modifier": "string",
- "lastModifiedDate": "string",
- "commitId": "string",
- "sizeInBytes": 0
}, - "staging": {
- "lastScheduledDate": "string",
- "lastPublishedDate": "string",
- "publisher": "string",
- "commitId": "string"
}, - "live": {
- "lastScheduledDate": "string",
- "lastPublishedDate": "string",
- "publisher": "string",
- "commitId": "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 "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"
}
]
}
}
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) |
{- "result": {
- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
}
Required permission "site member"
siteId required | string Site ID |
paths required | Array of strings Content paths to get dependencies for |
{- "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 |
{- "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"
}
}, - "build": {
- "id": "string",
- "date": "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: "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 type of items to list, defaults to all (possible values are 'image' and 'video') |
{- "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 "get_publishing_queue"
siteId required | string site ID |
environment | string filter by publishing environment |
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",
- "environment": "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",
- "environment": "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",
- "message": "string",
- "lockOwner": "string",
- "lockTTL": "string"
}
}
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"
publish all request body
siteId required | string site ID |
publishingTarget | string the publishing target (staging or live). If not specified, live is assumed |
{- "siteId": "string",
- "publishingTarget": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "encryption_tool"
text required | string |
{- "text": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "item": "string"
}
Required permission "get_dashboard" ("site member")
siteId required | string site ID |
sortBy | string order result by column List of columns:
|
order | string <ASC, DESC> order of sorted data (ASC or DESC) |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
filters.path | string filter items by path regular expression |
filters.modifier | string filter items by username that modified content |
filters.modifiedDateFrom | string <datetime> filter items by modified date setting lower boundary for date range |
filters.modifiedDateTo | string <datetime> filter items by modified date setting upper boundary for date range |
filters.contentType | string filter items by contentTypes |
filters.state | integer <int64> filter items by state (bitmap state values) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "items": [
- { }
]
}
Required permission "get_dashboard" ("site member")
siteId required | string site ID |
sortBy | string order result by column List of columns:
|
order | string <ASC, DESC> order of sorted data (ASC or DESC) |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
filters.path | string filter items by path regular expression |
filters.publisher | string filter items by username that published content |
filters.publishedDateFrom | string <datetime> filter items by published date setting lower boundary for date range |
filters.publishedDateTo | string <datetime> filter items by published date setting upper boundary for date range |
filters.environment | string filter items by environment where published |
filters.contentType | string filter items by contentTypes |
filters.state | integer <int64> filter items by state (bitmap state values) |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "items": [
- {
- "siteId": "string",
- "label": "string",
- "path": "string",
- "publisher": "string",
- "publishedDate": "string",
- "environment": "string"
}
]
}
Required permission "get_dashboard" ("site member")
siteId required | string site ID |
sortBy | string order result by column List of columns:
|
order | string <ASC, DESC> order of sorted data (ASC or DESC) |
offset | integer offset of the first result item, default 0 |
limit | integer number of results to return, default 10 |
filters.actor | string filter items by username |
filters.operations | Array of strings filter items by operations |
filters.operationTimestampFrom | string <datetime> filter items by operations timestamp setting lower boundary for date range |
filters.operationTimestampTo | string <datetime> filter items by operations timestamp setting upper boundary for date range |
filters.target | string filter items by target |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "total": 0,
- "offset": 0,
- "limit": 0,
- "items": [
- {
- "siteId": "string",
- "actor": "string",
- "operation": "string",
- "operationTimestamp": "string",
- "target": "string"
}
]
}
Required permission "get_items_for_translation"
siteId required | string site ID |
path | Array of strings filter results by path regexes |
locale | Array of strings filter results by locales |
markedForTranslation | boolean Include only items marked for translation and exclude everything else (default true) |
notTranslated | boolean Include only items that have not been translated yet (default true) |
translationOutOfDate | boolean Include items with translation out of date, otherwise exclude them (default true) |
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,
- "items": [
- {
- "id": "string",
- "label": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string"
}
]
}
Required permission "get_translation_item_detail"
siteId required | string site ID |
id required | Array of strings Id(s) of item(s) to retrieve |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "id": "string",
- "label": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string"
}
]
}
Required permission "get_translation_item_detail"
siteId required | string site ID |
path required | Array of strings Path(s) to item(s) to retrieve |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "id": "string",
- "label": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string"
}
]
}
Required permission "get_translation_target_locales"
siteId required | string site ID |
path required | string item path |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": [
- {
- "id": "string",
- "label": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": "string",
- "disabled": true,
- "localeCode": "string",
- "translationSourceId": "string"
}
]
}
Required permission "mark_for_translation"
Item and list of locales to translate to
siteId required | string site ID |
id | Array of strings id(s) of the item(s) |
locales required | Array of strings locale codes |
{- "siteId": "string",
- "id": [
- "string"
], - "locales": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required permission "mark_for_translation"
Item and list of locales to translate to
siteId required | string site ID |
path required | Array of strings path(s) of the item(s) |
locales required | Array of strings locale codes |
{- "siteId": "string",
- "path": [
- "string"
], - "locales": [
- "string"
]
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}