Redirects

Adds a redirect for the system to perform when users navigate to sourcePath.

post/api/redirects

Request

  • Base URL: https://www.bakersfieldcity.us
  • URL: https://www.bakersfieldcity.us/api/redirects
  • Auth: none declared

Query parameters

domainNamestring nullable

The domain the redirect should be limited to applying on. If null or not set the redirect will apply to any domain a user hits.

sourcePathstring nullable

The source path that should be matched for redirecting.

targetPathstring nullable

The target path that should be matched for redirecting.

Response

Messagestring nullable

The message to display to the client user about the outcome of the request

Statusstring nullable

Whether the request is a 'Success' or 'Failure'

StatusCodeinteger

Status Code of the response

Changes

No recorded changes to this operation across all 1 revision of this API.