ABEJA Service library is SDK for python, which allows developers to create, get and delete services.
Low level API directly accesses the API endpoints.
from abeja.services import APIClient
api_client = APIClient()
service = api_client.get_service(organization_id, deployment_id, service_id)
method |
path |
|
---|---|---|
post |
/organizations/<organization_id>/deployments/<deployment_id>/services |
|
get |
/organizations/<organization_id>/deployments/<deployment_id>/services |
|
get |
/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id> |
|
patch |
/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id> |
|
delete |
/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id> |
|
POST |
/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id>/stop |
|
POST |
/organizations/<organization_id>/deployments/<deployment_id>/services/<service_id>/start |
|
POST |
https://<organization_id>.api.abeja.io/deployments/<deployment_id>/services/<service_id> |