Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.18 KB

SearchApi.md

File metadata and controls

51 lines (34 loc) · 1.18 KB

src.cudo_compute.SearchApi

All URIs are relative to https://rest.compute.cudo.org

Method HTTP request Description
list_regions GET /v1/regions Regions

list_regions

ListRegionsResponse list_regions()

Regions

Example

from __future__ import print_function
import time
import src.cudo_compute
from src.cudo_compute.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = src.cudo_compute.SearchApi()

try:
    # Regions
    api_response = api_instance.list_regions()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SearchApi->list_regions: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

ListRegionsResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]