Skip to content

Commit

Permalink
Example puml file
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Nov 19, 2024
1 parent 6f1fc29 commit da146fa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions example.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@startuml

participant "Alice" as Alice_user #fdf2d0
participant "EFSS" as Alice_EFSS #fdf2d0
participant "Disco" as Alice_Disco #fdf2d0
participant "Disco" as Bob_Disco #eececd
participant "EFSS" as Bob_OCM #eececd
participant "Bob" as Bob_user #eececd
Bob_user -> Bob_OCM: Add contact 'Alice'
Bob_user -> Alice_user: OCM invite [ token, FQDN ]
Alice_user -> Alice_EFSS: Add contact 'Bob'
Alice_EFSS -> Bob_OCM: POST /invite_accept [ token ]
Bob_OCM -> Alice_EFSS: 201 created
Alice_user -> Alice_EFSS: Share doc with 'Bob'
Alice_EFSS -> Bob_Disco: GET /.well-known/ocm
Bob_Disco -> Alice_EFSS: endpoints, capabilities, pubkey
Alice_EFSS -> Bob_OCM: (signed) POST /ocm/share
Bob_OCM -> Alice_Disco: GET /.well-known/ocm
Alice_Disco -> Bob_OCM: pubkey
Bob_OCM -> Alice_EFSS: 201 created
Bob_OCM -> Alice_EFSS: (signed) /ocm/token
Alice_EFSS -> Bob_OCM: short-lived bearer token
Bob_OCM --> Alice_EFSS: (bearer) PROPFIND
Alice_EFSS -> Bob_OCM: OK

@enduml

0 comments on commit da146fa

Please sign in to comment.