Function /category/list
Function invocation
https://json.aftermarket.pl/category/list
Function description
It retrieves the list of marketplace categories.
Input parameters
This function takes the following input parameters:
| Parameter | Type | Required | Default value | Description |
|---|---|---|---|---|
| all | boolean | true | Get also restricted categories | |
| size | integer | 5000 | Page size | |
| start | integer | 0 | List start (for paging) |
Return value
The list of marketplace categories (list of structures with the following fields):
| Field name | Type | Description |
|---|---|---|
| id | string | Category identifier |
| string | Category identifier (deprecated, value is given in 'id' field) | |
| auctionCount | integer | Number of auctions in this category |
| catchCount | integer | Number of recently caught domain auctions in this category |
| cheapCount | integer | Number of cheap auction and offer in this category (cheap - started from 1 PLN) |
| description | string | Category description |
| hireCount | integer | Number of hires in this category |
| lastminuteCount | integer | Number of Last Minute auctions in this category |
| marketCount | integer | Number of listings in this category |
| rentalCount | integer | Number of rentals in this category |