Optionaltoken: stringS3-like API Key formatted as "accesskey:secretkey" (required for all methods except getItem or getItems)
InternetArchive API options
OptionalsetScanner?: booleanoption to add scanner metadata for internetarchive-sdk-js - default TRUE
Optionaltestmode?: booleanOption to add item to Test Collection (auto deletes in 30 days) - default FALSE
OptionaloptionsOptionaltokenStaticdefaultCreates 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.
Optionalmetadata?: Record<string, unknown>The item metadata (optional).
The item upload.
The item identifier, metadata, and upload filename.
Deletes a File from an Item.
The path of the file [identifier/filename].
Returns an Item by identifier.
The unique identifier for the item.
Item metadata, file paths, and other info.
Returns Items based on filters and options.
filters (collection, subject, creator) and options (fields, rows).
Optionalfilters?: { collection?: string; creator?: string; subject?: string }Optionaloptions?: { fields?: string; rows?: number }The responseHeader and response with items as docs.
Returns Tasks from an Item.
identifier, mediatype, file.
Optionalcriteria: TaskCriteriaParameters to filter item tasks.
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