InfoThis page is no longer maintained ( 29 Mar 2023 ). For the most current information, go to https://docs.snaplogic.com/public-apis/post-assetapi-project-path.html .
Redirectfilename location https://docs.snaplogic.com/public-apis/post-assetapi-project-path.html
POST /assetapi/project/{project_or_space_path}
...
PATCH /groups/{org}/{groupname}
PUT /groups/{org}/{groupname}
...
...
Prerequisites Org Admin permissions or Full Access permissions to the project or project space
Request Appsplus panel macro confluence macrodata {"features":["rounded"],"title":"","titleColor":"#FFFFFF","titleColorBG":"#0052CC","titleSize":16,"titleBold":false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}
POST https://{pod_path}/api/1/rest/public/assetapi/project/{project_or_space_path}
...
Key
Description
pod_path
Required. The path to your SnapLogic pod.
Example: elastic.snaplogic.com
project_or_space_path
Required. The path to the SnapLogic project or project space.
Format:
NoteThe path comparison is case-sensitive.
InfoThe names of assets, projects, or project spaces are limited to UTF-8 alphanumeric characters and these special characters: !"$%&'()*+,-.:;<=>@[]^_`{|}~
.
Query Parameters None.
Specify Basic
Auth for authorization and application/json
for content type .
Appsplus panel macro confluence macrodata {"features":["rounded"],"title":"","titleColor":"#FFFFFF","titleColorBG":"#0052CC","titleSize":16,"titleBold":false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}
Authorization: Basic {your_encoded_security_credentials}
Content-Type: application/json
Request Body Code Block{
"permissions":[
{
"perms": [ ... ],
"inherit": ...,
"subject_type": "...",
"subject": "..."
}
]
}
Key
Type
Description
perms
array
An array containing one or more of the following permissions:
"R"
– read
"W"
– write
"X"
– execute
Learn more: Permissions in Manager and in APIs
inherit
Boolean
If true
, the permissions also apply to all assets under in the specified project or project space.
subject_type
string
The type of the subject
.
Valid values:
subject
string
The user or group who can access the new project or project space.
Response Key
Description
X-SL-StatusCode
Status code indicating the results of the request Learn more: HTTP Status Code Registry