Skip to content

Repo JSON response does not match documentation #108

@kylegoetz

Description

@kylegoetz

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy