URL: v3/postsettings

Method: POST

Query Parameters

Parameter Type Possible Values Required/Optional Description
is_comment_enabled boolean 0,1 Required If this field is enabled then comment enable/disable toggle will be visible on article’s page. And if this field is disabled then comment enable/disable toggle will not be available on article’s page.

Response:

{

   "success": true,

   "message":"Settings saved successfully"

}

 

URL: v3/kb/settings/getvalue

Method: GET

Query Parameters: Above parameter mentioned in POST method is added to the existing GET method API

Response:

{

   "success": true,

   "data":{
     "kbsettings": {
            "id": 1,
            "pagination": 10,
            "created_at": "2020-12-03 13:56:16",
            "updated_at": "2021-02-01 08:15:30",
            "status": 1,
            "date_format": "MMMM Do YYYY, h:mm:ss a",
            "is_comment_enabled": 1
        },
        "timezone": "US/Hawaii",
        "timeformat": "F j, Y, g:i a" 
   }

}