Web app API definition (1.0.0)

Download OpenAPI specification:Download

Legal

Redirect to terms of uses

Get the best language for the request based on headers and redirect to the right route. Every parameters are passed to the redirected route.

Responses

Accept terms of use

Accept a specific terms of use version.

header Parameters
Authorization
required
string

A token prefixed with bearer (and a space) given by a call on the application api and containing information on the user and the terms of use version to accept.

Responses

Response samples

Content type
application/json
{
  • "code": 0
}

Latest terms of use

Render the latest terms of use.

path Parameters
lang
required
string = 2 characters

The language in which the terms of use are to be displayed.

query Parameters
email
string <email>

The email of the user, it can match an existing user or not, in the last case this will check if the email matches an organization and display the right terms of use.

label
string

The name of the application white label that request the terms of use. This will change the displayed terms of use to the ones defined for this label.

token
string

A token given by a call to the application API requiring that the latest terms of use are accepted. This token is used to accept the terms by clicking on a button. Giving this token make that the route ignore the email & label parameters.

redirect
string

A URI encoded url to redirect after the user accepted the terms of use. This is only used when token is given. The property response_code is appended to the url, 0 mean success and others not.

raw
boolean

When true the header and footer are not rendered. This is for integrating in a webview.

dark
boolean

Enable dark mode.

Responses

Response samples

Content type
application/json
{
  • "code": -39999999,
  • "message": {
    }
}

Get licenses

Render a page with the list of licenses for Nugets used by the mobile application.

query Parameters
raw
boolean

When true the header and footer are not rendered. This is for integrating in a webview.

dark
boolean

Enable dark mode.

Responses

Response samples

Content type
application/json
{
  • "code": -39999999,
  • "message": {
    }
}