Get Web Server Certificate Setting
Query the current HTTPS certificate setting of the PBX web server.
Request URL
GET {base_url}/{api_path}/webserver/get?access_token={access_token}
Request parameters
No request parameters. Send the request URL directly to query the setting.
Response parameters
| Parameter | Type | Description |
|---|---|---|
| errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
| errmsg | String | Returned message.
|
| https_cert | String | The name of the HTTPS certificate. |
Example
Request parameter
GET /openapi/v1.0/webserver/get?access_token=GCTkIKhKvbF7DCmguyEN7qJnAO6SEjuD HTTP/1.1 Host: 192.168.5.150:8088
Response parameter
HTTP/1.1 200 OK { "errcode": 0, "errmsg": "SUCCESS", "https_cert": "example.domain.com.crt" }