Lee-W opened a new issue, #52094:
URL: https://github.com/apache/airflow/issues/52094

   ### Description
   
   According to 
[AIP-90](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=362056119#AIP90Humanintheloop-ScreenMockups),
 we'll need the following pages to enable users to respond through the Airflow 
UI, in addition to using the REST API.
   
   ### 1. An input page that allows users to enter
   
![Image](https://github.com/user-attachments/assets/f82988bb-7187-4ac1-85db-cc4d637ff4b0)
   
   This involves two public API (not yet implemented or finalized)
   
   1. `GET /hitl/input-requests/{task_instance_id}`: get the details to render 
on the pages (this API should probably also have the information on whether the 
input-request has been fulfilled)
   2. `POST /hitl/responses/{task_instance_id}/`: after users enter data 
through the form or click the button, this API should be called, and then it 
should be disabled as we only accept one input.
   
   ### 2. A page that shows tasks waiting for responses
   1. `GET /hitl/input-requests`
   
   
![Image](https://github.com/user-attachments/assets/5a0024e7-441d-485c-9a97-7bb8067a906e)
   
   ### Use case/motivation
   
   
[AIP-90](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=362056119)
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to