Skip to content

Task 7: implement the API of writing answers (returned by the front-end) to the Answer table #16

@yalgorithm777

Description

@yalgorithm777
  • Path:
    • /answer/
  • Available methods:
    • POST
  • Required fields (front-end provides to the back-end):
    • “user_token”: returned by the server (obtained from the /user/ API)
    • “data”: [{“timestamp”: XXX, “location_id”: XXX, “year_new”: XXX, “year_old”: XXX, “zoom_level”: XXX, “left_top_lat”: XXX, “left_top_lng”: XXX, “bottom_right_lat”: XXX, “bottom_right_lng”: XXX, “land_usage”: XXX, “expansion”: XXX}, ...]
  • Returned fields (back-end returns to the front-end):
    • “passed”: does the user pass the data quality check using gold standards

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions