-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Versioned combinators and access_role changes in V3 (#2841)
* Add Versioned combinators and newtype * Change access roles in V3 API * Rename AccessRoleV2 to AccessRole * More V3 endpoint changes * Fix golden tests * Version conversation listing endpoint * Revert access update schema to V2 * Document event versioning * Use API v3 in tests for listing conversations * Fix version bound in conversation list endpoint * Use v3 access update API in tests * Add example timeline in event versioning docs * Fix off-by-one errors in event versioning docs * Use v3 conv pagination API in tests * Fix collision in versioned swagger schemas * Fix assertions in brig related to self convs * More integration test fixes
- Loading branch information
1 parent
c747e4d
commit fb4a935
Showing
125 changed files
with
1,149 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- The endpoints `POST /conversations/list` and `GET /conversations` have been removed. Use `POST /conversations/list-ids` followed by `POST /conversations/list` instead. | ||
- The endpoint `PUT /conversations/:id/access` has been removed. Use its qualified counterpart instead. | ||
- The field `access_role_v2` in the `Conversation` type, in the request body of `POST /conversations`, and in the request body of `PUT /conversations/:domain/:id/access` has been removed. Its content is now contained in the `access_role` field instead. It replaces the legacy access role, previously contained in the `access_role` field. | ||
- Clients implementing the V3 API must be prepared to handle a change in the format of the conversation.access_update event. Namely, the field access_role_v2 has become optional. When missing, its value is to be found in the field access_role. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.