Expand description
Viewing and hand-transitioning rows of the credit registration ledger.
Structs§
- Admin
Attention Thresholds - The pipeline’s own limits for asking an admin to look, from
library::credit_registration::backoff. - Admin
Bulk Transition Payload - Admin
Bulk Transition Result - Admin
Bulk Transition Skip Count - Admin
Credit Registration Details - Admin
Credit Registration Event - Admin
Credit Registration Journey - What the student did around the completion, with full timestamps, for the timeline.
- Admin
Credit Registration Row - Admin
Linking Schedule - For a student who pressed “I have enrolled” and has no linked student number: their course code’s enrolment list schedule, and what went out on the code since the press.
- Admin
Notification Email - One of the two student terminal-state mails, in full:
send_status.failure_codeis what drives the decision to look at the relay. - Admin
Registration Attention - The row’s standing on the Needs attention queue.
- Admin
Requeue Retryable Payload - Admin
Requeue Retryable Result - Admin
Suotar ApiCall - Admin
Transition Credit Registration Payload - Admin
Transition Credit Registration Result - Applied
Hand 🔒Action - What one hand action did to its row.
- Attention
Lookup 🔒 - The Needs attention queue as one request saw it, for marking rows of the ledger.
- Attention
Lookup 🔒Row - List
Credit Registrations Query
Enums§
- Admin
Credit Registration Action - What one hand action does to a row: either a state move, or something that leaves the state alone. Kept apart because only the first is a transition, and only the first is refusable.
- Admin
Credit Registration State Move - The states an admin may move a row to; everything else is the pipeline’s to decide.
- Admin
Transition Outcome
Constants§
- MAX_
RELATED_ 🔒ROWS - A detail view’s related-rows lookups (other attempts, calls, actions) never paginate; this just bounds them against a pathological completion.
- MAX_
ROWS_ 🔒PER_ BULK_ TRANSITION - A fat-finger bound on one selection; a bigger one is taken in several passes.
- MAX_
ROWS_ 🔒PER_ REQUEUE
Functions§
- _add_
routes - admin_
bulk_ transition_ credit_ registrations - POST
/api/v0/main-frontend/credit-registration-admin/registrations/bulk-transition- Moves a selection of rows by hand, one transaction for the lot. - admin_
requeue_ retryable_ credit_ registrations - POST
/api/v0/main-frontend/credit-registration-admin/registrations/requeue-retryable- Makes everyfailed_retryablerow waiting out a backoff due now. - admin_
transition_ credit_ registration - POST
/api/v0/main-frontend/credit-registration-admin/registrations/{credit_registration_id}/transition - apply_
transition 🔒 - Applies one hand action in the caller’s transaction.
- get_
credit_ registration_ for_ admin - GET
/api/v0/main-frontend/credit-registration-admin/registrations/{credit_registration_id}- One row with its timeline, the calls that timeline refers to, the other attempts for the same completion, the actions taken on it and its linking mails. - linking_
schedule_ 🔒for - The code’s schedule for a presser still waiting for a student number;
Nonefor anyone else. - list_
credit_ registrations_ for_ admin - GET
/api/v0/main-frontend/credit-registration-admin/registrations- A page of the ledger, filtered and sorted. - one_
admin_ 🔒row - to_
admin_ 🔒api_ call - to_
admin_ 🔒row