Retrieve Workspace Details
This endpoint returns a full export JSON file for the workspace. This will include policy and cluster definitions.
GET /openapi/v1/applications/{application_id}/details
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
application_id |
string |
The unique identifier for the workspace. |
version |
string |
(optional) A version in the form of ‘v10’ or ‘p10’, defaults to ‘latest’. |
Response object: Returns the clusters and policies for the given workspace version.
Sample python code
application_id = '5d02b493755f0237a3d6e078'
# For v* version v10 and for p* version p10
version = 'v10'
resp = restclient.get('/applications/%s/details?version=%s' % (application_id, version))