Skip to main content

Module admin_handlers

Module admin_handlers 

Source

Structs§

AdjustCreditRequest
Adjust credit request
ContributorResponse
Contributor response with last activity
CreditEventResponse
Credit event response
EvaluationResponse
Evaluation response with contributor info
EventsFilterQuery
Events filter query parameters
OverrideRequest
Override evaluation request
PaginatedResponse
Paginated response wrapper
PaginationQuery
Pagination query parameters

Functions§

adjust_contributor_credit
POST /api/repos/{owner}/{repo}/contributors/{user_id}/adjust Manually adjust contributor credit
approve_evaluation_handler
POST /api/repos/{owner}/{repo}/evaluations/{id}/approve Approve a pending evaluation
list_contributors
GET /api/repos/{owner}/{repo}/contributors List contributors with pagination
list_credit_events
GET /api/repos/{owner}/{repo}/events List credit events with pagination and filters
list_evaluations
GET /api/repos/{owner}/{repo}/evaluations List pending evaluations with pagination
override_evaluation_handler
POST /api/repos/{owner}/{repo}/evaluations/{id}/override Override a pending evaluation with custom delta
toggle_contributor_blacklist
POST /api/repos/{owner}/{repo}/contributors/{user_id}/blacklist Toggle contributor blacklist status