Redirects

get

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
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
200
Successful response for status code 200.
application/json
get
GET /api/v1/remote/1/data-warehouse/redirects/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response for status code 200.

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "id": 1,
      "new_path": "text",
      "old_path": "text",
      "site": 1
    }
  ]
}
get

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
Path parameters
idintegerRequired

A unique integer value identifying this yönlendirme.

Responses
200
Successful response for status code 200.
application/json
get
GET /api/v1/remote/1/data-warehouse/redirects/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": 1,
  "new_path": "text",
  "old_path": "text",
  "site": 1
}

Was this helpful?