From da146facd2be78fb08e91a5fdcbb38ac28569ea1 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Tue, 19 Nov 2024 14:30:29 +0100 Subject: [PATCH] Example puml file --- example.puml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 example.puml diff --git a/example.puml b/example.puml new file mode 100644 index 0000000..0523e2a --- /dev/null +++ b/example.puml @@ -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 \ No newline at end of file