ABEJA Datalake library is SDK for python, which allows developers to create, get and delete datalake resources.
High level API is used following classes.
from abeja.datalake import Client
client = Client()
Low level APIs are directly access the API endpoint.
APIClient
APIClient.archive_bucket()
APIClient.archive_channel()
APIClient.create_bucket()
APIClient.create_channel()
APIClient.delete_channel_datasource()
APIClient.delete_channel_file()
APIClient.get_bucket()
APIClient.get_bucket_file()
APIClient.get_channel()
APIClient.get_channel_file_download()
APIClient.get_channel_file_upload()
APIClient.list_bucket_files()
APIClient.list_buckets()
APIClient.list_channel_datasources()
APIClient.list_channel_files()
APIClient.list_channels()
APIClient.patch_bucket()
APIClient.patch_channel()
APIClient.post_channel_file_upload()
APIClient.put_channel_datasource()
APIClient.put_channel_file_lifetime()
APIClient.put_channel_file_metadata()
APIClient.unarchive_bucket()
APIClient.unarchive_channel()
APIClient.upload_bucket_file()
APIClient.upload_bucket_files()
from abeja.datalake import APIClient
api = APIClient()
channel = api.get_channel(organization_id, channel_id)
method |
path |
description |
---|---|---|
post |
/organizations/<organization_id>/channels |
|
get |
/organizations/<organization_id>/channels |
|
get |
/organizations/<organization_id>/channels/<channel_id> |
|
patch |
/organizations/<organization_id>/channels/<channel_id> |
|
delete |
/organizations/<organization_id>/channels/<channel_id> |
|
get |
/organizations/<organization_id>/channels/<channel_id>/datasources |
|
put |
/organizations/<organization_id>/channels/<channel_id>/datasources/<datasource_id> |
|
delete |
/organizations/<organization_id>/channels/<channel_id>/datasources |
|
post |
/channels/ |
|
get |
/channels/<channel_id>/ |
|
get |
/channels/<channel_id>/<file_id> |
|
delete |
/channels/<channel_id>/<file_id> |
|
post |
/organizations/<organization_id>/buckets |
|
get |
/organizations/<organization_id>/buckets |
|
get |
/organizations/<organization_id>/buckets/<bucket_id> |
|
patch |
/organizations/<organization_id>/buckets/<bucket_id> |
|
post |
/organizations/<organization_id>/buckets/<bucket_id>/archive |
|
post |
/organizations/<organization_id>/buckets/<bucket_id>/unarchive |
|
post |
/organizations/<organization_id>/buckets/<bucket_id>/files |
|
post |
/organizations/<organization_id>/buckets/<bucket_id>/files |
|
get |
/organizations/<organization_id>/buckets/<bucket_id>/files |
|
get |
/organizations/<organization_id>/buckets/<bucket_id>/files/<file_id> |