mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* CB-2449 rm api changes for writing resources * CB-2455 feat(plugin-resource-manager): Do not rewrite script with the same name * CB-2449 test for writing resource in rm Co-authored-by: Konstantin Vasilev <konstantin.vasiliev@dbeaver.com>
10 lines
484 B
JSON
10 lines
484 B
JSON
{
|
|
"query": "\n mutation writeContent($projectId: String!, $resourcePath: String!, $data: String!, $forceOverwrite: Boolean!) {\n rmWriteResourceStringContent(\n projectId: $projectId\n resourcePath: $resourcePath\n data: $data\n forceOverwrite: $forceOverwrite\n )\n}\n ",
|
|
"variables": {
|
|
"projectId": "u_test",
|
|
"resourcePath": "testScript.sql",
|
|
"data": "TEST SCRIPT;",
|
|
"forceOverwrite": {forceOverwrite}
|
|
},
|
|
"operationName": "writeContent"
|
|
} |