Check an upload link for files
GET /Platform/uploads/links/{link_id}
Check an upload link for files.
status is pending until the first file arrives, then done;
files lists every file received, each with its hash handle.
Pass a handle to create (source=<handle>) to make a pdf, image
or audio value, or to any tool that takes a handle.
For a secret link, files[0].hash is the secret's handle: write it
into the record's field with a patch.
Path parameters
link_id: str. The link fromcreate_upload_link.
Returns
UploadLink
link_id: str. Upload link identifier.url: str. Page to give the person; it requires signing in as the account that created it.kind: optional "file" or "secret". file: the person picks files. secret: the person types one credential, and files[0].hash is its handle.purpose: optional str. What the files are for, shown on the page.sites: optional List[str]. For a website login's password: the sites a browser may type it on, shown on the page. The handle is bound to them.max_files: int. How many files the link accepts.status: "pending" or "done" or "expired". pending: nothing uploaded yet; done: at least one file arrived; expired: closed with none.expires_at: float. When the link stops accepting files (Unix seconds).files: optional List[UploadFile]. Files uploaded through the link so far.
Example request
curl -X GET "https://api.hilus.ai/Platform/uploads/links/{link_id}" \
-H "Authorization: Bearer $HILUS_API_KEY"