| Method | HTTP request | Release Stage |
|---|---|---|
| get | GET /v2/orchestration/scheduleVersions/{scheduleVersionRid} | Public Beta |
| schedule | GET /v2/orchestration/scheduleVersions/{scheduleVersionRid}/schedule | Public Beta |
Get the ScheduleVersion with the specified rid.
| Name | Type | Description | Notes |
|---|---|---|---|
| schedule_version_rid | ScheduleVersionRid | The RID of a schedule version | |
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
ScheduleVersion
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# ScheduleVersionRid | The RID of a schedule version
schedule_version_rid = "ri.scheduler.main.schedule-version.4d1eb55f-6c13-411c-a911-5d84e08d8017"
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.orchestration.ScheduleVersion.get(schedule_version_rid, preview=preview)
print("The get response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling ScheduleVersion.get: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | ScheduleVersion | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
| Name | Type | Description | Notes |
|---|---|---|---|
| schedule_version_rid | ScheduleVersionRid | The RID of a schedule version | |
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
Optional[Schedule]
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# ScheduleVersionRid | The RID of a schedule version
schedule_version_rid = "ri.scheduler.main.schedule-version.4d1eb55f-6c13-411c-a911-5d84e08d8017"
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.orchestration.ScheduleVersion.schedule(
schedule_version_rid, preview=preview
)
print("The schedule response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling ScheduleVersion.schedule: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | Optional[Schedule] | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]