/api/folders
curl -L \
--request POST \
--url '//api/folders' \
--header 'Content-Type: application/json'
{
"code": 1,
"message": "text",
"data": {
"orgId": "text",
"folderId": "text",
"parentFolderId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"subFolders": [
{
"orgId": "text",
"folderId": "text",
"parentFolderId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"subFolders": [
{
"orgId": "text",
"folderId": "text",
"parentFolderId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"subFolders": "[Circular Reference]",
"subApplications": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"role": "text",
"applicationType": 1,
"applicationStatus": "NORMAL",
"containerSize": {},
"folderId": "text",
"lastViewTime": 1,
"lastModifyTime": 1,
"publicToAll": true,
"folder": true
}
],
"createTime": 1,
"lastViewTime": 1,
"visible": true,
"manageable": true,
"folder": true
}
],
"subApplications": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"role": "text",
"applicationType": 1,
"applicationStatus": "NORMAL",
"containerSize": {},
"folderId": "text",
"lastViewTime": 1,
"lastModifyTime": 1,
"publicToAll": true,
"folder": true
}
],
"createTime": 1,
"lastViewTime": 1,
"visible": true,
"manageable": true,
"folder": true
}
],
"subApplications": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"role": "text",
"applicationType": 1,
"applicationStatus": "NORMAL",
"containerSize": {},
"folderId": "text",
"lastViewTime": 1,
"lastModifyTime": 1,
"publicToAll": true,
"folder": true
}
],
"createTime": 1,
"lastViewTime": 1,
"visible": true,
"manageable": true,
"folder": true
},
"success": true
}
OK
/api/folders
curl -L \
--request PUT \
--url '//api/folders' \
--header 'Content-Type: application/json'
{
"code": 1,
"message": "text",
"data": {
"orgId": "text",
"folderId": "text",
"parentFolderId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"subFolders": [
{
"orgId": "text",
"folderId": "text",
"parentFolderId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"subFolders": [
{
"orgId": "text",
"folderId": "text",
"parentFolderId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"subFolders": "[Circular Reference]",
"subApplications": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"role": "text",
"applicationType": 1,
"applicationStatus": "NORMAL",
"containerSize": {},
"folderId": "text",
"lastViewTime": 1,
"lastModifyTime": 1,
"publicToAll": true,
"folder": true
}
],
"createTime": 1,
"lastViewTime": 1,
"visible": true,
"manageable": true,
"folder": true
}
],
"subApplications": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"role": "text",
"applicationType": 1,
"applicationStatus": "NORMAL",
"containerSize": {},
"folderId": "text",
"lastViewTime": 1,
"lastModifyTime": 1,
"publicToAll": true,
"folder": true
}
],
"createTime": 1,
"lastViewTime": 1,
"visible": true,
"manageable": true,
"folder": true
}
],
"subApplications": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createAt": 1,
"createBy": "text",
"role": "text",
"applicationType": 1,
"applicationStatus": "NORMAL",
"containerSize": {},
"folderId": "text",
"lastViewTime": 1,
"lastModifyTime": 1,
"publicToAll": true,
"folder": true
}
],
"createTime": 1,
"lastViewTime": 1,
"visible": true,
"manageable": true,
"folder": true
},
"success": true
}
OK
/api/folders/{id}
curl -L \
--request DELETE \
--url '//api/folders/{id}'
{
"code": 1,
"message": "text",
"data": {},
"success": true
}
OK