Lists are lists of Pages within a Site. Lists can be used to start a List rather than Web Crawl. Lists are also created automatically when validating external links; these are subsequently used to create child Crawls. Pro edition only.
- /list/:list_id DELETE (Pro)
- /list/:list_id GET (Pro)
- /site/:site_id/crawl/:site_v/list GET (Pro)
- /site/:site_id/list GET (Pro)
- /site/:site_id/list POST (Pro)
Delete a List. Pro edition only.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/isoxya-api-delete
HTTP/1.1 204 No Content
Read a List. Pro edition only.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/isoxya-api-read
Name | Type | Description |
---|---|---|
crawl |
object? | Crawl; set when validating external links |
href |
string | Href |
pages |
number | total Pages contained in List |
site |
object | Site |
HTTP/1.1 200 OK
content-type: application/json
{
"crawl": null,
"href": "/list/4a20e10b-58cf-4310-954a-77e9be03e1d9",
"pages": 3,
"site": {
"channels": 1,
"href": "/site/aHR0cDovL2V4YW1wbGUuY29tOjgw",
"rate_limit": 1,
"url": "http://example.com:80"
}
}
List a Crawl's Lists. These are created automatically when validating external links. Pro edition only.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/pro/isoxya-api-list-crawl-list
Response parameters are as for /list/:list_id GET.
HTTP/1.1 200 OK
content-type: application/json
link: </site/aHR0cDovL2V4YW1wbGUuY29tOjgw/crawl/2021-12-16T16:16:55.511303Z/list>; rel="first", </site/aHR0cDovL2V4YW1wbGUuY29tOjgw/crawl/2021-12-16T16:16:55.511303Z/list?_next=2021-12-16T16:16:55.940975Z>; rel="next", </site/aHR0cDovL2V4YW1wbGUuY29tOjgw/crawl/2021-12-16T16:16:55.511303Z/list?_prev=2021-12-16T16:16:55.940975Z>; rel="prev"
[
{
"crawl": "/site/aHR0cDovL2V4YW1wbGUuY29tOjgw/crawl/2021-12-16T16:16:55.511303Z",
"href": "/list/57602e9c-2ffd-497c-a097-6e8eef3f92bb",
"pages": 1,
"site": {
"channels": 1,
"href": "/site/aHR0cHM6Ly93d3cuaWFuYS5vcmc6NDQz",
"rate_limit": 1,
"url": "https://www.iana.org:443"
}
}
]
List Lists. Pro edition only.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/pro/isoxya-api-list-list
Response parameters are as for /list/:list_id GET.
HTTP/1.1 200 OK
content-type: application/json
link: </site/aHR0cDovL2V4YW1wbGUuY29tOjgw/list>; rel="first", </site/aHR0cDovL2V4YW1wbGUuY29tOjgw/list?_next=2021-12-16T15:43:07.146331Z>; rel="next", </site/aHR0cDovL2V4YW1wbGUuY29tOjgw/list?_prev=2021-12-16T15:43:26.923Z>; rel="prev"
[
{
"crawl": null,
"href": "/list/4a20e10b-58cf-4310-954a-77e9be03e1d9",
"pages": 3,
"site": {
"channels": 1,
"href": "/site/aHR0cDovL2V4YW1wbGUuY29tOjgw",
"rate_limit": 1,
"url": "http://example.com:80"
}
}
]
Create a List. Pro edition only.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/pro/isoxya-api-create-list
None.
Response parameters are as for /list/:list_id GET.
POST /site/aHR0cDovL2V4YW1wbGUuY29tOjgw/list HTTP/1.1
content-type: application/json
{}
HTTP/1.1 201 Created
content-type: application/json
location: /list/4a20e10b-58cf-4310-954a-77e9be03e1d9
{
"crawl": null,
"href": "/list/4a20e10b-58cf-4310-954a-77e9be03e1d9",
"pages": 0,
"site": {
"channels": 1,
"href": "/site/aHR0cDovL2V4YW1wbGUuY29tOjgw",
"rate_limit": 1,
"url": "http://example.com:80"
}
}