A CMS resource represents the management of content for various communication channels
Parameters
Name
In
Type
Required
Description
org
path
string
true
Organization name as it is registered in Mas-Stack
body
body
ManagedFolderRequestDto
true
Managed Folder creation values
1
2
3
4
{
"folderPath" : "example_dir/" ,
"user" : "John_doe@example.com"
}
Name
Type
Required
Description
folderPath
string
true
Path of the managed folder
user
string
true
Email address of the user
Request example
1
2
3
4
5
6
7
8
9
10
curl -X POST https://communications.masstack.com/v2/orgs/yoigo/cms/managedFolders \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'folderPath': 'example_dir/',
'user': 'John_doe@example.com'
}"
Parameters
Name
In
Type
Required
Description
org
path
string
true
Organization name as it is registered in Mas-Stack
body
body
ResourceObjectRequestDto
true
CMS values
1
2
3
4
5
{
"user" : "John_doe@example.com" ,
"objectName" : "test-bucket.png" ,
"fileContent" : "UmVzZXQgeW91ciBwYXNzd29yZA=="
}
Name
Type
Required
Description
user
string
true
Email address of the user
objectName
string
true
Object name
fileContent
string
true
File path
Request example
1
2
3
4
5
6
7
8
9
10
11
curl -X POST https://communications.masstack.com/v2/orgs/yoigo/cms/object \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'user': 'John_doe@example.com',
'objectName': 'test-bucket.png',
'fileContent': 'UmVzZXQgeW91ciBwYXNzd29yZA=='
}"
Get Content Tree
keyboard_arrow_down
Retrieves the content tree for the CMS.
GET
/orgs/{org}/cms/contentTree
Parameters
Name
In
Type
Required
Description
org
path
string
true
Organization name as it is registered in Mas-Stack
Request example
1
2
3
4
5
curl -X GET https://communications.masstack.com/v2/orgs/yoigo/cms/contentTree \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}"