Data Evaluator
Revision as of 14:02, 30 August 2021 by Andreas.berg (talk | contribs)
Interfaces
There are two interfaces defined on the Data Evaluator DE1 and DE2. Both of them are used by the USI pattern.
DE1
The interface is used by the connector acting as DT to forward the evidence to the DE.
Interface definition | ||
---|---|---|
Endpoint | {URL}/requestForwardEvidence | |
Method | POST | |
Input | RequestForwardEvidence | as defined in schemas |
Output | ResponseForwardEvidence | as defined in schemas |
DE2
The interface is used in redirecting the user back to the DE from the DO after the evidence preview. Note this interaction is changed for iteration 2 and DE2 is only used in iteration 1.
Interface definition | ||
---|---|---|
Endpoint | The endpoint can be freely set, it's sent to the DO in the previous RequestUserRedirection POST to the DO. | |
Method | POST | |
Input | ResponseUserRedirection | as defined in schemas |
Output | HTTP 303 | The location header should be the URL where to redirect the user. |