Example: Basic Code to use Python to retrieve list of Split names and their status for given Workspace and Environment names.
Script will use the REST Admin API to perform the actions. Will return list of Split names and boolean value of "Killed" property, False value mean Split is Active.
Environment:
- Python 2.7.15
- requests 2.18.1
How to use:
- Class wrapper for Admin API is:
SplitAPI.py
- Update the following variables in Main.py:
workspaceName, environmentName
Admin API Key
Comments
0 comments
Please sign in to leave a comment.