Skip to main content

Module bulk

Module bulk 

Source
Expand description

Lifecycle operations on many items at once: revise or obsolete the latest revision of every listed item. Each item goes through the same service as a single operation (revisions::revise / revisions::obsolete) in its own transaction, so permissions, locks, audit records, notifications and webhooks are exactly those of the single operation, and one refusal does not stop the others; the outcome lists every item. (Releasing many items together is a change order with many revisions.)

Structs§

Outcome

Enums§

Action

Constants§

MAX_ITEMS
Most items of one bulk request.

Functions§

apply
Applies action to the latest revision of every listed item.
unique_numbers
The item numbers once each, in the given order (trimmed, upper-case).