ABEJA Service SDK documentation

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

Low level API

Low level API directly accesses the API endpoints.

Usage

from abeja.services import APIClient

api_client = APIClient()
service = api_client.get_service(organization_id, deployment_id, service_id)

API Mapping

method

path

post

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

APIClient.create_service()

get

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

APIClient.get_services()

get

/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id>

APIClient.get_service()

patch

/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id>

APIClient.update_service()

delete

/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id>

APIClient.delete_service()

POST

/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id>/stop

APIClient.stop_service()

POST

/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id>/start

APIClient.start_service()

POST

https://<organization_id>.api.abeja.io/deployments/<deployment_id>/services/<service_id>

APIClient.request_service()