asura-tmdb/documentation/sequenceDiagramUser.puml

25 lines
488 B
Plaintext
Raw Normal View History

2022-03-15 13:01:50 +01:00
@startuml User View
2022-03-15 20:40:02 +01:00
title User View
2022-03-15 13:01:50 +01:00
actor User #LightBlue
participant Website
database Server #Brown
2022-03-15 20:40:02 +01:00
hide footbox
2022-03-15 15:28:02 +01:00
2022-03-15 13:01:50 +01:00
User->Website: viewTournament(Tournament)
activate User
activate Website
Website->Server: fetchTournament(Tournament)
activate Server
Server-->Website: {status: success | failure}
deactivate Server
alt status = success
Website-->User: displayTournament(Tournament)
else status = failure
Website-->User: displayError(error)
deactivate User
deactivate Website
end
@enduml