added bruno
This commit is contained in:
31
brunoApi/datamart/add new query.bru
Normal file
31
brunoApi/datamart/add new query.bru
Normal file
@@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: add new query
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/datamart
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "active av",
|
||||
"description":"this is just the query on what it dose",
|
||||
"query": "select * \nfrom tableA"
|
||||
}
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: sqlStats
|
||||
description: returns all active articles for the server with custom data
|
||||
options: ""
|
||||
queryFile: @file(C:\Users\matthes01\Nextcloud2\sqlQuerys\basisArticles.sql)
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
Reference in New Issue
Block a user