Skip to content

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

Description

@yalgorithm777
  • 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”}, ...]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions