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
).
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 results returned in the response.
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.
GET /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": "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"
}
]
}
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.
A unique integer value identifying this pretty url.
Successful response for status code 200.
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": "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?