Skip to content

Response payload should be checked #6

@cmungall

Description

@cmungall

Sometimes the response payload is:

{
  "message": "Problems parsing JSON",
  "documentation_url": "https://developer.github.com/v3"
}

this is currently not detected.

We expect something like this:

{
  "id": 224873,
  "status": "pending",
  "url": "https://api.github.com/repos/geneontology/go-ontology/import/issues/224873",
  "import_issues_url": "https://api.github.com/repos/geneontology/go-ontology/import/issues",
  "repository_url": "https://api.github.com/repos/geneontology/go-ontology",
  "created_at": "2015-07-25T11:38:19-07:00",
  "updated_at": "2015-07-25T11:38:19-07:00"
}

even this is no guarantee of success - the URL should be checked

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions