Partial update Keyword Redirect Entry.

patch

/gsadmin/v1/{appName}/redirects/{redirectGroup}/{redirectEntry}

Partial update keyword redirect entry configuration in the specified redirect group.

Request

Supported Media Types
Path Parameters
Body ()
The request body represents the partially updated redirect entry.
Root Schema : RedirectEntry
Type: object
Represents a Redirect Entry configuration.
Show Source
Nested Schema : searchTermExpansions
Type: object
Specifies the possible different forms of the configured search terms. This property is used by assembler in rule evaluation process to match user specified search term against any of these forms.
Show Source
Nested Schema : siteIds
Type: array
Specifies the list of site IDs that this redirect entry belongs to
Show Source
Security
Back to Top

Response

Supported Media Types

202 Response

Keyword Redirect Entry successfully updated.
Body ()
Root Schema : Response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a redirect-entry object named id4 in the default redirect group using cURL:

curl -X PATCH -H "Authorization:Bearer access_token" -H "Content-Type:application/json" -d@pathname/filename.json http://host:port/gsadmin/v1/cloud/redirects/Default/id4

Request Body Example

The following example shows the modification to the configuration of the redirect-entry object named id4. The URL is changed from N-1z141wh to N-1z162xy:

{
  "ecr:type": "redirect-entry",
  "url": "/browse/Fujifilm/_/N-1z162xy"
}
Back to Top