list_links returns the links of a record, which is the copy of a source that getclean stores after a fetch or an upload. Each link has a kind, so the links to files can be told from the links to other pages.
a funding call, one short pagethe rulesthe deadlinethe form3 links to fileslinks to other pages come marked too
List the links to files
Send the id of the record and the kind of link you want.CONTENTS_ID with the id of a record.
The links come in the order of the page. This response is cut to its one link, and the link to the fields that say what it is.
200 OK
Choose the kinds of link
link_kinds takes any of 7 values.
The kind is read from the link’s address. No request is made to the address, so a link has no size and no type as served, and a file behind an address without a file ending comes as
page. The fetch of the link says what it is.
external set to true returns only the links that leave the site, and false only the links that stay on it. section_id returns only the links of one section.
Fetch the linked files
Each file is a source of its own. Fetch the addresses in one batch of up to 20, and each comes back as a record with its outline, its sections, and its pages. For the request, see Fetch 20 sources at once and know what came back before you read a word. A fetch can also return the links itself. Withlinks in formats, the response has up to 1,000 links of the page. list_links has all of them.
Check what a list of links costs
list_links reads the stored record, so it costs nothing. The key needs the scope contents:read.