With Flexify.IO, storing your data in a cloud does not imply dependency on a single provider anymore!
By unlocking your application from the specific cloud vendor or protocol, you finally gain the freedom to decide when and where to store your data.
And we took care about data migration too!
- Generate access token via
/rest/auth
+ Authorize in Swagger UI usingBearer TOKEN
+ Enjoy Flexify.IO REST API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 2.10.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen For more information, please visit https://flexify.io/
Python 2.7 and 3.4+
Install directly from Github
pip install git+https://github.com/flexifyio/flexify-manage-api-client-python.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/flexifyio/flexify-manage-api-client-python.git
)
Then import the package:
import flexify_api
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import flexify_api
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import flexify_api
from flexify_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = flexify_api.AuthenticationControllerApi()
authentication_request = flexify_api.AuthenticationRequest() # AuthenticationRequest | authenticationRequest
try:
# Generate access token for user
api_response = api_instance.authentication_request(authentication_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthenticationControllerApi->authentication_request: %s\n" % e)
All URIs are relative to https://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AuthenticationControllerApi | authenticate | POST /rest/auth | Generate new access token for the user |
AuthenticationControllerApi | get_config | GET /rest/auth/config | Logout |
AuthenticationControllerApi | logout | POST /rest/auth/logout | Logout |
BillingAccountsControllerApi | get_costs_for_current_user_billing_account | GET /rest/account/costs | Get costs for current user |
BillingAccountsControllerApi | get_current_user_billing_account | GET /rest/account | Get billing account for current user |
BillingAccountsControllerApi | get_payments_for_current_user | GET /rest/account/payments | Get payments for current user |
CloudLocationsControllerApi | get_available_locations_for_current_user | GET /rest/cloud-locations | getAvailableLocationsForCurrentUser |
DistributorBillingAccountsControllerApi | activate_account | PUT /rest/distributor/accounts/{account-id}/actions/activate | activateAccount |
DistributorBillingAccountsControllerApi | add_payment | POST /rest/distributor/accounts/{account-id}/payments | addPayment |
DistributorBillingAccountsControllerApi | get_costs | GET /rest/distributor/accounts/{account-id}/costs | getCosts |
DistributorBillingAccountsControllerApi | get_details | GET /rest/distributor/accounts/{account-id} | getDetails |
DistributorBillingAccountsControllerApi | get_payments | GET /rest/distributor/accounts/{account-id}/payments | getPayments |
DistributorBillingAccountsControllerApi | suspend_account | PUT /rest/distributor/accounts/{account-id}/actions/suspend | suspendAccount |
EndpointsControllerApi | attach_accounts | POST /rest/endpoints/{endpoint-id}/storage-accounts | Attach storage accounts to the endpoint |
EndpointsControllerApi | attach_buckets | POST /rest/endpoints/{endpoint-id}/virtual-buckets/{virtual-bucket}/buckets | Attach storages to the virtual bucket |
EndpointsControllerApi | create_virtual_bucket | POST /rest/endpoints/{endpoint-id}/virtual-buckets | Creates new virtual bucket |
EndpointsControllerApi | delete_virtual_bucket | DELETE /rest/endpoints/{endpoint-id}/virtual-buckets/{virtual-bucket} | Deletes virtual bucket |
EndpointsControllerApi | detach_account | DELETE /rest/endpoints/{endpoint-id}/storage-accounts/{storage-account-id} | Detach storage account from the endpoint |
EndpointsControllerApi | detach_bucket | DELETE /rest/endpoints/{endpoint-id}/virtual-buckets/{virtual-bucket}/buckets/{bucket-id} | Detach storage account from the endpoint |
EndpointsControllerApi | disable | PUT /rest/endpoints/{endpoint-id}/actions/disable | Disable the endpoint |
EndpointsControllerApi | enable | PUT /rest/endpoints/{endpoint-id}/actions/enable | Enable the endpoint |
EndpointsControllerApi | generate_access_keys | GET /rest/endpoints/generated-access-keys | Generate new access keys pair |
EndpointsControllerApi | get_endpoint_details | GET /rest/endpoints/{endpoint-id} | Get endpoint details |
EndpointsControllerApi | get_endpoints_for_current_user | GET /rest/endpoints | Get endpoint for current user. This method will create new endpoint if no endpoints exist for user |
EndpointsControllerApi | set_attached_account_settings | PUT /rest/endpoints/{endpoint-id}/storage-accounts/{storage-account-id}/settings | Modifies settings of the attached storage account |
EndpointsControllerApi | set_attached_bucket_settings | PUT /rest/endpoints/{endpoint-id}/virtual-buckets/{virtual-bucket}/buckets/{bucket-id}/settings | Modifies settings of the attached storage |
EndpointsControllerApi | set_virtual_bucket_settings | PUT /rest/endpoints/{endpoint-id}/virtual-buckets/{virtual-bucket}/settings | Modifies virtual bucket configuration |
EndpointsControllerApi | update_endpoint_settings | PUT /rest/endpoints/{endpoint-id}/settings | Update attributes of the endpoint |
LogControllerApi | get_log_for_current_user | GET /rest/log | getLogForCurrentUser |
MigrationsControllerApi | add_migration | POST /rest/migrations | Add new migration |
MigrationsControllerApi | get_migration | GET /rest/migrations/{migration-id} | Get migration by id. Only migration owner or administrator have access to the migration |
MigrationsControllerApi | get_migrations | GET /rest/migrations | Get all migrations for logged in user in pagged mode |
MigrationsControllerApi | hide_all_migrations | POST /rest/migrations/actions/hide-all | Mark all unfinished migrations as hidden UI |
MigrationsControllerApi | hide_migration | POST /rest/migrations/{migration-id}/actions/hide | Mark migration as hidden |
MigrationsControllerApi | restart_slot | POST /rest/migrations/{migration-id}/mappings/{mapping-id}/slots/{slot}/actions/restart | Mark migration as hidden |
MigrationsControllerApi | stop_migration | POST /rest/migrations/{migration-id}/actions/stop | Stop (cancel) the migration |
PaymentsControllerApi | get_payment_options | GET /rest/pay/paddle/options | getPaymentOptions |
PaymentsControllerApi | payment_fulfilled | GET /rest/pay/paddle/webhook | paymentFulfilled |
StorageAccountsControllerApi | add_storage_account | POST /rest/storage-accounts | Add Storage Account with an optional list of buckets |
StorageAccountsControllerApi | delete_storage_account | DELETE /rest/storage-accounts/{storage-account-id} | Deletes (hides) storage account and all its buckets/containers |
StorageAccountsControllerApi | delete_storage_accounts | POST /rest/storage-accounts/actions/delete | Deletes (hides) a multiple storage accounts and all their buckets/containers |
StorageAccountsControllerApi | get_storage_account | GET /rest/storage-accounts/storage-accounts/{storage-account-id} | Get storage account by id |
StorageAccountsControllerApi | get_storage_accounts | GET /rest/storage-accounts | Get all storage accounts for current user |
StorageAccountsControllerApi | refresh_storage_account | POST /rest/storage-accounts/{storage-account-id}/actions/refresh | Requests and updates list of buckets/containers for the storage account |
StorageAccountsControllerApi | refresh_storage_accounts | POST /rest/storage-accounts/actions/refresh | Requests and updates list of buckets/containers for a list of storage accounts |
StorageAccountsControllerApi | set_storage_account_settings | PUT /rest/storage-accounts/{storage-account-id}/settings | Updates storage account settings |
StoragesControllerApi | add_buckets | POST /rest/storage-accounts/{storage-account-id}/buckets | Add buckets to the storage account |
StoragesControllerApi | delete_bucket | DELETE /rest/storage-accounts/{storage-account-id}/buckets/{bucket-id} | Deletes (hides) a bucket/container |
StoragesControllerApi | delete_buckets | POST /rest/storage-accounts/actions/delete-buckets | Deletes (hides) multiple buckets/containers |
StoragesControllerApi | get_providers | GET /rest/providers | Get all storage providers |
StoragesControllerApi | refresh_bucket | POST /rest/storage-accounts/{storage-account-id}/buckets/{bucket-id}/actions/refresh | Refresh statistics of a single bucket |
StoragesControllerApi | refresh_buckets | POST /rest/storage-accounts/actions/refresh-buckets | Refresh statistics of multiple buckets |
UsersControllerApi | get_current_user | GET /rest/user/current | Get details of user correponsing to provided auth token |
UsersControllerApi | request_delete | POST /rest/user/request-delete | requestDelete |
UsersControllerApi | request_reset_password | POST /rest/user/request-reset-password | requestResetPassword |
- AccessKeysPair
- AddMigrationRequest
- AddMigrationRequestMapping
- AddStorageAccountRequest
- AttachStorageAccountsRequest
- AttachVirtualBucketStoragesRequest
- AuthenticationRequest
- AuthenticationResponse
- BillingAccount
- BillingAccountWithMoney
- Bucket
- BucketStat
- BucketsRequest
- ChangePasswordRequest
- CleanupStat
- CloudLocation
- CostDetails
- CreateVirtualBucketRequest
- Distributor
- EndpointDetails
- EndpointSettings
- EndpointStat
- EndpointStorageAccount
- EndpointStorageAccountSettings
- IdResponse
- IdsList
- LogEntry
- LogEvent
- Mapping
- MappingStat
- MarkerPageLogEntry
- Migration
- MigrationSettings
- MigrationStat
- Money
- NewStorageAccount
- Organization
- PageMigration
- Pageable
- Payment
- PaymentAddRequest
- PaymentOptions
- Price
- PriceConstraints
- PriceList
- PublicAuthenticationConfiguration
- RequestResetPasswordRequest
- ResetPasswordRequest
- SignUpRequest
- SignupResult
- Slot
- SlotStat
- Sort
- StorageAccount
- StorageAccountSettings
- StorageAccountStat
- StorageProvider
- User
- UserProfile
- VirtualBucket
- VirtualBucketSettings
- VirtualBucketStorage
- VirtualBucketStorageSettings
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
- Information: info@flexify.io
- Sales: sales@flexify.io
- Support: support@flexify.io