-
Notifications
You must be signed in to change notification settings - Fork 60
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
new endpoint /workflows/response #1927
Labels
Comments
7 tasks
@humansinstitute I can help? |
@humansinstitute Please assign me? |
@humansinstitute assign me? |
This would be blocked until this ticket is merged to allow access to the wf_requests table: #1925 |
@humansinstitute, Please assign me? |
This was referenced Nov 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
/workflows/response
endpoint will update thewf_requests
table with response data, ensuring that the status of each request is accurately tracked.This is related to a broader project defined here:
For context see: #1922
System Schematic:
Design
The logical flow to process a response is:
POST to /workflow/action
Endpoint:
/workflows/response
HTTP Method: POST
Request Body: JSON object containing response data from Stakwork.
Database Interaction: Update the
wf_requests
table with the response data based onrequest_id
.Database Interaction: Use the
wf_processing_map
to check for next processing action based onaction
.Task Breakdown
Assignment Criteria
Acceptance Criteria
/workflows/response
endpoint accepts POST requests with valid JSON response data.wf_requests
table with the correct response data based onrequest_id
.The text was updated successfully, but these errors were encountered: