Add a link in the HostingService API to related accounts.
Review Request #5889 — Created May 28, 2014 and submitted
The HostingService resource now links to the HostingServiceAccounts
resource in order to easily query all accounts associated with that
service.This required adding some filtering abilities to HostingServiceAccounts.
Callers can now filter on username or on the service ID.
Unit tests pass.
Manually verified that the filtering works and that links were pointing to
the right places.
-
This is a review from Review Bot. Tool: Pyflakes Processed Files: reviewboard/webapi/resources/hosting_service_account.py reviewboard/webapi/tests/test_hosting_service.py reviewboard/webapi/resources/hosting_service.py reviewboard/webapi/tests/test_hosting_service_account.py Ignored Files:
-
-
-
- Change Summary:
-
Fixed unused imports and variables.
- Commit:
-
957f7983ac1d450b60c20175d9b46c5c455dd4ab2c71e36889467b682eee30c08c09cb27ef60f4cb
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/hosting_service_account.py reviewboard/webapi/tests/test_hosting_service.py reviewboard/webapi/resources/hosting_service.py reviewboard/webapi/tests/test_hosting_service_account.py Ignored Files:
-
This is a review from Review Bot. Tool: Pyflakes Processed Files: reviewboard/webapi/resources/hosting_service_account.py reviewboard/webapi/tests/test_hosting_service.py reviewboard/webapi/resources/hosting_service.py reviewboard/webapi/tests/test_hosting_service_account.py Ignored Files:
- Change Summary:
-
Added a
@webapi_request_fields
decorator to document the filtering query arguments. - Commit:
-
2c71e36889467b682eee30c08c09cb27ef60f4cbc02aa3f2c6dffa096b76f9ba7c98691f9fe94794
-
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/hosting_service_account.py reviewboard/webapi/tests/test_hosting_service.py reviewboard/webapi/resources/hosting_service.py reviewboard/webapi/tests/test_hosting_service_account.py Ignored Files: