Sort by Author
Specifies the sorting order by author name. Works on asc
and desc
only.
SortbyAuthor
Payload
{
"sort": {
"sort_by_author": "asc"
}
}
Example
import requests
url = 'https://api.darkrecon.cloud/dark-recon/search'
headers = {
'Authorization': 'your api key here',
'Content-Type': 'application/json'
}
data = {
"sort": {
"sort_by_author": "asc"
}
}
response = requests.post(url, headers=headers, json=data)
print(response.status_code)
print(response.json())