Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Config Solution

sushilraje edited this page Jan 24, 2019 · 1 revision

Get whole solution settings

GET /v1/solution-settings/theme

Response

Returns 200 OK and the solution setting object

The default setting object is:

{
  "name": "My Solution",
  "description": "My Solution Description"
}

Set whole solution settings

PUT /v1/solution-settings/theme

The request body could be any JSON object

Response

Returns 200 OK and the new solution setting object

Get the solution logo

GET /v1/solution-settings/logo

Response

Returns 200 OK and the image binary, with header content-type

If no customer logo uploaded to given slot, it returns the default logo

Upload the solution logo

PUT /v1/solution-settings/logo

The request body should be the image binary. Service will save the image and header content-type to storage, and return them for later GET request.

Response

Returns 200 OK and the upload logo image, with header "content-type"