Skip to main content

share_submission

Function share_submission 

Source
async fn share_submission(
    pool: Data<PgPool>,
    submission_id: Path<Uuid>,
    user: UserFromOAuthToken,
    app_conf: Data<ApplicationConfiguration>,
    _client: SupportedClient,
) -> ControllerResult<Json<PasteResult>>
Expand description
  • POST /api/v0/exercise-services/client/submissions/:id/share
  • Mints a shareable link to an existing submission of the current user and returns
  • its URL.