-
-
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.
API V3: change permissions to allow anonymous access to public resour…
…ces (#11485) * API V3: change permissions to allow anonymous access to public resources Ref readthedocs/ext-theme#154 * Exclude external versions from API * Fix organizations queryset * Fix tests get_permissions overrides all declarations of permissions, even in actions
- Loading branch information
Showing
10 changed files
with
723 additions
and
290 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
33 changes: 33 additions & 0 deletions
33
readthedocs/api/v3/tests/responses/projects-builds-list.json
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,33 @@ | ||
{ | ||
"count": 1, | ||
"next": null, | ||
"previous": null, | ||
"results": [ | ||
{ | ||
"commit": "a1b2c3", | ||
"created": "2019-04-29T10:00:00Z", | ||
"duration": 60, | ||
"error": "", | ||
"finished": "2019-04-29T10:01:00Z", | ||
"id": 1, | ||
"_links": { | ||
"_self": "https://readthedocs.org/api/v3/projects/project/builds/1/", | ||
"project": "https://readthedocs.org/api/v3/projects/project/", | ||
"version": "https://readthedocs.org/api/v3/projects/project/versions/v1.0/", | ||
"notifications": "https://readthedocs.org/api/v3/projects/project/builds/1/notifications/" | ||
}, | ||
"urls": { | ||
"build": "https://readthedocs.org/projects/project/builds/1/", | ||
"project": "https://readthedocs.org/projects/project/", | ||
"version": "https://readthedocs.org/dashboard/project/version/v1.0/edit/" | ||
}, | ||
"project": "project", | ||
"state": { | ||
"code": "finished", | ||
"name": "Finished" | ||
}, | ||
"success": true, | ||
"version": "v1.0" | ||
} | ||
] | ||
} |
Oops, something went wrong.