curl --request GET \
--url http://localhost:8080/api/v1/settings/general \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": {
"app.site_name": "Libredesk",
"app.lang": "en",
"app.timezone": "Asia/Kolkata",
"app.business_hours_id": "",
"app.logo_url": "http://localhost:9000/logo.png",
"app.root_url": "http://localhost:9000",
"app.favicon_url": "http://localhost:9000/favicon.ico",
"app.max_file_upload_size": 20,
"app.allowed_file_upload_extensions": [
"*"
],
"app.update": null,
"app.version": "1.0.0"
}
}
curl --request GET \
--url http://localhost:8080/api/v1/settings/general \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": {
"app.site_name": "Libredesk",
"app.lang": "en",
"app.timezone": "Asia/Kolkata",
"app.business_hours_id": "",
"app.logo_url": "http://localhost:9000/logo.png",
"app.root_url": "http://localhost:9000",
"app.favicon_url": "http://localhost:9000/favicon.ico",
"app.max_file_upload_size": 20,
"app.allowed_file_upload_extensions": [
"*"
],
"app.update": null,
"app.version": "1.0.0"
}
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
General settings response
The response is of type object
.
Was this page helpful?