@@ -95,6 +95,10 @@ servantSitemap =
95
95
GalleyAPI. updateConversationNameDeprecated = Update. updateLocalConversationName,
96
96
GalleyAPI. updateConversationNameUnqualified = Update. updateLocalConversationName,
97
97
GalleyAPI. updateConversationName = Update. updateConversationName,
98
+ GalleyAPI. getConversationSelfUnqualified = Query. getLocalSelf,
99
+ GalleyAPI. getConversationSelf = Query. getSelf,
100
+ GalleyAPI. updateConversationSelfUnqualified = Update. updateLocalSelfMember,
101
+ GalleyAPI. updateConversationSelf = Update. updateSelfMember,
98
102
GalleyAPI. getTeamConversationRoles = Teams. getTeamConversationRoles,
99
103
GalleyAPI. getTeamConversations = Teams. getTeamConversations,
100
104
GalleyAPI. getTeamConversation = Teams. getTeamConversation,
@@ -718,32 +722,6 @@ sitemap = do
718
722
errorResponse (Error. errorDescriptionToWai Error. notConnected)
719
723
errorResponse (Error. errorDescriptionToWai Error. convAccessDenied)
720
724
721
- get " /conversations/:cnv/self" (continue Query. getSelfH) $
722
- zauthUserId
723
- .&. capture " cnv"
724
- document " GET" " getSelf" $ do
725
- summary " Get self membership properties"
726
- parameter Path " cnv" bytes' $
727
- description " Conversation ID"
728
- returns (ref Public. modelMember)
729
- errorResponse (Error. errorDescriptionToWai Error. convNotFound)
730
-
731
- -- This endpoint can lead to the following events being sent:
732
- -- - MemberStateUpdate event to self
733
- put " /conversations/:cnv/self" (continue Update. updateSelfMemberH) $
734
- zauthUserId
735
- .&. zauthConnId
736
- .&. capture " cnv"
737
- .&. jsonRequest @ Public. MemberUpdate
738
- document " PUT" " updateSelf" $ do
739
- summary " Update self membership properties"
740
- notes " Even though all fields are optional, at least one needs to be given."
741
- parameter Path " cnv" bytes' $
742
- description " Conversation ID"
743
- body (ref Public. modelMemberUpdate) $
744
- description " JSON body"
745
- errorResponse (Error. errorDescriptionToWai Error. convNotFound)
746
-
747
725
-- This endpoint can lead to the following events being sent:
748
726
-- - MemberStateUpdate event to members
749
727
put " /conversations/:cnv/members/:usr" (continue Update. updateOtherMemberH) $
0 commit comments