Appearance
Get configList for a rule
About 229 wordsLess than 1 minute
apiData Security
2025-03-13
MethodPOST
Request URL
/plugin/datafor-modeler/api/auth/row/config/query
Authorization
Use of this API requires authentication. For details about the authentication method, see
Authorization.
Content Typeapplication/json
Preconditions
- The current user’s type cannot be
SYS_Reader
. - The current user must have administrative privileges for the connection.
Request Schema
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | Yes | Request payload |
├── group_id | body | string | Yes | Rule group ID |
├── dbconn | body | string | Yes | Database connection name |
Request Example
{
"group_id": "b096f367be994cf9bf9080c72120df3e",
"dbconn": "Demo"
}
Response Examples
{
"msg": "success",
"code": "200",
"data": [
{
"schema": "public",
"dbconn": "Demo",
"tbname": "time_dim",
"group_id": "b096f367be994cf9bf9080c72120df3e",
"id": "d3a7e82ddd6d4126bcd749a6f1876e30",
"rows": "{\"field\":\"YEAR\",\"operator\":\"=\",\"value\":2005}",
"sql": "\"YEAR\"=2005"
}
],
"success": true
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | none | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Description |
---|---|---|---|
msg | string | No | Response message |
code | string | No | Response status code |
data | array | Yes | List of configuration rules |
├── schema | string | No | Database schema |
├── dbconn | string | No | Database connection name |
├── tbname | string | No | Table name |
├── group_id | string | No | Rule group ID |
├── id | string | No | Configuration rule ID |
├── rows | string | No | Row filter condition in JSON format |
├── sql | string | No | SQL condition |
success | boolean | Yes | Request success status |