mirage / ocaml-github

GitHub APIv3 OCaml bindings
ISC License
100 stars 61 forks source link

Add repositories permissions datatype #226

Closed Aaylor closed 5 years ago

Aaylor commented 5 years ago

When getting the description of the repository, the JSON object permissions may appear. An example is in the description of the API to get information about a specific repository.

After multiple tests, this object appears only when the requests is authenticated via the token; this is why the field is optional.