-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Source subject Details to endpoints that return individual …
…answer submissions (M2-8140) (#1645) This PR updates the following endpoints to add a nullable `sourceSubject` property to their `answer` objects - Get activity answer: `GET /answers/applet/{applet_id}/activities/{activity_id}/answers/{answer_id}` - Get flow submission: `GET /answers/applet/{applet_id}/flows/{flow_id}/submissions/{submit_id}` The structure of the `sourceSubject` is the same `SubjectReadResponse` as that returned from get subject endpoint (`GET /subjects/{subject_id}`). The only exception being that the `lastSeen` property will always be null in these cases.
- Loading branch information
1 parent
6b158cc
commit a7cfa5f
Showing
3 changed files
with
143 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters