-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added code to send a request to the endpoint that allows a user to re…
…trieve all detectors.
- Loading branch information
Bader Aljishi
committed
Dec 15, 2024
1 parent
395dfde
commit 2ff842f
Showing
3 changed files
with
172 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"count": 607, | ||
"results": [ | ||
{ | ||
"authorizedWriters": { | ||
"teams": [ | ||
"string" | ||
], | ||
"users": [ | ||
"string" | ||
] | ||
}, | ||
"created": 1533676829310, | ||
"creator": "\"ZZZZZZZZZZZ\" if the system created the detector", | ||
"customProperties": "string", | ||
"description": "string", | ||
"id": "string", | ||
"parentDetectorId": "string", | ||
"detectorOrigin": "Standard", | ||
"labelResolutions": { | ||
"DetectorA": 2000, | ||
"DetectorB": 2000 | ||
}, | ||
"lastUpdated": 1533676829310, | ||
"lastUpdatedBy": "string", | ||
"locked": true, | ||
"maxDelay": 60000, | ||
"name": "string", | ||
"overMTSLimit": true, | ||
"programText": "string", | ||
"rules": [ | ||
{ | ||
"description": "string", | ||
"detectLabel": "string", | ||
"disabled": true, | ||
"notifications": [ | ||
{ | ||
"channel": "limit-notifications", | ||
"credentialId": "ZZZZZZZAAAA", | ||
"type": "Slack" | ||
} | ||
], | ||
"parameterizedBody": "string", | ||
"parameterizedSubject": "string", | ||
"runbookUrl": "string", | ||
"severity": "Critical" | ||
} | ||
], | ||
"tags": [ | ||
"string" | ||
], | ||
"teams": [ | ||
"string" | ||
], | ||
"visualizationOptions": { | ||
"disableSampling": true, | ||
"showDataMarkers": true, | ||
"showEventLines": true, | ||
"time": { | ||
"end": 0, | ||
"range": 0, | ||
"start": 0, | ||
"type": "absolute" | ||
} | ||
} | ||
}, | ||
{ | ||
"authorizedWriters": { | ||
"teams": [ | ||
"string" | ||
], | ||
"users": [ | ||
"string" | ||
] | ||
}, | ||
"created": 1533676829319, | ||
"creator": "\"AAAAAAAAAA\" if the system created the detector", | ||
"customProperties": "string", | ||
"description": "string", | ||
"id": "string1", | ||
"parentDetectorId": "string", | ||
"detectorOrigin": "Standard", | ||
"labelResolutions": { | ||
"DetectorA": 3000, | ||
"DetectorB": 5000 | ||
}, | ||
"lastUpdated": 1533676829319, | ||
"lastUpdatedBy": "string", | ||
"locked": true, | ||
"maxDelay": 60000, | ||
"name": "string", | ||
"overMTSLimit": true, | ||
"programText": "string", | ||
"rules": [ | ||
{ | ||
"description": "string", | ||
"detectLabel": "string", | ||
"disabled": true, | ||
"notifications": [ | ||
{ | ||
"channel": "limit-notifications", | ||
"credentialId": "ZZZZZZZAAAA", | ||
"type": "Slack" | ||
} | ||
], | ||
"parameterizedBody": "string", | ||
"parameterizedSubject": "string", | ||
"runbookUrl": "string", | ||
"severity": "Critical" | ||
} | ||
], | ||
"tags": [ | ||
"string" | ||
], | ||
"teams": [ | ||
"string" | ||
], | ||
"visualizationOptions": { | ||
"disableSampling": true, | ||
"showDataMarkers": true, | ||
"showEventLines": true, | ||
"time": { | ||
"end": 0, | ||
"range": 0, | ||
"start": 0, | ||
"type": "absolute" | ||
} | ||
} | ||
} | ||
] | ||
} |