Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.83 KB

File metadata and controls

68 lines (52 loc) · 2.83 KB

Documentation for API Endpoints

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

Class Method HTTP request Description
TelemetryQueryV1Api get_metrics1 GET /telemetry/v1/metrics telemetry metrics query
TelemetryQueryV1Api post_metrics POST /telemetry/v1/metrics telemetry metrics query

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 *