Pretty Urls

get

The Pretty URLs method retrieves a list of user-friendly and SEO-optimized URL formats, referred to as Pretty URLs. Each Pretty URL entry provides a mapping from the original, non-optimized URL (old_path) to the optimized, user-friendly URL (new_path).

Authorizations
Query parameters
argsstringOptional

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

created_datestring · date-timeOptional

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

func_initkwargsanyOptional

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

func_modulestringOptional

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

func_namestringOptional

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

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.

kwargsanyOptional

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

languagestringOptional

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

limitintegerOptional

Limits the number of results returned in the response.

modified_datestring · date-timeOptional

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

modified_date__gtstring · date-timeOptional

Filters records where modified_date is greater than the given value.

modified_date__gtestring · date-timeOptional

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

modified_date__ltstring · date-timeOptional

Filters records where modified_date is less than the given value.

modified_date__ltestring · date-timeOptional

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

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.

parentintegerOptional

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

query_paramsanyOptional

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

sortstringOptional

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

viewnamestringOptional

Query parameter viewname 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/pretty-urls/ 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": [
    {
      "args": [
        "text"
      ],
      "created_date": "2025-08-29T17:08:25.136Z",
      "func_initkwargs": null,
      "func_module": "text",
      "func_name": "text",
      "id": 1,
      "kwargs": null,
      "language": "text",
      "modified_date": "2025-08-29T17:08:25.136Z",
      "new_path": "text",
      "old_path": "text",
      "parent": 1,
      "query_params": null,
      "viewname": "text"
    }
  ]
}
get

The Pretty URLs method retrieves a list of user-friendly and SEO-optimized URL formats, referred to as Pretty URLs. Each Pretty URL entry provides a mapping from the original, non-optimized URL (old_path) to the optimized, user-friendly URL (new_path). This endpoint retrieves a specific record by its unique identifier.

Authorizations
Path parameters
idintegerRequired

A unique integer value identifying this pretty url.

Responses
200

Successful response for status code 200.

application/json
get
GET /api/v1/remote/1/data-warehouse/pretty-urls/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "args": [
    "text"
  ],
  "created_date": "2025-08-29T17:08:25.136Z",
  "func_initkwargs": null,
  "func_module": "text",
  "func_name": "text",
  "id": 1,
  "kwargs": null,
  "language": "text",
  "modified_date": "2025-08-29T17:08:25.136Z",
  "new_path": "text",
  "old_path": "text",
  "parent": 1,
  "query_params": null,
  "viewname": "text"
}

Was this helpful?