Edit app settings

update app settings

post
/v0/cms/app/settings/update

update your custom app settings (request & response contain all your custom JSON field). Request & response is example

Authorizations
AuthorizationstringRequired
Body
titlestringOptional

site title

faviconstringOptional

url of favicon

isMaintenancebooleanOptional

indicates web is under maintenance or not

isSchoolCasebooleanOptional

indicates web is used for students or not

isTestCasebooleanOptional

indicates web is for student test only (no course) or not

layoutstringOptional

layout type

logo_darkstringOptional

url of dark logo

logo_lightstringOptional

url of light logo

Responses
post
/v0/cms/app/settings/update
POST /v0/cms/app/settings/update HTTP/1.1
Host: services.alkamedia.id
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 276

{
  "title": "text",
  "css": {
    "clr_primary": "text",
    "clr_secondary": "text"
  },
  "favicon": "text",
  "isMaintenance": true,
  "isSchoolCase": true,
  "meta": {
    "image": "text",
    "keyword": "text",
    "title": "text",
    "description": "text"
  },
  "isTestCase": true,
  "layout": "text",
  "logo_dark": "text",
  "logo_light": "text"
}
200

Response

{
  "data": {
    "favicon": "text",
    "isSchoolCase": true,
    "meta": {
      "description": "text",
      "image": "text",
      "keyword": "text",
      "title": "text"
    },
    "css": {
      "clr_primary": "text",
      "clr_secondary": "text"
    },
    "isTestCase": true,
    "layout": "text",
    "logo_dark": "text",
    "logo_light": "text",
    "title": "text",
    "isMaintenance": true
  },
  "message": "success",
  "status": true
}

Last updated