Difference between revisions of "Data Evaluator"

From DE4A
Jump to navigation Jump to search
m
 
Line 13: Line 13:
 
|-
 
|-
 
| Endpoint
 
| Endpoint
| colspan="2"|{URL}/requestForwardEvidence
+
| colspan="2"|/requestForwardEvidence
 
|-
 
|-
 
| Method
 
| Method
Line 20: Line 20:
 
| Input
 
| Input
 
| RequestForwardEvidence
 
| RequestForwardEvidence
| as defined in [https://github.com/de4a-wp5/xml-schemas/tree/master/XSD schemas]
+
| RequestForwardEvidenceType as defined in [https://github.com/de4a-wp5/xml-schemas/tree/master/XSD schemas]
 
|-
 
|-
 
| Output
 
| Output
 
| ResponseForwardEvidence
 
| ResponseForwardEvidence
| as defined in [https://github.com/de4a-wp5/xml-schemas/tree/master/XSD schemas]
+
| ResponseErrorType as defined in [https://github.com/de4a-wp5/xml-schemas/tree/master/XSD schemas]
 
|}
 
|}
  
Line 41: Line 41:
 
| Input
 
| Input
 
| ResponseUserRedirection
 
| ResponseUserRedirection
| as defined in [https://github.com/de4a-wp5/xml-schemas/tree/master/XSD schemas]
+
| ResponseUserRedirectionType as defined in [https://github.com/de4a-wp5/xml-schemas/tree/master/XSD schemas]
 
|-
 
|-
 
| Output
 
| Output

Latest revision as of 14:22, 30 August 2021


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 /requestForwardEvidence
Method POST
Input RequestForwardEvidence RequestForwardEvidenceType as defined in schemas
Output ResponseForwardEvidence ResponseErrorType 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 ResponseUserRedirectionType as defined in schemas
Output HTTP 303 The location header should be the URL where to redirect the user.