-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow clients of customer content_metadata view to skip ent cus…
…tomer fetches. ENT-7864 | Allows clients of the EnterpriseCustomerViewSet.content_metadata view to include an optional `skip_customer_fetch` query param. If present and truthy, including this param will cause the serialized content metadata to not fetch related enterprise customer details from the edx-enterprise REST API. Thus the presence of this query param means that the serialized 'content_last_modified' time will not take into account the *customer* modified time. Additionally, it means that no 'enrollment_url' fields will be present in the serialied response.
- Loading branch information
1 parent
93bd52a
commit e4c43c8
Showing
3 changed files
with
39 additions
and
9 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