Skip to main content

get_credit_registration_details

Function get_credit_registration_details 

Source
pub async fn get_credit_registration_details(
    user: AuthUser,
    pool: Data<PgPool>,
    credit_registration_id: Path<Uuid>,
) -> ControllerResult<Json<CreditRegistrationDetails>>
Expand description

GET /api/v0/main-frontend/course-credit-registrations/registrations/{credit_registration_id} - One registration with its timeline and the other attempts for the same completion.

Authorized on the row’s own course: a course id from the caller would let a teacher of one course pair it with a foreign registration id.