View rules and content collection folders under specified content collection folder.
get
/gsadmin/v1/{appName}/content/{contentCollectionFolder}
Returns a list of rules and content collection folders under specified content collection folder.
If zip extension is specified (add ".zip" at the end of the path), content within that folder 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".
-
contentCollectionFolder: string
Specifies the name of content collection folder.
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
List of rules and content collection folders under specified content collection folder.
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 a list of rules and content collection folders under the content collection folder namedadditionalContent
:
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/content/additionalContent (JSON format)
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/content/additionalContent.zip (ZIP format)