View Keyword Redirects
get
/gsadmin/v1/{appName}/redirects
Returns the keyword redirects configuration for the specified application. Returns metadata about the keyword redirects (e.g. who created it and when) along with the list of redirect groups.
If zip extension is specified (add ".zip" at the end of the path), the keyword redirects configuration 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
Keyword Redirects Configuration.
Root Schema : Redirects
Type:
object
Represents an application's Keyword Redirects configuration. Child Nodes represent Redirect Group configuration confirming to RedirectGroup JSON schema
Show Source
Examples
The following examples show how to export the entire keyword redirect configuration for the cloud application:
curl -H "Authorization:Bearer token" -X GET http://host:port/gsadmin/v1/cloud/redirects > /pathname/filename.txt (JSON format)
curl -H "Authorization:Bearer token" -X GET http://host:port/gsadmin/v1/cloud/redirects.zip -o /pathname/filename.zip (ZIP format)