| GET | /languages | Get all available languages |
|---|
"use strict";
export class Language {
/** @param {{languageId?:string,description?:string,translation?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Booster ID of the language */
languageId;
/**
* @type {string}
* @description Description of the language */
description;
/**
* @type {string}
* @description Language description translation */
translation;
}
export class GetLanguagesResponse extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class GetLanguages {
constructor(init) { Object.assign(this, init) }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /languages HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ ]