curl --location --request GET 'https://api.mingdao.com/v3/app/roles/' \
--header 'HAP-Appkey: {{appkey}}' \
--header 'HAP-Sign: {{sign}}'{
    "data": {
        "id": "string",
        "name": "string",
        "description": "string",
        "permissionScope": "string",
        "type": "string",
        "hideAppForMembers": "string",
        "globalPermissions": {
            "addRecord": true,
            "share": true,
            "import": true,
            "export": true,
            "discuss": true,
            "systemPrint": true,
            "attachmentDownload": true,
            "log": true
        },
        "worksheetPermissions": [
            {
                "id": "string",
                "recordDataScope": {
                    "read": 0,
                    "edit": 0,
                    "delete": 0
                },
                "worksheetActions": {
                    "shareView": true,
                    "import": true,
                    "export": true,
                    "discuss": true,
                    "batchOperation": true
                },
                "paymentActions": {
                    "pay": "string"
                },
                "recordActions": {
                    "add": true,
                    "share": true,
                    "discuss": true,
                    "systemPrint": true,
                    "attachmentDownload": true,
                    "log": true
                },
                "recordPermissionInViews": [
                    {
                        "viewId": "string",
                        "read": true,
                        "edit": true,
                        "delete": true
                    }
                ],
                "fieldPermissions": [
                    {
                        "id": "string",
                        "add": true,
                        "read": true,
                        "edit": true,
                        "decrypt": true
                    }
                ]
            }
        ],
        "pagePermissions": [
            {
                "id": "string",
                "enable": true
            }
        ]
    },
    "success": true,
    "error_code": 0,
    "error_msg": "string"
}