Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo JSON response does not match documentation #108

Open
kylegoetz opened this issue Aug 26, 2019 · 0 comments
Open

Repo JSON response does not match documentation #108

kylegoetz opened this issue Aug 26, 2019 · 0 comments

Comments

@kylegoetz
Copy link

api/v1/user/repos responds with an array of JSON objects, each of which represents a repository.

One of the properties of the repository item is called parent. However in the API documentation, the only fields listed as being in the response for a repository are: id, owner, full_name, private, fork, html_url, clone_url, ssh_url, permissions.

The documentation needs to be updated. JSON-parsing libraries sometimes require you to list all potential properties so they can map to an object automatically (apparently Glassfish's Jersey for Java, for example).

(There actually appears to be quite a few things in the response that aren't listed in the documentation.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant