Skip to content

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

@yalgorithm777

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

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