| Method | HTTP request | Release Stage |
|---|---|---|
| create | POST /v2/dataHealth/checks | Public Beta |
| delete | DELETE /v2/dataHealth/checks/{checkRid} | Public Beta |
| get | GET /v2/dataHealth/checks/{checkRid} | Public Beta |
| replace | PUT /v2/dataHealth/checks/{checkRid} | Public Beta |
Creates a new Check.
| Name | Type | Description | Notes |
|---|---|---|---|
| config | CheckConfig | ||
| intent | Optional[CheckIntent] | [optional] | |
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
Check
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# CheckConfig
config = None
# Optional[CheckIntent]
intent = "Check to ensure builds are passing."
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.data_health.Check.create(config=config, intent=intent, preview=preview)
print("The create response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling Check.create: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | Check | The created Check | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Delete the Check with the specified rid.
| Name | Type | Description | Notes |
|---|---|---|---|
| check_rid | CheckRid | ||
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
None
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# CheckRid
check_rid = "ri.data-health.main.check.8e27b13a-e21b-4232-ae1b-76ccf5ff42b3"
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.data_health.Check.delete(check_rid, preview=preview)
print("The delete response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling Check.delete: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 204 | None | None |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Get the Check with the specified rid.
| Name | Type | Description | Notes |
|---|---|---|---|
| check_rid | CheckRid | ||
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
Check
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# CheckRid
check_rid = "ri.data-health.main.check.8e27b13a-e21b-4232-ae1b-76ccf5ff42b3"
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.data_health.Check.get(check_rid, preview=preview)
print("The get response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling Check.get: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | Check | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Replace the Check with the specified rid. Changing the type of a check after it has been created is not supported.
| Name | Type | Description | Notes |
|---|---|---|---|
| check_rid | CheckRid | ||
| config | ReplaceCheckConfig | ||
| intent | Optional[CheckIntent] | [optional] | |
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
Check
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# CheckRid
check_rid = "ri.data-health.main.check.8e27b13a-e21b-4232-ae1b-76ccf5ff42b3"
# ReplaceCheckConfig
config = None
# Optional[CheckIntent]
intent = "Check to ensure builds are passing."
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.data_health.Check.replace(
check_rid, config=config, intent=intent, preview=preview
)
print("The replace response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling Check.replace: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | Check | The replaced Check | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]