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: string
Specifies the name of your application. For example, "cloud".
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
List of content collection folders under '/content'.
Root Schema : ContentCollectionFolder
Represents a folder under which a user can create and manage rules. User can logically group rules under different folders.
Match All
Show Source
Nested Schema : BaseECR
Type:
Show Source
object
-
ecr:createDate(optional):
string
Date this object was first created. Found in responses. Ignored in POST/PUT payloads.Example:
2018-01-01T13:41:03.858-04:00
-
ecr:lastModified(optional):
string
Date this object was last modified. Found in responses. Ignored in POST/PUT payloads.Example:
2018-01-01T13:41:03.858-04:00
-
ecr:lastModifiedBy(optional):
string
User who last modified this object. Found in responses. Ignored in POST/PUT payloads.Example:
admin
Nested Schema : ContentCollectionFolder-allOf[1]
Type:
Show Source
object
-
contentType(optional):
string
Specifies the type of rules that can be created in this 'content-collection-folder'
-
ecr:type(optional):
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)