Redirects

get
/redirects/

This method returns details about a specific redirect URLs, including its ID, the old URL path, the new redirected path, and the associated site ID.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
idintegerOptional

Query parameter id used to filter results based on specific conditions.

id__gtintegerOptional

Filters records where id is greater than the given value.

id__gteintegerOptional

Filters records where id is greater than or equal to the given value.

id__ltintegerOptional

Filters records where id is less than the given value.

id__lteintegerOptional

Filters records where id is less than or equal to the given value.

limitintegerOptional

Limits the number of results returned in the response.

new_pathstringOptional

Query parameter new_path used to filter results based on specific conditions.

old_pathstringOptional

Query parameter old_path used to filter results based on specific conditions.

pageintegerOptional

Query parameter page used to filter results based on specific conditions.

siteintegerOptional

Query parameter site used to filter results based on specific conditions.

sortstringOptional

Query parameter sort used to filter results based on specific conditions.

Responses
chevron-right
200

Successful response for status code 200.

application/json
countintegerOptional

Numerical value representing quantity or total amount.

Example: 123
nextstring · uri · nullableOptional

This field defines the URL of the next page.

Example: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptional

This field defines the URL of the previous page.

Example: http://api.example.org/accounts/?page=2
get
/redirects/
200

Successful response for status code 200.

get
/redirects/{id}/

This method returns details about a specific redirect URLs, including its ID, the old URL path, the new redirected path, and the associated site ID. This endpoint retrieves a specific record by its unique identifier.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this yönlendirme.

Responses
chevron-right
200

Successful response for status code 200.

application/json
idintegerOptional

Unique identifier for the record.

new_pathstring · max: 200Optional

The field defines the URL to which the redirection will be made.

old_pathstring · max: 200Optional

The field defines the URL at which the redirection will occur.

siteintegerOptional

The field defines the site ID required for the redirection.

get
/redirects/{id}/

Last updated

Was this helpful?