Data Store
Get Data Store
Endpoint to retrieve a single Data Store by ID
post/data-store/{id}/get-item
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the Data Store to retrieve
Request body
Example request
{
"select": {
"_id": true,
"createdAt": true,
"updatedAt": true,
"kind": true,
"provider": true,
"family": true,
"discoveredFrom": true,
"cloudAccountNumber": true
}
}Response
Successful response
Example response
{
"data": {
"_id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"version": 42,
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"name": "This is an example of longer text content that might be stored in this field.",
"description": "This is an example of longer text content that might be stored in this field.",
"storeKey": "This is an example of longer text content that might be stored in this field.",
"kind": "AWS S3 Bucket",
"provider": "Example short text",
"family": "Example short text",
"discoveredFrom": "Example short text",
"cloudAccountId": "123e4567-e89b-12d3-a456-426614174000",
"cloudResourceId": "123e4567-e89b-12d3-a456-426614174000",
"cloudConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"databaseServerId": "123e4567-e89b-12d3-a456-426614174000",
"serviceId": "123e4567-e89b-12d3-a456-426614174000",
"providerResourceId": "This is an example of longer text content that might be stored in this field.",
"cloudAccountNumber": "Example short text",
"region": "Example short text",
"environment": "Production",
"sensitivity": "Restricted",
"sensitivityOverride": "Restricted",
"dataTypeIds": {
"key": "value",
"nested": {
"data": 123
}
},
"dataCategories": {
"key": "value",
"nested": {
"data": 123
}
},
"subjectCountries": {
"key": "value",
"nested": {
"data": 123
}
},
"exposure": "Public",
"posture": {
"key": "value",
"nested": {
"data": 123
}
},
"cloudTags": {
"key": "value",
"nested": {
"data": 123
}
},
"sizeInBytes": 1000000,
"objectCount": 1000000,
"estimatedRecords": 1000000,
"lastActivityAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"isPublicByDesign": true,
"isAiData": true,
"isContentScanEnabled": true,
"scanProbeId": "123e4567-e89b-12d3-a456-426614174000",
"probeConnectionVariable": "Example short text",
"scanExclusions": {
"key": "value",
"nested": {
"data": 123
}
},
"watchedPaths": "This is an example of very long text content that might be stored in this field. It can contain a lot of information, such as detailed descriptions, comments, or any other lengthy text data that needs to be stored in the database.",
"purpose": "This is an example of longer text content that might be stored in this field.",
"retention": "Example short text",
"configurationReadAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"contentScannedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"contentScanStatus": "Example short text",
"nextContentScanAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"isTableHealthEnabled": true,
"tableHealthCollectedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"tableHealthStatus": "Example short text",
"tableHealthMessage": "This is an example of longer text content that might be stored in this field.",
"tableHealthAssetCount": 42,
"newPersonalDataColumns": {
"key": "value",
"nested": {
"data": 123
}
},
"findingCount": 42,
"openIssueCount": 42,
"highestIssueSeverity": "Critical",
"riskScore": 42,
"isArchived": true,
"firstSeenAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"lastSeenAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"labels": [
{
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
],
"createdByUserId": "123e4567-e89b-12d3-a456-426614174000",
"deletedByUserId": "123e4567-e89b-12d3-a456-426614174000"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.