Optional
token: stringS3-like API Key formatted as "accesskey:secretkey" (required for all methods except getItem or getItems)
InternetArchive API options
Optional
setoption to add scanner metadata for internetarchive-sdk-js - default TRUE
Optional
testmode?: booleanOption to add item to Test Collection (auto deletes in 30 days) - default FALSE
Optional
optionsOptional
tokenStatic
defaultCreates an Item in a Collection (Uploads a file and adds metadata).
identifier, collection, mediatype, upload, metadata.
The collection that the item belongs to.
The unique identifier for the item.
The item mediatype.
Optional
metadata?: Record<string, unknown>The item metadata (optional).
The item upload.
The item identifier, metadata, and upload filename.
Returns an Item by identifier.
The unique identifier for the item.
Item metadata, file paths, and other info.
Returns Tasks from an Item.
identifier, mediatype, file.
Optional
criteria: TaskCriteriaParameters to filter item tasks.
Returns Items based on filters and options.
filters (collection, subject, creator) and options (fields, rows).
Filter by collection, subject, creator.
Optional
collection?: stringOptional
creator?: stringOptional
subject?: stringOptional
options?: { Options to specify fields returned and amount of items.
Optional
fields?: stringOptional
rows?: stringThe responseHeader and response with items as docs.
Updates an Item by identifier and metadata.
The unique identifier for the item.
The item metadata.
Update response (success, error, task_id, log).
Uploads a File to a parent Item.
identifier, mediatype, file.
The upload file.
The unique identifier of the parent item.
The upload mediatype.
Provides access to Internet Archive APIs through methods