Pretty Urls
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).
Token-based authentication with required prefix "Token"
Query parameter args used to filter results based on specific conditions.
Query parameter created_date used to filter results based on specific conditions.
Query parameter func_initkwargs used to filter results based on specific conditions.
Query parameter func_module used to filter results based on specific conditions.
Query parameter func_name used to filter results based on specific conditions.
Query parameter id used to filter results based on specific conditions.
Filters records where id is greater than the given value.
Filters records where id is greater than or equal to the given value.
Filters records where id is less than the given value.
Filters records where id is less than or equal to the given value.
Query parameter kwargs used to filter results based on specific conditions.
Query parameter language used to filter results based on specific conditions.
Limits the number of records returned in a single page. The maximum is 1000. A higher value is capped at 1000 and the request still succeeds.
Query parameter modified_date used to filter results based on specific conditions.
Filters records where modified_date is greater than the given value.
Filters records where modified_date is greater than or equal to the given value.
Filters records where modified_date is less than the given value.
Filters records where modified_date is less than or equal to the given value.
Query parameter new_path used to filter results based on specific conditions.
Query parameter old_path used to filter results based on specific conditions.
Query parameter page used to filter results based on specific conditions.
Query parameter parent used to filter results based on specific conditions.
Query parameter query_params used to filter results based on specific conditions.
Query parameter sort used to filter results based on specific conditions.
Query parameter viewname used to filter results based on specific conditions.
Successful response for status code 200.
Numerical value representing quantity or total amount.
123This field defines the URL of the next page.
http://api.example.org/accounts/?page=4This field defines the URL of the previous page.
http://api.example.org/accounts/?page=2GET /api/v1/remote/1/data-warehouse/pretty-urls/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
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": "2026-01-01T00:00:00.000Z",
"func_initkwargs": null,
"func_module": "text",
"func_name": "text",
"id": 1,
"kwargs": null,
"language": "text",
"modified_date": "2026-01-01T00:00:00.000Z",
"new_path": "text",
"old_path": "text",
"parent": 1,
"query_params": null,
"viewname": "text"
}
]
}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.
Token-based authentication with required prefix "Token"
A unique integer value identifying this pretty url.
Successful response for status code 200.
The positional arguments parsed from the URL and passed to the view.
Timestamp indicating when the record was created.
Keyword arguments passed to the view function.
The field defines the file name where the func_name is defined.
The full name or label associated with the record.
Unique identifier for the record.
The field defines any additional parameters for the shipping option.
The field defines the language code.
This field defines the last updated date.
The field defines the URL to which the redirection will be made.
The field defines the URL at which the redirection will occur.
The field defines the ID of the associated basket item, if there is a related basket item.
This field defines the query parameters included in the URL during the request.
The full name or label associated with the record.
Object not found.
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": "2026-01-01T00:00:00.000Z",
"func_initkwargs": null,
"func_module": "text",
"func_name": "text",
"id": 1,
"kwargs": null,
"language": "text",
"modified_date": "2026-01-01T00:00:00.000Z",
"new_path": "text",
"old_path": "text",
"parent": 1,
"query_params": null,
"viewname": "text"
}Last updated
Was this helpful?

