Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions plugins/Rootly/v1/dataStreams/incidents.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
{
"name": "incidents",
Comment thread
noorulkhan-n marked this conversation as resolved.
"tags": ["Incidents"],
"config": {
"httpMethod": "get",
"paging": {
"mode": "offset",
"pageSize": {
"realm": "queryArg",
"path": "page[size]",
"value": "200"
},
"offset": {
"rowCountIn": {
"realm": "payloadArraySize",
"path": "data"
},
"mode": "page",
"base": "1"
},
"out": {
"realm": "queryArg",
"path": "page[number]"
}
},
"expandInnerObjects": true,
"endpointPath": "incidents",
"getArgs": [
Expand All @@ -12,14 +33,6 @@
{
"key": "filter[{{timestampField}}][lte]",
"value": "{{{timeframe.end}}}"
},
{
"key": "page[number]",
"value": "1"
},
{
"key": "page[size]",
"value": "100"
}
],
"postRequestScript": "incidents.js",
Expand Down
3 changes: 1 addition & 2 deletions plugins/Rootly/v1/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rootly",
"displayName": "Rootly",
"version": "1.0.2",
"version": "1.0.3",
"author": {
"name": "@noorulkhan-n",
"type": "community"
Expand All @@ -23,7 +23,6 @@
}
],
"queryArgs": [],
"modules": [],
"authMode": "none",
Comment thread
claude[bot] marked this conversation as resolved.
"baseUrl": "https://api.rootly.com/v1/"
}
Expand Down
Loading