Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

[tk:backend] Accept new contribution of type "APIEvent" #806

Closed
ascariandrea opened this issue Nov 24, 2022 · 0 comments · Fixed by #811 or #793
Closed

[tk:backend] Accept new contribution of type "APIEvent" #806

ascariandrea opened this issue Nov 24, 2022 · 0 comments · Fixed by #811 or #793
Assignees

Comments

@ascariandrea
Copy link
Collaborator

The issue #803 will let the extension send a new APIEvent to the tk:backend as contribution that needs to be properly handled.

Proposed Solution

  • extend the tk:backend schema with a new collection called apiRequests
    • define indexes for id (unique), experimentId, publicKey
  • extend the current handler for POST /v2/events to accept the new APIEvent contribution and store it in the proper collection apiRequests
@ascariandrea ascariandrea self-assigned this Nov 24, 2022
@ascariandrea ascariandrea changed the title [tk:backend] Accept new event "APIEvent" as valid contribution [tk:backend] Accept new contribution of type "APIEvent" Nov 24, 2022
This was linked to pull requests Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant