Skip to content

Commit

Permalink
feat: added mermaid seq diag to credentials page showing info flow
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigyanghosh30 committed Feb 9, 2024
1 parent 803711b commit 6fcd4c5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions webapp/shop/cred/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
```mermaid
sequenceDiagram
loop /your-exams
ubuntu.com->>Skillable: /userrunningandsavedlabs?userid={userid}
Skillable-->>ubuntu.com: { RunningLabs[], SavedLabs[] }
ubuntu.com->>Skillable: /Result?labinstanceId={labinstanceId}
Skillable-->>ubuntu.com: { RunningLabs[], SavedLabs[] }
end
loop /take-exam
ubuntu.com->>Skillable: /launch?labid={labid}&userid={userid}
Skillable-->>ubuntu.com: {Url}
ubuntu.com->>Skillable: Redirect to Assessment Environment URL
Skillable-->>ubuntu.com: REDIRECT
end
loop /issue-badges
Skillable->>Skillable: Event == Scored
Note right of Skillable: Webhook!
Skillable->>ubuntu.com: { Id, UserExternalId, ExamPassed,LabProfileId }
ubuntu.com-->>Credly: {name, email, exam}
end
```

0 comments on commit 6fcd4c5

Please sign in to comment.