All URIs are relative to http://localhost:2746
Method | HTTP request | Description |
---|---|---|
collect_event | POST /api/v1/tracking/event | |
get_info | GET /api/v1/info | |
get_user_info | GET /api/v1/userinfo | |
get_version | GET /api/v1/version |
bool, date, datetime, dict, float, int, list, str, none_type collect_event(body)
- Api Key Authentication (BearerToken):
import time
import argo_workflows
from argo_workflows.api import info_service_api
from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError
from argo_workflows.model.io_argoproj_workflow_v1alpha1_collect_event_request import IoArgoprojWorkflowV1alpha1CollectEventRequest
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:2746
# See configuration.py for a list of all supported configuration parameters.
configuration = argo_workflows.Configuration(
host = "http://localhost:2746"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: BearerToken
configuration.api_key['BearerToken'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['BearerToken'] = 'Bearer'
# Enter a context with an instance of the API client
with argo_workflows.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = info_service_api.InfoServiceApi(api_client)
body = IoArgoprojWorkflowV1alpha1CollectEventRequest(
name="name_example",
) # IoArgoprojWorkflowV1alpha1CollectEventRequest |
# example passing only required values which don't have defaults set
try:
api_response = api_instance.collect_event(body)
pprint(api_response)
except argo_workflows.ApiException as e:
print("Exception when calling InfoServiceApi->collect_event: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | IoArgoprojWorkflowV1alpha1CollectEventRequest |
bool, date, datetime, dict, float, int, list, str, none_type
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IoArgoprojWorkflowV1alpha1InfoResponse get_info()
- Api Key Authentication (BearerToken):
import time
import argo_workflows
from argo_workflows.api import info_service_api
from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError
from argo_workflows.model.io_argoproj_workflow_v1alpha1_info_response import IoArgoprojWorkflowV1alpha1InfoResponse
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:2746
# See configuration.py for a list of all supported configuration parameters.
configuration = argo_workflows.Configuration(
host = "http://localhost:2746"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: BearerToken
configuration.api_key['BearerToken'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['BearerToken'] = 'Bearer'
# Enter a context with an instance of the API client
with argo_workflows.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = info_service_api.InfoServiceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_info()
pprint(api_response)
except argo_workflows.ApiException as e:
print("Exception when calling InfoServiceApi->get_info: %s\n" % e)
This endpoint does not need any parameter.
IoArgoprojWorkflowV1alpha1InfoResponse
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IoArgoprojWorkflowV1alpha1GetUserInfoResponse get_user_info()
- Api Key Authentication (BearerToken):
import time
import argo_workflows
from argo_workflows.api import info_service_api
from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError
from argo_workflows.model.io_argoproj_workflow_v1alpha1_get_user_info_response import IoArgoprojWorkflowV1alpha1GetUserInfoResponse
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:2746
# See configuration.py for a list of all supported configuration parameters.
configuration = argo_workflows.Configuration(
host = "http://localhost:2746"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: BearerToken
configuration.api_key['BearerToken'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['BearerToken'] = 'Bearer'
# Enter a context with an instance of the API client
with argo_workflows.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = info_service_api.InfoServiceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_user_info()
pprint(api_response)
except argo_workflows.ApiException as e:
print("Exception when calling InfoServiceApi->get_user_info: %s\n" % e)
This endpoint does not need any parameter.
IoArgoprojWorkflowV1alpha1GetUserInfoResponse
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IoArgoprojWorkflowV1alpha1Version get_version()
- Api Key Authentication (BearerToken):
import time
import argo_workflows
from argo_workflows.api import info_service_api
from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError
from argo_workflows.model.io_argoproj_workflow_v1alpha1_version import IoArgoprojWorkflowV1alpha1Version
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:2746
# See configuration.py for a list of all supported configuration parameters.
configuration = argo_workflows.Configuration(
host = "http://localhost:2746"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: BearerToken
configuration.api_key['BearerToken'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['BearerToken'] = 'Bearer'
# Enter a context with an instance of the API client
with argo_workflows.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = info_service_api.InfoServiceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_version()
pprint(api_response)
except argo_workflows.ApiException as e:
print("Exception when calling InfoServiceApi->get_version: %s\n" % e)
This endpoint does not need any parameter.
IoArgoprojWorkflowV1alpha1Version
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]