ListPages are Pages within a List, within a Site. Using this, it's possible to insert Pages into a List. It's not possible to read them afterwards, however—only the total number of Pages in a List. Pro edition only.
Insert one or more Pages into a List. urls
are normalised and deduplicated, after which any not matching the List's Site are discarded. Pro edition only.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/pro/isoxya-api-create-list
Name | Type | Description |
---|---|---|
urls |
array.string | Page URLs (relative or absolute) |
POST /list/79b35953-ed12-45f0-ae09-491835731ad7/list_page HTTP/1.1
content-type: application/json
{
"urls": [
"a",
"b",
"c",
"http://example.com:80/b",
"/b",
"http://example.com:666"
]
}
This will result in inserting only 3 Pages, since:
http://example.com:80/b
normalises to the same asb
/b
normalises to the same asb
http://example.com:666
is a different Site and thus discarded
HTTP/1.1 204 No Content