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

Task 5: implement the API of providing locations in the Location table to the front-end #14

Open
yalgorithm777 opened this issue Nov 3, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@yalgorithm777
Copy link
Collaborator

yalgorithm777 commented Nov 3, 2021

  • Path:
    • /location/
  • Available methods:
    • GET
  • Required fields (front-end provides to the back-end):
    • “user_token”: returned by the server (obtained from the /user/ API)
    • "size": number of the locations that the front-end needs
    • “gold_standard_size”: number of the gold standards that the front-end needs
  • Returned fields (back-end returns to the front-end):
    • “data”: [{"factory_id", “the ID of the factory”, “location_id”: ”the ID of the location”}, ...]
@yalgorithm777 yalgorithm777 changed the title Task 5: implement the API of providing gold standards in the Answer table to the front-end Task 4: implement the API of providing locations to the front-end Nov 3, 2021
@yalgorithm777 yalgorithm777 changed the title Task 4: implement the API of providing locations to the front-end Task 5: implement the API of providing locations to the front-end Nov 3, 2021
@yalgorithm777 yalgorithm777 changed the title Task 5: implement the API of providing locations to the front-end Task 5: implement the API of providing locations in the Location table to the front-end Nov 3, 2021
@yalgorithm777 yalgorithm777 added the enhancement New feature or request label Nov 17, 2021
@Sourbiebie Sourbiebie self-assigned this Nov 23, 2021
@Sourbiebie
Copy link
Contributor

Done and wait for review.

Sourbiebie added a commit that referenced this issue Jan 11, 2022
Import the gold standard and location with sample CSV with headers

#14

#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants