View Keyword Redirect Group.
get
/gsadmin/v1/{appName}/redirects/{redirectGroup}
Returns the configuration of the specified keyword redirect group. Returns metadata about the keyword redirect group(e.g. who created it and when) along with the redirect entries inside it.
If zip extension is specified (add ".zip" at the end of the path), the keyword redirect group configuration 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.- redirectGroup
Type:string
Required:true
Specifies the redirect group name, for example, Default.
Security
- basicAuth
-
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
Keyword Redirect Group Configuration.
Body
Represents a Redirect Group configuration. Child Nodes represent Redirect Entry configuration confirming to RedirectEntry JSON schema
Root Schema : RedirectGroup
Type:
object
Represents a Redirect Group configuration. Child Nodes represent Redirect Entry configuration confirming to RedirectEntry JSON schema
- ecr:createDate
-
Type:
string
- ecr:lastModified
-
Type:
string
- ecr:lastModifiedBy
-
Type:
string
- ecr:type
-
Type:
string
Default Value:redirect-group
Examples
The following example shows how to export the configuration of the default redirect-group:
curl -H "Authorization:Bearer token" -X GET http://host:port/gsadmin/v1/cloud/redirects/Default > /pathname/filename.txt