Skip to main content

aptible-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The aptible_client package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python >=3.6

Installation & Usage

This python library package is generated without supporting files like setup.py or requirements files

To be able to use it, you will need these dependencies in your own package that uses this library:

  • urllib3 >= 1.25.3
  • python-dateutil

Getting Started

In your own code, to use this library to connect and interact with aptible-client, you can run the following:

import time
import aptible_client
from pprint import pprint
from aptible_client.api import actions_api
from aptible_client.model.action_request import ActionRequest
from aptible_client.model.action_response import ActionResponse
from aptible_client.model.http_validation_error import HTTPValidationError
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = aptible_client.Configuration(
    host = "http://localhost"
)

# 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 Bearer authorization: HTTPBearer
configuration = aptible_client.Configuration(
    access_token = 'YOUR_BEARER_TOKEN'
)


# Enter a context with an instance of the API client
with aptible_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = actions_api.ActionsApi(api_client)
    asset_id = "asset_id_example" # str | 
    environment_id = "environment_id_example" # str | 
    organization_id = "organization_id_example" # str | 
    action_request = ActionRequest(
        action_name="action_name_example",
        parameters=None,
    ) # ActionRequest | 

    try:
        # Action Create
        api_response = api_instance.action_create(asset_id, environment_id, organization_id, action_request)
        pprint(api_response)
    except aptible_client.ApiException as e:
        print("Exception when calling ActionsApi->action_create: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ActionsApi action_create POST /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id}/action Action Create
ActionsApi action_get GET /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id}/action/{action_id} Action Get
AssetsApi asset_create POST /api/v1/organizations/{organization_id}/environments/{environment_id}/assets Asset Create
AssetsApi asset_delete DELETE /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id} Asset Delete
AssetsApi asset_get GET /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id} Asset Get
AssetsApi asset_update PUT /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id} Asset Update
ConnectionsApi connection_create POST /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id}/connections/ Connection Create
ConnectionsApi connection_delete DELETE /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id}/connections/{connection_id} Connection Delete
ConnectionsApi connection_get GET /api/v1/organizations/{organization_id}/environments/{environment_id}/assets/{asset_id}/connections/{connection_id} Connection Get
DefaultApi get_healthcheck GET /api/v1/system/health_check Get Healthcheck
EnvironmentsApi environment_create POST /api/v1/organizations/{organization_id}/environments Environment Create
EnvironmentsApi environment_delete DELETE /api/v1/organizations/{organization_id}/environments/{environment_id} Environment Delete
EnvironmentsApi environment_get GET /api/v1/organizations/{organization_id}/environments/{environment_id} Environment Get
EnvironmentsApi environment_get_allowed_asset_bundles GET /api/v1/organizations/{organization_id}/environments/{environment_id}/asset_bundles Environment Get Allowed Asset Bundles
EnvironmentsApi environment_get_assets GET /api/v1/organizations/{organization_id}/environments/{environment_id}/assets Environment Get Assets
EnvironmentsApi environment_get_connections GET /api/v1/organizations/{organization_id}/environments/{environment_id}/connections Environment Get Connections
EnvironmentsApi environment_update PUT /api/v1/organizations/{organization_id}/environments/{environment_id} Environment Update
OperationsApi operation_get GET /api/v1/organizations/{organization_id}/operations/{operation_id} Operation Get
OperationsApi operation_update PUT /api/v1/operations/{operation_id} Operation Update
OrganizationsApi organization_delete DELETE /api/v1/organizations/{organization_id} Organization Delete
OrganizationsApi organization_get GET /api/v1/organizations/{organization_id} Organization Get
OrganizationsApi organization_get_environments GET /api/v1/organizations/{organization_id}/environments Organization Get Environments
OrganizationsApi organization_get_operations GET /api/v1/organizations/{organization_id}/operations/ Organization Get Operations
OrganizationsApi organization_list GET /api/v1/organizations/ Organization List
OrganizationsApi organization_update PUT /api/v1/organizations/{organization_id} Organization Update
UtilitiesApi get_user GET /api/v1/debug/user_auth Get User
UtilitiesApi get_user_role GET /api/v1/debug/user_role_middleware_check Get User Role
WorkerApi worker_health_check POST /api/v1/worker/health-check Worker Health Check

Documentation For Models

Documentation For Authorization

HTTPBearer

  • Type: Bearer authentication

Author

Notes for Large OpenAPI documents

If the OpenAPI document is large, imports in aptible_client.apis and aptible_client.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 aptible_client.api.default_api import DefaultApi
  • from aptible_client.model.pet import Pet

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

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

Metadata

Release files for aptible-client 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aptible-client 1.3.1
File Size Uploaded
aptible_client-1.3.1.tar.gz 65.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aptible-client 1.3.1
File Interpreter ABI Platform
aptible_client-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 211.9 kB

Release files / aptible_client-1.3.1.tar.gz

Download URL aptible_client-1.3.1.tar.gz
Size 65.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0fadf5d3500c5445f0a7ace8c4557f8d8c64b05e34a5a3e1a34c1945183cf177
BLAKE2b-256 checksum
How to use checksums
bf0f7415623a289d7536577ed91affe96f536019bb2e18e0e8e07ea5a9aeb756
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release files / aptible_client-1.3.1-py3-none-any.whl

Download URL aptible_client-1.3.1-py3-none-any.whl
Size 146.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
abd6a4d41a4674394fdbe97b95c0ace613ae9f24ce6282ac7e0306fb2c06eff2
BLAKE2b-256 checksum
How to use checksums
10de27ce5d6087bf3f8c37ca76b5e78eea601498645b32b18afea55e08ee614f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page