Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

"Get Cosponsors for a Specific Bill" data structure change? #283

@Jack-Aaron

Description

@Jack-Aaron

re: HTTP Request - GET https://api.propublica.org/congress/v1/{congress}/bills/{bill-id}/cosponsors.json

i.e. the endpoint described on this page of the documentation

It seems the API was down yesterday for several hours while changes were being made. Now it seems the "results" key-value of the return JSON object is wrapped in an array when previously it was not? were any other similar changes made? Is there an official source of information where these types of things are announced? Today my app was broken until I figured out I needed to destructure the return object.

Thanks for everything you all do, this is an invaluable service!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions