Added REST API for certificates in LMS
What are the relevant tickets?
What's this PR do?
Introduces a REST API for the certificates.
Where should the reviewer start?
How should this be manually tested?
Create a certificate for a user for a course and, using the url `/api/certificates/v0/certificates/<username>/<course_id>`, check that only that user can see it.
A (fake) certificate can be created using the `GeneratedCertificateFactory`: see
`lms/djangoapps/certificates/apis/v0/tests/test_views.py` for an example.
Any background context you want to provide?
It has been agreed that this API will be deprecated as soon as the [credentials](https://openedx.atlassian.net/wiki/display/AC/Credentials) will be deployed and the existent certificates will be migrated.
For more info please read edx#11821
What gif best describes this PR or how it makes you feel?
FYI I've finished a first round of review on this.
Thanks, Jim. It's MIT's current top priority, so it would be helpful for them to get some feedback ASAP so they can continue work.
we will groom the review ticket and queue it up for our next sprint (beg. Apr 20) per the normal process. If this is more urgent / time-sensitive, pls reach out and we'll figure out how to adjust plans / priorities.
I'll get back to you on Monday morning with an answer on this. cc: