BetaBetaReturns rate limit for specified task type
Task type
Rate limit object
BetaGet the total counts of catalog tasks meeting all criteria, organized by run status (queued, running, error, and paused). Important: If the supplied identifier does not exist, this method does not fail!
Item identifier. Both '*' (asterisk) and '%' (percentage sign) may be used as wildcard characters within criteria that accept them.
Query parameters
Optionalargs?: stringArgument list (see below; may be wildcarded)
Optionalcmd?: stringTask command (e.g., archive.php, modify_xml.php, etc.; may be wildcarded)
Optionalcursor?: stringCursor for pagination
Optionallimit?: numberThe current default is 50 tasks per request, but the caller may request more with the limit parameter The current maximum limit is 500 tasks. Values outside this range are clamped to the server maximum. If the caller wishes to receive all tasks in a single round-trip, they may set limit=0 in the request query.
Optionalpriority?: numberGenerally from 10 to -10
Optionalserver?: stringIA node task will or was executed upon (may be wildcarded)
Optionalsubmitter?: stringUser submitting task (may be wildcarded)
Optionalsubmittime<?: stringFilter by submit time lower than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime<=?: stringFilter by submit time lower or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>?: stringFilter by submit time greater than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>=?: stringFilter by submit time greater or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionaltask_id?: numberTask identifier
Optionalwait_admin?: numberTask run state (see below)
the total counts of catalog tasks meeting all criteria
BetaGet a list of all tasks meeting all criteria. The list is ordered by submission time.
Optionalargs?: stringArgument list (see below; may be wildcarded)
Optionalcatalog?: 0 | 1A list of all active tasks (queued, running, error, or paused) matching the supplied criteria
Optionalcmd?: stringTask command (e.g., archive.php, modify_xml.php, etc.; may be wildcarded)
Optionalcursor?: stringCursor for pagination
Optionalhistory?: 0 | 1A list of all completed tasks matching the supplied criteria
Optionalidentifier?: stringThe item identifier, if provided will return tasks for only this item filtered by other criteria provided in params.
Optionalpriority?: numberGenerally from 10 to -10
Optionalserver?: stringIA node task will or was executed upon (may be wildcarded)
Optionalsubmitter?: stringUser submitting task (may be wildcarded)
Optionalsubmittime<?: stringFilter by submit time lower than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime<=?: stringFilter by submit time lower or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>?: stringFilter by submit time greater than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>=?: stringFilter by submit time greater or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionaltask_id?: numberTask identifier
Optionalwait_admin?: numberTask run state (see below)
A list of all tasks meeting all criteria.
BetaA generator that can make arbitrary requests to the Tasks API. It handles paging (via cursor) automatically.
Query parameters, refer to Tasks API for available parameters.
Optionalargs?: stringArgument list (see below; may be wildcarded)
Optionalcatalog?: 0 | 1A list of all active tasks (queued, running, error, or paused) matching the supplied criteria
Optionalcmd?: stringTask command (e.g., archive.php, modify_xml.php, etc.; may be wildcarded)
Optionalcursor?: stringCursor for pagination
Optionalhistory?: 0 | 1A list of all completed tasks matching the supplied criteria
Optionalidentifier?: stringThe item identifier, if provided will return tasks for only this item filtered by other criteria provided in params.
Optionallimit?: numberThe current default is 50 tasks per request, but the caller may request more with the limit parameter The current maximum limit is 500 tasks. Values outside this range are clamped to the server maximum. If the caller wishes to receive all tasks in a single round-trip, they may set limit=0 in the request query.
Optionalpriority?: numberGenerally from 10 to -10
Optionalserver?: stringIA node task will or was executed upon (may be wildcarded)
Optionalsubmitter?: stringUser submitting task (may be wildcarded)
Optionalsubmittime<?: stringFilter by submit time lower than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime<=?: stringFilter by submit time lower or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>?: stringFilter by submit time greater than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>=?: stringFilter by submit time greater or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsummary?: 0 | 1Total counts of catalog tasks meeting all criteria organized by run status (queued, running, error, and paused). Historical totals are currently unavailable.
Optionaltask_id?: numberTask identifier
Optionalwait_admin?: numberTask run state (see below)
An AsyncGenerator that yields IaCatalogTask objects
BetaCreate iterator that iterates over all catalog tasks
Params
Optionalargs?: stringArgument list (see below; may be wildcarded)
Optionalcatalog?: 0 | 1A list of all active tasks (queued, running, error, or paused) matching the supplied criteria
Optionalcmd?: stringTask command (e.g., archive.php, modify_xml.php, etc.; may be wildcarded)
Optionalcursor?: stringCursor for pagination
Optionalhistory?: 0 | 1A list of all completed tasks matching the supplied criteria
Optionalidentifier?: stringThe item identifier, if provided will return tasks for only this item filtered by other criteria provided in params.
Optionalpriority?: numberGenerally from 10 to -10
Optionalserver?: stringIA node task will or was executed upon (may be wildcarded)
Optionalsubmitter?: stringUser submitting task (may be wildcarded)
Optionalsubmittime<?: stringFilter by submit time lower than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime<=?: stringFilter by submit time lower or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>?: stringFilter by submit time greater than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>=?: stringFilter by submit time greater or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionaltask_id?: numberTask identifier
Optionalwait_admin?: numberTask run state (see below)
ProtectedmakeBetaMake a GET request to the Tasks API
Query parameters
Optionalargs?: stringArgument list (see below; may be wildcarded)
Optionalcatalog?: 0 | 1A list of all active tasks (queued, running, error, or paused) matching the supplied criteria
Optionalcmd?: stringTask command (e.g., archive.php, modify_xml.php, etc.; may be wildcarded)
Optionalcursor?: stringCursor for pagination
Optionalhistory?: 0 | 1A list of all completed tasks matching the supplied criteria
Optionalidentifier?: stringThe item identifier, if provided will return tasks for only this item filtered by other criteria provided in params.
Optionallimit?: numberThe current default is 50 tasks per request, but the caller may request more with the limit parameter The current maximum limit is 500 tasks. Values outside this range are clamped to the server maximum. If the caller wishes to receive all tasks in a single round-trip, they may set limit=0 in the request query.
Optionalpriority?: numberGenerally from 10 to -10
Optionalserver?: stringIA node task will or was executed upon (may be wildcarded)
Optionalsubmitter?: stringUser submitting task (may be wildcarded)
Optionalsubmittime<?: stringFilter by submit time lower than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime<=?: stringFilter by submit time lower or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>?: stringFilter by submit time greater than supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsubmittime>=?: stringFilter by submit time greater or equal to supplied time. Time must be formatted as "YYYY-MM-DD"
Optionalsummary?: 0 | 1Total counts of catalog tasks meeting all criteria organized by run status (queued, running, error, and paused). Historical totals are currently unavailable.
Optionaltask_id?: numberTask identifier
Optionalwait_admin?: numberTask run state (see below)
Response
BetaSubmit a task
See submission
Options
Params for the IaCatalog.submitTask method
Optionalargs?: Record<string, TODO>Extra POST data to submit with the request. Refer to Tasks API Request Entity
Task command to submit. See Supported task commands
Optionalcomment?: stringA reasonable explanation for why the task is being submitted
Optionalheaders?: IaTaskRequestHttpHeadersAdditional headers to add to the request
Identifier
Task priority from 10 to -10
Response
This class represents the Archive.org catalog. You can use this class to access and submit tasks from the catalog.
This is a low-level interface, and in most cases the functions in the
internetarchive-tsmodule and methods in IaSession should be used.It uses the archive.org Tasks API
Example