GET /sparklinks
Changed onRequest
- Base URLhttps://api.sparkvault.com/v1
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Only the grants of this one ingot or Spark (a file's durable share and its one-time links), in no order. Anything but an ingot or Spark id is 400 VALIDATION_ERROR.
A page-size hint: a value above 100 reads as 100, and a missing, zero, negative or non-numeric one as 50.
The next_cursor a previous page returned, with the same type and asset_id.
Headers
A VAT for one of your vaults. Ingot rows of that vault carry their link_code and link_url; every other ingot row carries null for both. A VAT that is expired, revoked, or another account's fails the request (401 or 403).
Response
Response
Changes
- info
added the new optional
queryrequest parameterasset_id
- info
- info
added the new optional
headerrequest parameterX-Vault-Access-Token - info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parametertype
- info