folders
Overview
Name | folders |
Type | Resource |
Id | sumologic.content.folders |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the content item. |
name | string | The name of the content item. |
description | string | The description of the folder. |
children | array | A list of the content items. |
createdAt | string | Creation timestamp in UTC in RFC3339 format. |
createdBy | string | Identifier of the user who created the resource. |
itemType | string | Type of the content item. Supported values are: 1. Folder 2. Search 3. Report (for old dashboards) 4. Dashboard (for new dashboards) 5. Lookups |
modifiedAt | string | Last modification timestamp in UTC. |
modifiedBy | string | Identifier of the user who last modified the resource. |
parentId | string | Identifier of the parent content item. |
permissions | array | List of permissions the user has on the content item. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getFolder | SELECT | id, region | Get a folder with the given identifier. Set the header parameter isAdminMode to "true" if fetching a folder inside "Admin Recommended" folder. |
createFolder | INSERT | data__name, data__parentId, region | Creates a new folder under the given parent folder. Set the header parameter isAdminMode to "true" to create a folder inside "Admin Recommended" folder. |
updateFolder | EXEC | id, data__name, region | Update an existing folder with the given identifier. Set the header parameter isAdminMode to "true" if updating a folder inside "Admin Recommended" folder. |