Download OpenAPI specification:Download
Crafter Studio API
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",
- "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",
- "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",
- "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",
- "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",
- "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",
- "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",
- "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",
- "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",
- "state": "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 reset password for user
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",
- "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",
- "state": "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",
- "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: "read_cluster"
token required | string Management token - not required for authenticated users |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "mode": "PRIMARY"
}
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"
}
}
Required Permission: "delete_site"
siteId required | string The site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Permission: "edit_site"
siteId required | string |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "result": {
- "actions": [
- {
- "type": "string",
- "target": "string",
- "allowed": true,
- "modifiedValue": "string",
- "message": "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",
- "message": "string"
}
]
}
}
siteId required | string |
Duplicate site request information
siteName | string The name of the new site |
siteId | string The ID of the new site |
description | string The description of the new site |
sandboxBranch | string The sandbox branch to be used in the new site sandbox repository |
readOnlyBlobStores | boolean Default: false If true, the blob stores will be read-only in the copied site. |
{- "siteName": "string",
- "siteId": "string",
- "description": "string",
- "sandboxBranch": "string",
- "readOnlyBlobStores": false
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}
}
Required Role: "Admin"
Project/site details
site_id required | string Project/Site ID to use |
name required | string Label to use for the project/site |
sandbox_branch | string Name for sandbox branch (default: master) |
description | string Project/Site description |
blueprint | string Blueprint to use for bootstrapping the project/site Required if |
use_remote | boolean Use remote repository option if true, otherwise false |
remote_name | string Remote repository name (default: origin) |
remote_url | string Remote repository URL Required if |
remote_branch | string Branch to clone repo from |
single_branch | string Clone single branch if true, otherwise clone all |
authentication_type | string Authentication type to use to access remote repository
Required if |
remote_username | string Username to access remote repository Required if |
remote_password | string Password to access remote repository Required if |
remote_token | string Token to use to access remote repository Required if |
remote_private_key | string Private key to access remote repository |
create_option | string Create options for remote repository: |
site_params | object Object containing all parameters for the blueprint. It should include all required parameters from the descriptor |
create_as_orphan | boolean Create the project/site from a remote repository as orphan (no git history) - default is false |
{- "site_id": "my-editorial",
- "name": "string",
- "sandbox_branch": "string",
- "description": "My very first site!",
- "blueprint": "org.craftercms.blueprint.empty",
- "use_remote": false,
- "remote_name": "string",
- "remote_url": "string",
- "remote_branch": "string",
- "single_branch": "string",
- "authentication_type": "string",
- "remote_username": "string",
- "remote_password": "string",
- "remote_token": "string",
- "remote_private_key": "string",
- "create_option": "string",
- "site_params": { },
- "create_as_orphan": true
}
{- "message": "OK"
}
Required Role: "Admin"
Project/site to delete
site_id | string Project/Site ID to use |
{- "site_id": "my-editorial"
}
true
No required role
site_id required | string Project/Site ID to use |
locale required | string Example: locale=en Locale of message |
type required | string Example: type=Typos Message type |
{- "exists": "This content has multiple spelling errors and/or grammatical errors. Please correct and re-submit."
}
No required role
site_id required | string Project/Site ID to use |
{- "id": 8,
- "siteUuid": "8d71254a-ceb3-409a-bb59-610505764a77",
- "siteId": "third",
- "name": "third",
- "description": "null",
- "deleted": 0,
- "liveUrl": "null",
- "lastCommitId": "5cb6fe1a1f2fa5aa38d372c757c8db8f0f17ecb3",
- "publishingEnabled": 1,
- "publishingStatus": "ready",
- "lastVerifiedGitlogCommitId": "5cb6fe1a1f2fa5aa38d372c757c8db8f0f17ecb3",
- "sandboxBranch": "master",
- "publishedRepoCreated": 0,
- "state": "READY",
- "lastSyncedGitlogCommitId": "5cb6fe1a1f2fa5aa38d372c757c8db8f0f17ecb3",
- "siteDeleted": false,
- "sitePublishedRepoCreated": false
}
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",
- "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",
- "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 role: Admin, site member
This needs to be done if the underlying repository was updated directly, bypassing Studio’s APIs/UI.
Synchronize from repository request body
site_id required | string Site ID |
{- "site_id": "string"
}
{- "message": "OK"
}
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 "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 role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/index.xml Path of the content |
contentType required | string Example: contentType=/page/generic Content type to change to |
{- "message": "OK"
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/ Path of the content |
name required | string Example: name=newFolder Name of the new folder |
{- "message": true
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/ Path of the content |
name required | string Example: name=newFolder New name of the folder |
{- "result": "true"
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/health/index.xml Path of the content |
edit required | boolean Example: edit=true True to make content locked |
{- "content": "<page>\n\t<content-type>/page/category-landing</content-type>\n\t<display-template>/templates/web/pages/category-landing.ftl</display-template>\n\t<no-template-required/>\n\t<merge-strategy>inherit-levels</merge-strategy>\n\t<objectGroupId>0557</objectGroupId>\n\t<objectId>05573d7a-3556-1ad0-6e34-9b085944fee2</objectId>\n\t<file-name>index.xml</file-name>\n\t<folder-name>health</folder-name>\n\t<placeInNav>true</placeInNav>\n\t<orderDefault_f>9000</orderDefault_f>\n\t<internal-name>Health</internal-name>\n\t<title_t>Health</title_t>\n\t<createdDate>2017-03-14T15:21:57.000Z</createdDate>\n\t<createdDate_dt>2017-03-14T15:21:57.000Z</createdDate_dt>\n\t<lastModifiedDate>2020-10-07T12:08:00.200Z</lastModifiedDate>\n\t<lastModifiedDate_dt>2020-10-07T12:08:00.200Z</lastModifiedDate_dt>\n\t<category_s>health</category_s>\n\t<max_articles_i>10</max_articles_i>\n\t<articles_title_t>Health</articles_title_t>\n\t<disabled>false</disabled>\n\t<header_o item-list=\"true\"/>\n\t<left_rail_o item-list=\"true\"/>\n</page>\n"
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/health/index.xml Path of the content |
{- "contentStream": {
- "type": 3,
- "size": 1699
}, - "contentPath": "/site/website/health/index.xml"
}
Required role: N/A
site_id required | string Project/Site ID to use |
type required | string Example: type=/page/category-landing Content type |
{- "name": "/page/category-landing",
- "label": "Category Landing",
- "form": "/page/category-landing",
- "formPath": "simple",
- "type": "page",
- "contentAsFolder": true,
- "useRoundedFolder": false,
- "modelInstancePath": "NOT-USED-BY-SIMPLE-FORM-ENGINE",
- "allowedRoles": [ ],
- "lastUpdated": "2023-11-10T18:00:05.882948Z",
- "copyDependencyPattern": [ ],
- "imageThumbnail": "page-category-landing.png",
- "noThumbnail": false,
- "pathIncludes": [
- "^/site/website/(?!articles/)(.*)"
], - "pathExcludes": [ ],
- "nodeRef": "null",
- "quickCreate": false,
- "quickCreatePath": "",
- "deleteDependencyPattern": [ ],
- "previewable": true
}
Required role: N/A
site required | string Project/Site ID to use |
path required | string Example: path=/site/website/ Path to get content types for |
[- {
- "name": "string",
- "label": "string",
- "form": "string",
- "formPath": "string",
- "type": "string",
- "contentAsFolder": true,
- "useRoundedFolder": true,
- "modelInstancePath": "string",
- "allowedRoles": [
- "string"
], - "lastUpdated": "string",
- "copyDependencyPattern": [
- "string"
], - "imageThumbnail": "string",
- "noThumbnail": true,
- "pathIncludes": [
- "string"
], - "pathExcludes": [
- "string"
], - "nodeRef": "string",
- "quickCreate": true,
- "quickCreatePath": "string",
- "deleteDependencyPattern": [
- "string"
], - "previewable": true
}
]
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/index.xml Path of the content |
{- "name": "string",
- "internalName": "string",
- "contentType": "string",
- "uri": "string",
- "path": "string",
- "browserUri": "string",
- "navigation": true,
- "floating": true,
- "hideInAuthoring": true,
- "previewable": true,
- "lockOwner": "string",
- "user": "string",
- "userFirstName": "string",
- "userLastName": "string",
- "nodeRef": "string",
- "metaDescription": "string",
- "site": "string",
- "page": true,
- "component": true,
- "document": true,
- "asset": true,
- "isContainer": true,
- "container": true,
- "disabled": true,
- "savedAsDraft": true,
- "submitted": true,
- "submittedForDeletion": true,
- "scheduled": true,
- "published": true,
- "deleted": true,
- "inProgress": true,
- "live": true,
- "inFlight": true,
- "isDisabled": true,
- "isSavedAsDraft": true,
- "isInProgress": true,
- "isLive": true,
- "isSubmittedForDeletion": true,
- "isScheduled": true,
- "isPublished": true,
- "isNavigation": true,
- "isDeleted": true,
- "isNew": true,
- "isSubmitted": true,
- "isFloating": true,
- "isPage": true,
- "isPreviewable": true,
- "isComponent": true,
- "isDocument": true,
- "isAsset": true,
- "isInFlight": true,
- "eventDate": "string",
- "endpoint": "string",
- "timezone": "string",
- "numOfChildren": 0,
- "scheduledDate": "string",
- "publishedDate": "string",
- "mandatoryParent": "string",
- "isLevelDescriptor": true,
- "categoryRoot": "string",
- "lastEditDate": "string",
- "form": "string",
- "formPagePath": "string",
- "renderingTemplates": [
- "string"
], - "folder": true,
- "submissionComment": "string",
- "components": "string",
- "documents": "string",
- "levelDescriptors": "string",
- "pages": "string",
- "parentPath": "string",
- "orders": [
- {
- "name": "string",
- "id": "string",
- "disabled": "string",
- "order": "string",
- "placeInNav": "string"
}
], - "children": [
- { }
], - "size": 0,
- "sizeUnit": "string",
- "mimeType": "string",
- "levelDescriptor": true,
- "newFile": true,
- "reference": true,
- "new": true
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/style/index.xml Path of the content |
{- "item": {
- "name": "string",
- "internalName": "string",
- "contentType": "string",
- "uri": "string",
- "path": "string",
- "browserUri": "string",
- "navigation": true,
- "floating": true,
- "hideInAuthoring": true,
- "previewable": true,
- "lockOwner": "string",
- "user": "string",
- "userFirstName": "string",
- "userLastName": "string",
- "nodeRef": "string",
- "metaDescription": "string",
- "site": "string",
- "page": true,
- "component": true,
- "document": true,
- "asset": true,
- "isContainer": true,
- "container": true,
- "disabled": true,
- "savedAsDraft": true,
- "submitted": true,
- "submittedForDeletion": true,
- "scheduled": true,
- "published": true,
- "deleted": true,
- "inProgress": true,
- "live": true,
- "inFlight": true,
- "isDisabled": true,
- "isSavedAsDraft": true,
- "isInProgress": true,
- "isLive": true,
- "isSubmittedForDeletion": true,
- "isScheduled": true,
- "isPublished": true,
- "isNavigation": true,
- "isDeleted": true,
- "isNew": true,
- "isSubmitted": true,
- "isFloating": true,
- "isPage": true,
- "isPreviewable": true,
- "isComponent": true,
- "isDocument": true,
- "isAsset": true,
- "isInFlight": true,
- "eventDate": "string",
- "endpoint": "string",
- "timezone": "string",
- "numOfChildren": 0,
- "scheduledDate": "string",
- "publishedDate": "string",
- "mandatoryParent": "string",
- "isLevelDescriptor": true,
- "categoryRoot": "string",
- "lastEditDate": "string",
- "form": "string",
- "formPagePath": "string",
- "renderingTemplates": [
- "string"
], - "folder": true,
- "submissionComment": "string",
- "components": "string",
- "documents": "string",
- "levelDescriptors": "string",
- "pages": "string",
- "parentPath": "string",
- "orders": [
- {
- "name": "string",
- "id": "string",
- "disabled": "string",
- "order": "string",
- "placeInNav": "string"
}
], - "children": [
- { }
], - "size": 0,
- "sizeUnit": "string",
- "mimeType": "string",
- "levelDescriptor": true,
- "newFile": true,
- "reference": true,
- "new": true
}, - "versions": [
- {
- "name": "string",
- "id": "string",
- "disabled": "string",
- "order": "string",
- "placeInNav": "string"
}
]
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/index.xml Path of the content |
[- {
- "lastModifiedDate": "string",
- "lastModifier": "string",
- "versionNumber": "string",
- "contentItem": "string",
- "comment": "string"
}
]
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/index.xml Path of the content |
depth required | integer Example: depth=1 Depth of the tree to display |
{- "name": "string",
- "internalName": "string",
- "contentType": "string",
- "uri": "string",
- "path": "string",
- "browserUri": "string",
- "navigation": true,
- "floating": true,
- "hideInAuthoring": true,
- "previewable": true,
- "lockOwner": "string",
- "user": "string",
- "userFirstName": "string",
- "userLastName": "string",
- "nodeRef": "string",
- "metaDescription": "string",
- "site": "string",
- "page": true,
- "component": true,
- "document": true,
- "asset": true,
- "isContainer": true,
- "container": true,
- "disabled": true,
- "savedAsDraft": true,
- "submitted": true,
- "submittedForDeletion": true,
- "scheduled": true,
- "published": true,
- "deleted": true,
- "inProgress": true,
- "live": true,
- "inFlight": true,
- "isDisabled": true,
- "isSavedAsDraft": true,
- "isInProgress": true,
- "isLive": true,
- "isSubmittedForDeletion": true,
- "isScheduled": true,
- "isPublished": true,
- "isNavigation": true,
- "isDeleted": true,
- "isNew": true,
- "isSubmitted": true,
- "isFloating": true,
- "isPage": true,
- "isPreviewable": true,
- "isComponent": true,
- "isDocument": true,
- "isAsset": true,
- "isInFlight": true,
- "eventDate": "string",
- "endpoint": "string",
- "timezone": "string",
- "numOfChildren": 0,
- "scheduledDate": "string",
- "publishedDate": "string",
- "mandatoryParent": "string",
- "isLevelDescriptor": true,
- "categoryRoot": "string",
- "lastEditDate": "string",
- "form": "string",
- "formPagePath": "string",
- "renderingTemplates": [
- "string"
], - "folder": true,
- "submissionComment": "string",
- "components": "string",
- "documents": "string",
- "levelDescriptors": "string",
- "pages": "string",
- "parentPath": "string",
- "orders": [
- {
- "name": "string",
- "id": "string",
- "disabled": "string",
- "order": "string",
- "placeInNav": "string"
}
], - "children": [
- { }
], - "size": 0,
- "sizeUnit": "string",
- "mimeType": "string",
- "levelDescriptor": true,
- "newFile": true,
- "reference": true,
- "new": true
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/index.xml Path of the content |
depth required | integer Example: depth=1 Depth of the tree to display |
order required | string Example: order=default Order of content items. |
[- {
- "name": "string",
- "internalName": "string",
- "contentType": "string",
- "uri": "string",
- "path": "string",
- "browserUri": "string",
- "navigation": true,
- "floating": true,
- "hideInAuthoring": true,
- "previewable": true,
- "lockOwner": "string",
- "user": "string",
- "userFirstName": "string",
- "userLastName": "string",
- "nodeRef": "string",
- "metaDescription": "string",
- "site": "string",
- "page": true,
- "component": true,
- "document": true,
- "asset": true,
- "isContainer": true,
- "container": true,
- "disabled": true,
- "savedAsDraft": true,
- "submitted": true,
- "submittedForDeletion": true,
- "scheduled": true,
- "published": true,
- "deleted": true,
- "inProgress": true,
- "live": true,
- "inFlight": true,
- "isDisabled": true,
- "isSavedAsDraft": true,
- "isInProgress": true,
- "isLive": true,
- "isSubmittedForDeletion": true,
- "isScheduled": true,
- "isPublished": true,
- "isNavigation": true,
- "isDeleted": true,
- "isNew": true,
- "isSubmitted": true,
- "isFloating": true,
- "isPage": true,
- "isPreviewable": true,
- "isComponent": true,
- "isDocument": true,
- "isAsset": true,
- "isInFlight": true,
- "eventDate": "string",
- "endpoint": "string",
- "timezone": "string",
- "numOfChildren": 0,
- "scheduledDate": "string",
- "publishedDate": "string",
- "mandatoryParent": "string",
- "isLevelDescriptor": true,
- "categoryRoot": "string",
- "lastEditDate": "string",
- "form": "string",
- "formPagePath": "string",
- "renderingTemplates": [
- "string"
], - "folder": true,
- "submissionComment": "string",
- "components": "string",
- "documents": "string",
- "levelDescriptors": "string",
- "pages": "string",
- "parentPath": "string",
- "orders": [
- {
- "name": "string",
- "id": "string",
- "disabled": "string",
- "order": "string",
- "placeInNav": "string"
}
], - "children": [
- { }
], - "size": 0,
- "sizeUnit": "string",
- "mimeType": "string",
- "levelDescriptor": true,
- "newFile": true,
- "reference": true,
- "new": true
}
]
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website/health/index.xml Path of the content |
before required | string Example: before=1 Item before the item with given path |
after required | string Example: after=default Item after the item with given path |
10500
Required role: N/A
site required | string Project/Site ID to use |
path required | string Example: path=/site/website/style/index.xml Path of the content |
version required | string Example: version=818e0f68bfccda9a9a1a788341b87ca3ba5ad3c6 Version to revert to |
true
Required role: Author
Options:
WriteContentWebForm: Save content using Create/Edit web form.
WriteContentAssetForm: Save content using asset form (templates, javascript, css, groovy).
WriteContentFileUpload: File upload (multipart request)
required | WriteContentWebForm (object) or WriteContentAssetForm (object) or WriteContentFileUpload (object) |
Write content request body
Use "multipart/form-data" when uploading a file (WriteContentFileUpload)
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (C) 2007-2024 Crafter Software Corporation. All Rights Reserved. ~ ~ This program is free software: you can redistribute it and/or modify ~ it under the terms of the GNU General Public License version 3 as published by ~ the Free Software Foundation. ~ ~ This program is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ~ GNU General Public License for more details. ~ ~ You should have received a copy of the GNU General Public License ~ along with this program. If not, see <http://www.gnu.org/licenses/>. --><page> <content-type>/page/article</content-type> <display-template>/templates/web/pages/article.ftl</display-template> <merge-strategy>inherit-levels</merge-strategy> <objectGroupId>f1f9</objectGroupId> <objectId>f1f9c488-67e1-7ec0-d3ca-560b194e64d1</objectId> <sections_o> <item> <section_html><![CDATA[<p>Nulla sed enim ipsum. Sed ac neque a ligula malesuada volutpat. Donec et ligula rutrum, mattis mauris eget, vestibulum metus. Maecenas non vehicula neque. Nunc ac mauris id ipsum commodo tempus. Integer at dolor consequat, dignissim eros in, imperdiet dui. Aliquam condimentum turpis eget tellus ultrices tincidunt. Pellentesque id varius purus, ac tristique augue. Etiam ut pharetra purus. Vestibulum quis vehicula eros. Mauris laoreet purus nec felis ullamcorper convallis. test</p> <p>Quisque urna purus, posuere nec urna sed, ornare aliquet mauris. In faucibus vitae tellus id iaculis. Donec porttitor, elit eu elementum pulvinar, sapien ex cursus lacus, non ornare ex lectus ut elit. Donec eros ligula, suscipit eu tellus ut, tristique hendrerit tortor. Fusce sollicitudin mollis risus, ut rhoncus magna volutpat vel. Cras auctor, elit id pellentesque semper, neque nibh fermentum ante, sit amet malesuada felis magna nec enim. Vivamus sollicitudin placerat felis, vel blandit dolor sollicitudin a. Nunc vitae volutpat augue. Nunc tristique placerat tortor condimentum sagittis. Sed eu egestas ex, quis auctor neque. Nam eget tellus suscipit, vestibulum augue nec, consequat erat. Mauris malesuada nec ligula non posuere. Proin vitae posuere tortor. Phasellus vulputate quam ut dictum vulputate.</p> <p>Integer ac lectus metus. Ut aliquam ipsum ligula, quis molestie ex pretium sit amet. Morbi porttitor neque vel luctus laoreet. Mauris varius lacus a eros aliquam, in maximus nibh aliquam. Integer sodales consequat metus eget accumsan. Integer viverra mi erat, in hendrerit massa vestibulum placerat. Sed ut gravida nisl, ut cursus neque. Vestibulum tristique rutrum augue vel aliquet.</p> <p>Ut quis faucibus diam. Aliquam dolor metus, laoreet vitae lacinia a, aliquam a tellus. Vivamus sed commodo ipsum, in lacinia nisl. Sed metus diam, porta eget tortor et, vehicula hendrerit sapien. Vestibulum vehicula urna felis, id elementum libero pellentesque id. Vivamus in massa velit. Suspendisse vitae turpis fermentum lectus pellentesque laoreet. Curabitur viverra pretium turpis, eget feugiat mi blandit a. Quisque nisl urna, porta ut urna eget, mattis fringilla nisi. Ut lacus ligula, dapibus ac fermentum ac, rhoncus eget metus. Donec scelerisque, felis vitae viverra iaculis, diam sem gravida tellus, non sodales urna urna sit amet enim. Duis id justo vitae justo suscipit porta placerat vel ligula. Morbi justo nunc, rhoncus laoreet ipsum a, aliquet eleifend dui. In a quam tortor.</p> <p>Pellentesque eget eros ut dui tincidunt convallis. Pellentesque tincidunt rutrum tellus, non rhoncus dui finibus eu. Integer eu sem maximus, blandit neque eu, congue leo. Ut pretium efficitur turpis, id dapibus turpis bibendum vel. Suspendisse a nibh dictum, imperdiet est et, interdum odio. Morbi urna magna, eleifend vitae luctus ac, scelerisque sit amet nisi. Quisque maximus placerat ante et fermentum. Nulla eu aliquet arcu, vel maximus massa. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam posuere arcu ex, in sagittis orci rhoncus eu. Suspendisse potenti. Curabitur facilisis sapien et ligula tristique lacinia. Aliquam a mauris bibendum, placerat augue sit amet, hendrerit arcu. Nam in bibendum sapien. Pellentesque laoreet nisi vel metus dapibus dictum. Integer semper, velit laoreet ornare maximus, nulla orci maximus ante, a tincidunt eros risus blandit eros.</p>]]></section_html> </item> </sections_o> <file-name>index.xml</file-name> <folder-name>men-styles-for-winter</folder-name> <internal-name>Men Styles For Winter</internal-name> <title_t>Men Styles For Winter</title_t> <subject_t>Men Styles For Winter</subject_t> <author_s>John Doe</author_s> <categories_o> <item> <key>style</key> <value_smv>Style</value_smv> </item> </categories_o> <segments_o> <item> <key>guy</key> <value_smv>Guy</value_smv> </item> </segments_o> <date_dt>2021-01-05T05:00:00.000Z</date_dt> <createdDate>2017-03-3T20:57:7.000Z</createdDate> <createdDate_dt>2017-03-3T20:57:7.000Z</createdDate_dt> <lastModifiedDate>2017-03-13T20:33:5.000Z</lastModifiedDate> <lastModifiedDate_dt>2023-11-20T13:25:05.289Z</lastModifiedDate_dt> <featured_b>true</featured_b> <summary_t>Nulla sed enim ipsum. Sed ac neque a ligula malesuada volutpat. Donec et ligula rutrum, mattis mauris eget, vestibulum metus. Maecenas non vehicula neque. Nunc ac mauris id ipsum commodo tempus. Integer at dolor consequat, dignissim eros in, imperdiet dui.</summary_t> <image_s>/static-assets/images/winter-man-pic.jpg</image_s> </page>
{- "result": null
}
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 "content_read"
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".
This operation is deprecated, use /content/{siteId}/children instead.
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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
], - "total": 0,
- "offset": 0,
- "limit": 0
}
Required permission "get_children" and "site member"
siteId required | string Site ID |
required | Array of objects (ChildrenByPathRequest) item paths to get children for |
{- "paths": [
- {
- "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"
}, - "items": [
- {
- "path": "string",
- "item": {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}, - "levelDescriptor": {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "string",
- "sizeInBytes": 0,
- "expiresOn": "string",
- "availableActions": 0,
- "childrenCount": 0
}
], - "total": 0,
- "offset": 0,
- "limit": 0
}
], - "missingItems": [
- "string"
]
}
Required permission "content_read"
siteId required | string site ID |
path required | string item path |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "exists": true
}
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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "expiresOn": "string",
- "availableActions": 0,
- "sandbox": {
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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 "content_read"
siteId required | string site ID |
path required | string path of the content |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "history": [
- {
- "versionNumber": "string",
- "path": "string",
- "oldPath": "string",
- "committer": "string",
- "author": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "comment": "string",
- "revertible": true,
- "modifiedDate": "2019-08-24T14:15:22Z"
}
]
}
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",
- "path": "string",
- "oldPath": "string",
- "committer": "string",
- "author": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "comment": "string",
- "revertible": true,
- "modifiedDate": "2019-08-24T14:15:22Z"
}
]
}
}
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 role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/templates/web/pages/home.ftl Path of the content |
{- "message": "OK"
}
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 role: Admin, Site Admin or the permission 'publish_by_commits'
Publish commits from sandbox repository request body
site_id required | string Project/Site to use |
environment required | string Environment to deploy content |
commit_ids required | Array of strings List of commit ids to publish |
comment | string Submission comment |
{- "site_id": "my-editorial",
- "environment": "live",
- "commit_ids": [
- "c89ee1cb2be4b41b0966d20c12d53b68ca70d74a",
- "0664df1ad04a9627dccb55a51ebf3704e313e40b",
- "93ae0e5e8d084fa9b7723cf3cf7ce526f47af0a9"
], - "comment": "My submission comment"
}
{- "message": "OK"
}
Required role: Admin, Site Admin
Start project/site publishing request body
site_id | string Project/Site ID to use |
{- "site_id": "string"
}
{- "message": "OK"
}
Required role: Admin, Site Admin
Stop project/site publishing request body
site_id | string Project/Site ID to use |
{- "site_id": "string"
}
{- "message": "OK"
}
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". This operation is deprecated, use /api/2/dashboard/publishing/history instead.
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 "LOGGED_IN"
{- "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 |
sort | string The fields to use for sorting, plus the |
itemType | string The system types to filter the results by. Multiple types are separated by commas. Example: |
{- "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "expiresOn": "string",
- "availableActions": 0,
- "sandbox": {
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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 |
sort | string The fields to use for sorting, plus the |
itemType | string The system types to filter the results by. Multiple types are separated by commas. Example: |
{- "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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 | 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 |
sort | string The fields to use for sorting, plus the |
itemType | string The system types to filter the results by. Multiple types are separated by commas. Example: |
{- "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "expiresOn": "string",
- "availableActions": 0,
- "sandbox": {
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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 "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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 | 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,
- "publishingPackages": [
- {
- "id": "string",
- "label": "string",
- "comment": "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 |
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,
- "publishingPackageItems": [
- {
- "id": 0,
- "label": "string",
- "parentId": 0,
- "contentTypeId": "string",
- "path": "string",
- "previewUrl": "string",
- "systemType": "string",
- "mimeType": "string",
- "state": 0,
- "lockOwner": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "localeCode": "string",
- "translationSourceId": "string",
- "creator": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateCreated": "string",
- "modifier": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateModified": "string",
- "submitter": {
- "id": 0,
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string"
}, - "dateSubmitted": "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"
}
}
Required role: N/A
site_id required | string Project/Site ID to use |
path required | string Example: path=/site/website Path of the content |
environment required | string Example: environment=Live Environment to deploy content |
comment | string Submission comment |
{- "message": "OK"
}
Required permission "read_configuration".
In a future release this request will accept a set of arguments which could surpass the max length of the GET request, consequently, this endpoint answers to a POST method..
siteId required | string Site ID |
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "types": [
- "<form><title>Home</title>...",
- "<form><title>Article</title>..."
]
}
Required permission "content_read"
siteId required | string Site ID |
path required | string Content path to get dependencies for |
{- "siteId": "string",
- "path": "string"
}
{- "response": {
- "code": 0,
- "message": "string",
- "remedialAction": "string",
- "documentationUrl": "string"
}, - "items": {
- "items": [
- {
- "id": 0,
- "label": "string",
- "path": "string"
}
]
}
}