Secure export upload¶
These schemas define how the responses of the upload site should appear for the exporter to interact with correctly and securely. The OpenAPI specification for the export exchange upload API makes use of these schemas.
Export exchange key request and response¶
exchange¶
type |
object |
|
properties |
||
|
Valid public key part of a GPG key. |
|
type |
string |
Export exchange file upload response¶
https://gros.liacs.nl/schema/export-exchange/upload_response.json |
upload_response¶
type |
object |
|
properties |
||
|
Whether the upload succeded. |
|
type |
boolean |
|
const |
True |
Export exchange error response¶
https://gros.liacs.nl/schema/export-exchange/error_response.json |
error_response¶
type |
object |
|||
properties |
||||
|
Indication that the exchange was not successful. |
|||
type |
boolean |
|||
const |
False |
|||
|
Information about the error during the exchange attempt. |
|||
type |
object |
|||
properties |
||||
|
HTTP status line for the error. |
|||
type |
string |
|||
pattern |
^[1-5][0-9][0-9] [A-Za-z ]+$ |
|||
|
Description of the error. |
|||
type |
string |
|||
|
Python traceback lines of locations in source code where the error took place, if tracebacks are shown. |
|||
oneOf |
type |
null |
||
type |
string |
|||
|
Version numbers of components involved in the exchange on the server side. |
|||
type |
object |
|||
properties |
||||
|
Version number of the upload server module. |
|||
type |
string |
|||
|
Version number of the CherryPy server module. |
|||
type |
string |