Exercise: Storing Labels
We want to show the labels for a repo on the repo-details page.To build this url you need to use
Check the documentation: developer.github.com/v3/issues/labels/
List all labels for this repository
GET /repos/:owner/:repo/labels
- Create a label model
- create a labels collection
- Attach that to the repo object
- Optionally render them on the page
.parent
to reference the parent collection (in the url
function)