File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,6 +87,18 @@ namespace CoreSystem.Responses {
8787 id : uuid ;
8888 }
8989
90+ @ doc ("Response model for updating a form response" )
91+ model UpdateResponse {
92+ @ doc ("The response's unique identifier." )
93+ id : uuid ;
94+
95+ @ doc ("The last updated timestamp of the response." )
96+ updatedAt : utcDateTime ;
97+
98+ @ doc ("The updated answer data." )
99+ answers : (AnswerJSON | ScaleAnswerJSON | OauthAnswerJSON )[];
100+ }
101+
90102 @ doc ("Response model for a single response in list view" )
91103 model ResponseJSON {
92104 @ doc ("The response's unique identifier." )
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ namespace CoreSystem.Responses {
3131 @ patch (#{ implicitOptionality : true })
3232 op updateFormResponse (@ path id : uuid , @ body req : AnswersRequest ): {
3333 @ statusCode statusCode : 200 ;
34+ @ body response : UpdateResponse ;
3435 };
3536
3637 @ summary ("Connect OAuth Account" )
You can’t perform that action at this time.
0 commit comments