Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

GET /v1/petitions.json returns no results #124

Open
ptitzler opened this issue Jan 24, 2017 · 2 comments
Open

GET /v1/petitions.json returns no results #124

ptitzler opened this issue Jan 24, 2017 · 2 comments

Comments

@ptitzler
Copy link

... even though there are 10+ petitions open at this time. Is the API now returning alternate facts?

{
  "metadata": {
    "responseInfo": {
      "status": 200,
      "developerMessage": "OK",
      "userMessage": "",
      "errorCode": "",
      "moreInfo": ""
    },
    "requestInfo": {
      "apiVersion": 1,
      "resource": "petitions",
      "query": {
        "body": null,
        "createdAfter": null,
        "createdAt": null,
        "createdBefore": null,
        "isPublic": 1,
        "isSignable": null,
        "limit": 10,
        "mock": 0,
        "offset": 0,
        "petitionsDefaultLimit": 1000,
        "publicThreshold": 149,
        "responseId": null,
        "signatureCount": null,
        "signatureCountCeiling": null,
        "signatureCountFloor": 0,
        "signatureThreshold": null,
        "signatureThresholdCeiling": null,
        "signatureThresholdFloor": null,
        "sortBy": "DATE_REACHED_PUBLIC",
        "sortOrder": "ASC",
        "status": null,
        "title": null,
        "url": null,
        "websiteUrl": "https://petitions.whitehouse.gov"
      }
    },
    "resultset": {
      "count": 0,
      "limit": 10,
      "offset": 0
    }
  },
  "results": []
}
@angela-smithers
Copy link

angela-smithers commented Jan 24, 2017 via email

@edwardr
Copy link

edwardr commented Feb 2, 2017

I think the days of having a developer-friendly administration are over.

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

No branches or pull requests

3 participants