Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.4 KB

StatusApi.md

File metadata and controls

55 lines (37 loc) · 1.4 KB

swagger_client.StatusApi

All URIs are relative to https://localhost/api/v1

Method HTTP request Description
get_status GET /status Get Cloud Build Status

get_status

list[InlineResponse20016] get_status()

Get Cloud Build Status

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure HTTP basic authorization: apikey
swagger_client.configuration.username = 'YOUR_USERNAME'
swagger_client.configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = swagger_client.StatusApi()

try: 
    # Get Cloud Build Status
    api_response = api_instance.get_status()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StatusApi->get_status: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

list[InlineResponse20016]

Authorization

apikey

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain, text/html, text/csv

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