Skip to content

【Login Mapping】Mapping Configuration List



GET /api/v1/login_mapping/field/list

Overview

Query Request Parameters

Parameter Name Type Required Description
search string No Search, default search role name, source field name, and source field value
Example: supper_workspace
Allow empty: False
workspaceUUID string No Workspace UUID
Example: Workspace UUID
Allow empty: False
pageIndex integer No Page index
Allow empty: False
Example: 10
$minValue: 1
pageSize integer No Number of items per page
Allow empty: False
Example: 10
$minValue: 1
$maxValue: 100

Additional Parameter Explanation

Request Example

curl '<Endpoint>/api/v1/login_mapping/field/list?pageIndex=1&pageSize=1' \
  -H 'Content-Type: application/json' \
  -H 'X-Df-Access-Key: <AK key>' \
  -H 'X-Df-Nonce: <random characters>' \
  -H 'X-Df-Signature: <signature>' \
  -H 'X-Df-Timestamp: <timestamp>'

Response

{
    "code": 200,
    "content": {
        "data": [
            {
                "createAt": 1715323808,
                "creator": "sys",
                "deleteAt": -1,
                "id": 230,
                "isSystem": 1,
                "roles": [
                    {
                        "name": "Read-only",
                        "uuid": "readOnly"
                    }
                ],
                "sourceField": "email2",
                "sourceValue": "xxx@qq.com",
                "status": 0,
                "targetValues": [
                    "readOnly"
                ],
                "updateAt": 1715324192,
                "updator": "sys",
                "uuid": "lgmp_xxxxx",
                "workspaceName": "LWC Test B Workspace",
                "workspaceUUID": "wksp_xxxxx"
            }
        ],
        "pageInfo": {
            "count": 1,
            "pageIndex": 1,
            "pageSize": 1,
            "totalCount": 53
        }
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-A046B901-DCF9-44BF-AC4C-E48DB7959BF9"
} 

Feedback

Is this page helpful? ×