Get Snippet
GET/dlp/api/v1/inventory/snippet/objects/:objectId/datapattern/:dataPatternId
Returns a snippet for the given object and data pattern.
Request
Path Parameters
objectId stringrequired
Object ID
dataPatternId stringrequired
Data pattern ID
Responses
- 200
- 400
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
dataPattern string
Matching data patterns
highConfidenceDetections object[]
List of high confidence detections
detection string
Detection technique
left string
Left detection
origOffSet int64
Offset by
right string
Right detection
textLength int64
Text Length
lowConfidenceDetections object[]
List of low confidence detections
detection string
Detection technique
left string
Left detection
origOffSet int64
Offset by
right string
Right detection
textLength int64
Text Length
matchedConfidenceLevel string
Matched Confidence level
mediumConfidenceDetections object[]
List of medium confidence detections
detection string
Detection technique
left string
Left detection
origOffSet int64
Offset by
right string
Right detection
textLength int64
Text Length
statusCode int32
Snippets status code
{
"dataPattern": "string",
"highConfidenceDetections": [
{
"detection": "string",
"left": "string",
"origOffSet": 0,
"right": "string",
"textLength": 0
}
],
"lowConfidenceDetections": [
{
"detection": "string",
"left": "string",
"origOffSet": 0,
"right": "string",
"textLength": 0
}
],
"matchedConfidenceLevel": "string",
"mediumConfidenceDetections": [
{
"detection": "string",
"left": "string",
"origOffSet": 0,
"right": "string",
"textLength": 0
}
],
"statusCode": 0
}
bad_request
Loading...