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

Add new endpoint to return everything the annotator view needs for types, etc. #2032

Open
bctcvai opened this issue Feb 26, 2025 · 1 comment

Comments

@bctcvai
Copy link
Member

bctcvai commented Feb 26, 2025

Instead of calling Project, Membership, Versions, LocalizationTypes,StateTypes as individual calls, with the same arguments, we should create 1 REST endpoint that returns all the information in one request.

In the multi-page, we could likely further combine to call it once for all media and subdivide accordingly.

@bctcvai
Copy link
Member Author

bctcvai commented Feb 26, 2025

An approach that could be exciting is a daisy-chain endpoint which allows other endpoints to be called in sequence from the daisychain endpoint. This eliminates round-trip times and overheads associated with connection intialization on data that need not or can not be parallelized. Another use of this endpoint could be multiple-data multiple-operation (e.g. bulk sets where each row gets its own value)

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

No branches or pull requests

1 participant