ABEJA Deployment SDK documentation

ABEJA Deployment library is SDK for python, which allows developers to create, get and delete deployments.

Low level API

Low level API directly accesses the API endpoints.

Usage

from abeja.deployments import APIClient

api_client = APIClient()
deployment = api_client.get_deployment(organization_id, deployment_id)

API Mapping

method

path

description

post

/organizations/<organization_id>/deployments

APIClient.create_deployment()

get

/organizations/<organization_id>/deployments

APIClient.get_deployments()

get

/organizations/<organization_id>/deployments/<deployment_id>

APIClient.get_deployment()

delete

/organizations/<organization_id>/deployments/<deployment_id>

APIClient.delete_deployment()

get

/organizations/<organization_id>/deployments/<deployment_id>/versions

APIClient.get_deployment_versions()

post

/organizations/<organization_id>/deployments/<deployment_id>/versions

APIClient.create_deployment_version()

get

/organizations/<organization_id>/deployments/<deployment_id>/versions/<version_id>

APIClient.get_deployment_version()

delete

/organizations/<organization_id>/deployments/<deployment_id>/versions/<version_id>

APIClient.delete_deployment_version()

get

/organizations/<organization_id>/deployments/<deployment_id>/versions/<version_id>/download

APIClient.download_deployment_version()