Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the format of GET /frame request #17

Open
arnabsen1729 opened this issue Jan 3, 2021 · 0 comments
Open

Change the format of GET /frame request #17

arnabsen1729 opened this issue Jan 3, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@arnabsen1729
Copy link
Collaborator

Description

Right now a GET request to /frame fetches all the frame data, since the data is very big, it takes a considerable amount of time, causing performance issue. A better approach would be to add another endpoint, which will GET a frame by id. /frame?id=.

Now the GET request to /frame will respond with an array of Frame_ids, without the frame data. Hence performance will be improved. And then GET request to /frame?id= with the id will return the Frame object.

@arnabsen1729 arnabsen1729 added enhancement New feature or request good first issue Good for newcomers labels Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant