Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 3.88 KB

README.md

File metadata and controls

76 lines (60 loc) · 3.88 KB

Documentation for API Endpoints

All URIs are relative to https://PSM-IP-addr

Class Method HTTP request Description
RolloutV1Api create_rollout POST /configs/rollout/v1/rollout/CreateRollout Start Rollout operation
RolloutV1Api get_rollout GET /configs/rollout/v1/rollout/{O.Name} Get Rollout object
RolloutV1Api list_rollout GET /configs/rollout/v1/rollout List Rollout objects
RolloutV1Api remove_rollout POST /configs/rollout/v1/rollout/RemoveRollout Remove a Rollout
RolloutV1Api stop_rollout POST /configs/rollout/v1/rollout/StopRollout Stop a Rollout operation
RolloutV1Api update_rollout POST /configs/rollout/v1/rollout/UpdateRollout Update Rollout configuration
RolloutV1Api watch_rollout GET /configs/rollout/v1/watch/rollout Watch Rollout objects. Supports WebSockets or HTTP long poll

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

Notes for Large OpenAPI documents

If the OpenAPI document is large, imports in psm.apis and psm.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:

Solution 1: Use specific imports for apis and models like:

  • from psm.api.default_api import DefaultApi
  • from psm.model.pet import Pet

Solution 1: Before importing the package, adjust the maximum recursion limit as shown below:

import sys
sys.setrecursionlimit(1500)
import psm
from psm.apis import *
from psm.models import *