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

https://gros.liacs.nl/schema/export-exchange/exchange.json

exchange

exchange

type

object

properties

  • pubkey

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

upload_response

type

object

properties

  • success

Whether the upload succeded.

type

boolean

const

True

Export exchange error response

https://gros.liacs.nl/schema/export-exchange/error_response.json

error_response

error_response

type

object

properties

  • success

Indication that the exchange was not successful.

type

boolean

const

False

  • error

Information about the error during the exchange attempt.

type

object

properties

  • status

HTTP status line for the error.

type

string

pattern

^[1-5][0-9][0-9] [A-Za-z ]+$

  • message

Description of the error.

type

string

  • traceback

Python traceback lines of locations in source code where the error took place, if tracebacks are shown.

oneOf

type

null

type

string

  • version

Version numbers of components involved in the exchange on the server side.

type

object

properties

  • upload

Version number of the upload server module.

type

string

  • cherrypy

Version number of the CherryPy server module.

type

string