feat: Enable Certificate Display Behavior add certificate_available_date in course detail API

feat: Enable Certificate Display Behavior add certificate_available_date in course detail API

fix: reviwed changes, certificate_available_date in Course Detail API but not in Course List API

fix: reviewed changes, certificate available date display condition updated

fix: final reviewed changes

fix: serializer and linting tests

fix: serializer and tests

fix: docstring

fix: docstring and tests

fix: typo and mock call
This commit is contained in:
ALi Raza
2023-01-19 19:31:37 +05:00
parent 4636d51538
commit 0ff7c5b13f
5 changed files with 50 additions and 3 deletions

View File

@@ -2196,6 +2196,9 @@ paths:
* `"timestamp"`: generated from the `start` timestamp
* `"empty"`: no start date is specified
* pacing: Course pacing. Possible values: instructor, self
* certificate_available_date (optional): Date the certificate will be available,
in ISO 8601 notation if the `certificates.auto_certificate_generation`
waffle switch is enabled
Deprecated fields:
@@ -2240,7 +2243,8 @@ paths:
"start": "2015-07-17T12:00:00Z",
"start_display": "July 17, 2015",
"start_type": "timestamp",
"pacing": "instructor"
"pacing": "instructor",
"certificate_available_date": "2015-08-14T00:00:00Z"
}
parameters: []
responses: