Skip to content

Mapping Configuration List



GET /api/v1/login_mapping/field/list

Overview

Query Request Parameters

Parameter Name Type Required Description
search string Search, default searches for role names, source field names, and source field values
Example: supper_workspace
Can be empty: False
workspaceUUID string Workspace UUID
Example: Workspace UUID
Can be empty: False
pageIndex integer Page number
Can be empty: False
Example: 10
$minValue: 1
pageSize integer Number of results per page
Can be empty: False
Example: 10
$minValue: 1
$maxValue: 100

Additional Parameter Notes

Request Example

curl 'https://external-api.guance.com/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@guance.com",
                "status": 0,
                "targetValues": [
                    "readOnly"
                ],
                "updateAt": 1715324192,
                "updator": "sys",
                "uuid": "lgmp_xxxxx",
                "workspaceName": "LWC Test B Space",
                "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? ×