Get Public Settings
    • Dark
      Light
    • PDF

    Get Public Settings

    • Dark
      Light
    • PDF

    Article summary

    Retrieve all public settings.

    Method

    Requires Auth

    public-settings/get

    Yes

    Payload parameters

    Argument

    Example

    Required

    Description

    date

    { "$date": 1480377601 }

    Optional

    Filters the results to contain the updated and removed settings after the provided time. It accepts timestamps.

    Example call to retrieve all settings

    {
        "msg": "method",
        "method": "public-settings/get",
        "id": "42"
    }

    Example response

    {
        "msg": "result",
        "id": "42",
        "result": [
            {
                "_id": "FileUpload_Enabled",
                "value": true,
                "enterprise": false,
                "requiredOnWizard": false
            },
            {
                "_id": "FileUpload_MaxFileSize",
                "value": 104857600,
                "enterprise": false,
                "requiredOnWizard": false
            },
            {
                "_id": "FileUpload_MediaTypeWhiteList",
                "value": "",
                "enterprise": false,
                "requiredOnWizard": false
            },
            {
                "_id": "FileUpload_MediaTypeBlackList",
                "value": "image/svg+xml",
                "enterprise": false,
                "requiredOnWizard": false
            },
            {
                "_id": "FileUpload_ProtectFiles",
                "value": true,
                "enterprise": false,
                "requiredOnWizard": false
            },
            {
                "_id": "FileUpload_RotateImages",
                "value": true,
                "enterprise": false,
                "requiredOnWizard": false
            },
    }

    Example call to retrieve the updated and removed settings since the provided date

    {
        "msg": "method",
        "method": "public-settings/get",
        "id": "42",
        "params": [ { "$date": 1480377601 } ]
    }

    Example response

    "result": {
            "update": [
                {
                    "_id": "FileUpload_Enabled",
                    "value": true,
                    "enterprise": false,
                    "requiredOnWizard": false
                },
                {
                    "_id": "FileUpload_MaxFileSize",
                    "value": 104857600,
                    "enterprise": false,
                    "requiredOnWizard": false
                },
                {
                    "_id": "FileUpload_MediaTypeWhiteList",
                    "value": "",
                    "enterprise": false,
                    "requiredOnWizard": false
                },
                {
                    "_id": "FileUpload_MediaTypeBlackList",
                    "value": "image/svg+xml",
                    "enterprise": false,
                    "requiredOnWizard": false
                },
                {
                    "_id": "FileUpload_ProtectFiles",
                    "value": true,
                    "enterprise": false,
                    "requiredOnWizard": false
                },
                {
                    "_id": "FileUpload_RotateImages",
                    "value": true,
                    "enterprise": false,
                    "requiredOnWizard": false
                }
                 ],
            "remove": []
        }
    }


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence