View content collection folders under 'content' root node.
get
/gsadmin/v1/{appName}/content
Returns a list of immediate content collection folders under 'content'.
If zip extension is specified (add ".zip" at the end of the path), '/content' is exported as a zip file.
Request
Supported Media Types
- application/json
Path Parameters
- appName
-
Type:
string
Required:true
Specifies the name of your application, for example, Discover.
Security
- basicAuth
-
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
List of content collection folders under '/content'.
Body
Represents a folder under which a user can create and manage rules. User can logically group rules under different folders.
Root Schema : ContentCollectionFolder
Type:
object
Represents a folder under which a user can create and manage rules. User can logically group rules under different folders.
- contentType
-
Type:
string
Specifies the type of rules that can be created in this 'content-collection-folder' - ecr:createDate
-
Type:
string
- ecr:lastModified
-
Type:
string
- ecr:lastModifiedBy
-
Type:
string
- ecr:type
-
Type:
string
Default Value:content-collection-folder
Examples
The following example shows how to view content collection folders under the content
root node:
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/content (JSON format)
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/content.zip (ZIP format)