Categories module
This module provides access to manage the list of categories and view their details.
URL Format
You can use GET or POST variables in your requests.
baseUrl/classifieds.php?action=ACTION¶ms...
Reference
Some responses may return defined objects inside the JSON that refer to existing classes.
See related:
Pagination
All requests that return lists can support pagination. Add page=PAGE_NUMBER
and limit=[1-1000|default:30]
(limit per page) to paginate the responses.
List of actions
The parameter "action" determines the action you would like to match. See below list.
list
List all classifieds with specified filters. Pagination supported.
Parameters:
- categoryId: integer, ID of the category of classifieds
- date_from: yyyy-mm-dd, starting date
- date_to: yyyy-mm-dd, ending date
- limit: integer (optional, default 40)
- page: integer
Response:
data: [ { Classified_Entry object } ]
view
Get a single classified.
Parameters:
- id: int, ID of the classfied
Response:
data: { Classified_Entry object }