{ "opencollection": "1.0.0", "info": { "name": "Sumo Logic accessKeyManagement folderManagement API", "version": "1.0.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "folderManagement", "type": "folder" }, "items": [ { "info": { "name": "Create A New Folder.", "type": "http" }, "http": { "method": "POST", "url": "https://api.au.sumologic.com/api/v2/content/folders", "headers": [ { "name": "isAdminMode", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new folder under the given parent folder. Set the header parameter `isAdminMode` to `\"true\"` to create a folder inside \"Admin Recommended\" folder." }, { "info": { "name": "Get A Folder.", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/:id", "headers": [ { "name": "isAdminMode", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifier of the folder to fetch." } ] }, "docs": "Get a folder with the given identifier. Set the header parameter `isAdminMode` to `\"true\"` if fetching a folder inside \"Admin Recommended\" folder." }, { "info": { "name": "Update A Folder.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.au.sumologic.com/api/v2/content/folders/:id", "headers": [ { "name": "isAdminMode", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifier of the folder to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing folder with the given identifier. Set the header parameter `isAdminMode` to `\"true\"` if updating a folder inside \"Admin Recommended\" folder." }, { "info": { "name": "Get Personal Folder.", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/personal" }, "docs": "Get the personal folder of the current user." }, { "info": { "name": "Schedule Global View Job", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/global", "headers": [ { "name": "isAdminMode", "value": "" } ] }, "docs": "Schedule an asynchronous job to get Global View. Global View contains all top-level content items that a user has permissions to view in the organization. User can traverse the top-level folders using [GetFolder API](#operation/getFolder) to get rest of the content items. Make sure you set `isAdminMode` header parameter to `true` when traversing top-level items.\n\n_Global View is not a real folder, therefore there is no folder identifier associated with it_.\n\n_You get back a identifier of asynchr" }, { "info": { "name": "Get Global View Job Status", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/global/:jobId/status", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The identifier of the asynchronous Global View job." } ] }, "docs": "Get the status of an asynchronous Global View job for the given job identifier. If job succeeds, use [Global View Result](#operation/getGlobalFolderAsyncResult) endpoint to fetch all content items that you have permissions to view." }, { "info": { "name": "Get Global View Job Result", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/global/:jobId/result", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The identifier of the asynchronous Global View job." } ] }, "docs": "Get result of a Global View job for the given job identifier. The result will be a list of all content items that a user has permissions to view in the organization." }, { "info": { "name": "Schedule Admin Recommended Folder Job", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/adminRecommended", "headers": [ { "name": "isAdminMode", "value": "" } ] }, "docs": "Schedule an asynchronous job to get the top-level Admin Recommended content items. You can read more about Admin Recommended folder [here](https://help.sumologic.com/Manage/Content_Sharing/Admin_Mode#move-important-content-to-admin-recommended).\n\n_You get back a identifier of asynchronous job in response to this endpoint. See [Asynchronous-Request](#section/Getting-Started/Asynchronous-Request) section for more details on how to work with asynchronous request._" }, { "info": { "name": "Get Admin Recommended Folder Job Status", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/adminRecommended/:jobId/status", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The identifier of the asynchronous Admin Recommended folder job." } ] }, "docs": "Get the status of an asynchronous Admin Recommended folder job for the given job identifier. If job succeeds, use [Admin Recommended Job Result](#operation/getAdminRecommendedFolderAsyncResult) endpoint to fetch top-level content items in Admin Recommended folder." }, { "info": { "name": "Get Admin Recommended Folder Job Result", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/adminRecommended/:jobId/result", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The identifier of the asynchronous Admin Recommended folder job." } ] }, "docs": "Get result of an Admin Recommended job for the given job identifier. The result will be \"Admin Recommended\" folder with a list of top-level Admin Recommended content items in `children` field." }, { "info": { "name": "Schedule Installed Apps Folder Job", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/installedApps", "headers": [ { "name": "isAdminMode", "value": "" } ] }, "docs": "Schedule an asynchronous job to get the top-level Installed Apps content items.\n\n_You get back a identifier of asynchronous job in response to this endpoint. See [Asynchronous-Request](#section/Getting-Started/Asynchronous-Request) section for more details on how to work with asynchronous request._" }, { "info": { "name": "Get Installed Apps Folder Job Status", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/installedApps/:jobId/status", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The identifier of the asynchronous Installed Apps folder job." } ] }, "docs": "Get the status of an asynchronous Installed Apps folder job for the given job identifier. If job succeeds, use [Installed Apps Job Result](#operation/getInstalledAppsFolderAsyncResult) endpoint to fetch top-level content items in Installed Apps folder." }, { "info": { "name": "Get Installed Apps Folder Job Result", "type": "http" }, "http": { "method": "GET", "url": "https://api.au.sumologic.com/api/v2/content/folders/installedApps/:jobId/result", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The identifier of the asynchronous Installed Apps folder job." } ] }, "docs": "Get result of an Installed Apps job for the given job identifier. The result will be \"Installed Apps\" folder with a list of top-level Installed Apps content items in `children` field." } ] } ], "bundled": true }