Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Get Agency Dashboard Data with Smaller Fetch Request #296

@DanielJDufour

Description

@DanielJDufour

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It appears that the dashboard is populated by data from this endpoint: https://api.code.gov/status.json, which amounts to over 100kb

Describe the solution you'd like
A clear and concise description of what you want to happen.
I'd like to receive the information to populate the dashboard and only that information. It seems that the status.json returns information about errors, too. Perhaps, there can be a new /dashboard.json endpoint that only returns the required information?

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I could parse the return and create a static json file that I put it in the code-gov-data repo. The front-end site would then fetch that parsed json file, rather than the original from the status.json endpoint.

Additional context
Add any other context or screenshots about the feature request here.
image

I'm going to lazy load this information, so it won't drag down the site performance. This isn't an urgent request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions