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
Type: string
Required: true
Specifies the name of your application, for example, Discover.
contentCollectionFolder
Type: string
Required: true
Specifies the name of content collection folder.
Security
basicAuth
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.
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.

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)