-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APIv3: bring back
OrganizationsViewSet
that was removed (#11052)
* APIv3: bring back `OrganizationsViewSet` that was removed This view was used on "Read the Docs for Business". See https://docs.readthedocs.io/en/stable/api/v3.html#organizations It was deleted in https://github.com/readthedocs/readthedocs.org/pull/11009/files#diff-1b2fcccf6a94ac362220161670adaf288aaece7381f18909cdd1da5e044d134a I put them back here and make them extendable, so we can overwrite one of them from "Read the Docs for Business". * Updates to reflect the changes - Show `_links.notifications` on `OrganizationSerializer` - Match permissions between "listing projects for an organization" and "listing notifications for an organization" * Update status code from API endpoint
- Loading branch information
Showing
3 changed files
with
45 additions
and
3 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
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