ABEJA Trigger SDK documentation

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

Low level API

Low level API directly accesses the API endpoints.

Usage

from abeja.triggers import APIClient

api_client = APIClient()
trigger = api_client.get_trigger(organization_id, deployment_id, trigger_id)

API Mapping

method

path

post

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

APIClient.create_trigger()

get

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

APIClient.get_triggers()

get

/organizations/<organization_id>/deployments/<deployment_id>/triggers/<trigger_id>

APIClient.get_trigger()

delete

/organizations/<organization_id>/deployments/<deployment_id>/triggers/<trigger_id>

APIClient.delete_trigger()

get

/organizations/<organization_id>/deployments/<deployment_id>/triggers/<trigger_id>/runs

APIClient.get_trigger_runs()