GET /v2/content/path
Get a content item corresponding to the given path.
Path is specified in the required query parameter path
. The path should be URL encoded. For example, to get "Acme Corp" folder of a user "user@sumo.com" you can use the following curl command:
curl https://api.sumologic.com/api/v2/content/path?path=/Library/Users/user%40sumo.com/Acme%20Corp
The absolute path to a content item should be specified to get the item. The content library has "Library" folder at the root level. For items in "Personal" folder, the base path is "/Library/Users/user@sumo.com" where "user@sumo.com" is the email address of the user. For example if a user with email address wile@acme.com
has Rockets
folder inside Personal folder, the path of Rockets folder will be /Library/Users/wile@acme.com/Rockets
.
For items in "Admin Recommended" folder, the base path is "/Library/Admin Recommended". For example, given a folder Acme
in Admin Recommended folder, the path will be /Library/Admin Recommended/Acme
.
Servers
- https://api.au.sumologic.com/api/
- https://api.ca.sumologic.com/api/
- https://api.de.sumologic.com/api/
- https://api.eu.sumologic.com/api/
- https://api.fed.sumologic.com/api/
- https://api.jp.sumologic.com/api/
- https://api.kr.sumologic.com/api/
- https://api.in.sumologic.com/api/
- https://api.sumologic.com/api/
- https://api.us2.sumologic.com/api/
Query parameters
Name | Type | Required | Description |
---|---|---|---|
path |
String | Yes |
Path of the content item to retrieve. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.