Skip to content

Commit 6b3d275

Browse files
committed
version 2.6
1 parent 25575e3 commit 6b3d275

File tree

181 files changed

+8070
-2154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+8070
-2154
lines changed

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 41 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ And we took care about data migration too!
1111

1212
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
1313

14-
- API version: 2.4.2
14+
- API version: 2.6
1515
- Package version: 1.0.0
1616
- Build package: io.swagger.codegen.languages.PythonClientCodegen
1717
For more information, please visit [https://flexify.io/](https://flexify.io/)
@@ -32,7 +32,7 @@ pip install git+https://github.com/flexifyio/flexify-manage-api-client-python.gi
3232

3333
Then import the package:
3434
```python
35-
import flexify_api
35+
import flexify_api
3636
```
3737

3838
### Setuptools
@@ -78,19 +78,26 @@ All URIs are relative to *https://localhost*
7878

7979
Class | Method | HTTP request | Description
8080
------------ | ------------- | ------------- | -------------
81-
*AuthenticationControllerApi* | [**authentication_request**](docs/AuthenticationControllerApi.md#authentication_request) | **POST** /rest/auth | Generate access token for user
81+
*AuthenticationControllerApi* | [**authenticate**](docs/AuthenticationControllerApi.md#authenticate) | **POST** /rest/auth | Generate new access token for the user
82+
*AuthenticationControllerApi* | [**get_config**](docs/AuthenticationControllerApi.md#get_config) | **GET** /rest/auth/config | Logout
8283
*AuthenticationControllerApi* | [**logout**](docs/AuthenticationControllerApi.md#logout) | **POST** /rest/auth/logout | Logout
83-
*BillingAccountControllerApi* | [**get_costs_for_current_user**](docs/BillingAccountControllerApi.md#get_costs_for_current_user) | **GET** /rest/account/costs | Get costs for current user
84+
*BillingAccountControllerApi* | [**get_costs_for_current_user_billing_account**](docs/BillingAccountControllerApi.md#get_costs_for_current_user_billing_account) | **GET** /rest/account/costs | Get costs for current user
8485
*BillingAccountControllerApi* | [**get_current_user_billing_account**](docs/BillingAccountControllerApi.md#get_current_user_billing_account) | **GET** /rest/account | Get billing account for current user
8586
*BillingAccountControllerApi* | [**get_payments_for_current_user**](docs/BillingAccountControllerApi.md#get_payments_for_current_user) | **GET** /rest/account/payments | Get payments for current user
8687
*CloudLocationsControllerApi* | [**get_available_locations_for_current_user**](docs/CloudLocationsControllerApi.md#get_available_locations_for_current_user) | **GET** /rest/cloud-locations | getAvailableLocationsForCurrentUser
87-
*EndpointsControllerApi* | [**attach_storage_to_endpoint**](docs/EndpointsControllerApi.md#attach_storage_to_endpoint) | **POST** /rest/endpoints/{endpoint-id}/storages | Attach the storage to the endpoint
88+
*DistributorBillingAccountsControllerApi* | [**activate_account**](docs/DistributorBillingAccountsControllerApi.md#activate_account) | **PUT** /rest/distributor/accounts/{account-id}/actions/activate | activateAccount
89+
*DistributorBillingAccountsControllerApi* | [**add_payment**](docs/DistributorBillingAccountsControllerApi.md#add_payment) | **POST** /rest/distributor/accounts/{account-id}/payments | addPayment
90+
*DistributorBillingAccountsControllerApi* | [**get_costs**](docs/DistributorBillingAccountsControllerApi.md#get_costs) | **GET** /rest/distributor/accounts/{account-id}/costs | getCosts
91+
*DistributorBillingAccountsControllerApi* | [**get_details**](docs/DistributorBillingAccountsControllerApi.md#get_details) | **GET** /rest/distributor/accounts/{account-id} | getDetails
92+
*DistributorBillingAccountsControllerApi* | [**get_payments**](docs/DistributorBillingAccountsControllerApi.md#get_payments) | **GET** /rest/distributor/accounts/{account-id}/payments | getPayments
93+
*DistributorBillingAccountsControllerApi* | [**suspend_account**](docs/DistributorBillingAccountsControllerApi.md#suspend_account) | **PUT** /rest/distributor/accounts/{account-id}/actions/suspend | suspendAccount
94+
*EndpointsControllerApi* | [**attach_storages_to_endpoint**](docs/EndpointsControllerApi.md#attach_storages_to_endpoint) | **POST** /rest/endpoints/{endpoint-id}/storages | Attach the storage to the endpoint
8895
*EndpointsControllerApi* | [**detach_storage_from_endpoint**](docs/EndpointsControllerApi.md#detach_storage_from_endpoint) | **DELETE** /rest/endpoints/{endpoint-id}/storages/{storage-id} | Detach the storage from the endpoint
8996
*EndpointsControllerApi* | [**disable**](docs/EndpointsControllerApi.md#disable) | **PUT** /rest/endpoints/{endpoint-id}/actions/disable | Disable the endpoint
9097
*EndpointsControllerApi* | [**enable**](docs/EndpointsControllerApi.md#enable) | **PUT** /rest/endpoints/{endpoint-id}/actions/enable | Enable the endpoint
9198
*EndpointsControllerApi* | [**get_endpoint_details**](docs/EndpointsControllerApi.md#get_endpoint_details) | **GET** /rest/endpoints/{endpoint-id} | Get endpoint details
9299
*EndpointsControllerApi* | [**get_endpoints_for_current_user**](docs/EndpointsControllerApi.md#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
93-
*EndpointsControllerApi* | [**set_default_storage**](docs/EndpointsControllerApi.md#set_default_storage) | **PUT** /rest/endpoints/{endpoint-id}/storages/{storage-id}/actions/set-as-default | Set given storage as default for the endpoint
100+
*EndpointsControllerApi* | [**set_storage_put_objects**](docs/EndpointsControllerApi.md#set_storage_put_objects) | **PUT** /rest/endpoints/{endpoint-id}/storages/{storage-id}/put-objects | Set given storage as default for the endpoint
94101
*EndpointsControllerApi* | [**update_endpoint**](docs/EndpointsControllerApi.md#update_endpoint) | **PUT** /rest/endpoints/{endpoint-id} | Update attributes of the endpoint
95102
*LogControllerApi* | [**get_log_for_current_user**](docs/LogControllerApi.md#get_log_for_current_user) | **GET** /rest/log | getLogForCurrentUser
96103
*MigrationsControllerApi* | [**add_migration**](docs/MigrationsControllerApi.md#add_migration) | **POST** /rest/migrations | Add new migration
@@ -100,64 +107,77 @@ Class | Method | HTTP request | Description
100107
*MigrationsControllerApi* | [**stop_migration**](docs/MigrationsControllerApi.md#stop_migration) | **POST** /rest/migrations/{migration-id}/stop | Stop (cancel) the migration
101108
*PaymentControllerApi* | [**get_payment_options**](docs/PaymentControllerApi.md#get_payment_options) | **GET** /rest/pay/paddle/options | getPaymentOptions
102109
*PaymentControllerApi* | [**payment_fulfilled**](docs/PaymentControllerApi.md#payment_fulfilled) | **GET** /rest/pay/paddle/webhook | paymentFulfilled
110+
*StoragesControllerApi* | [**add_buckets**](docs/StoragesControllerApi.md#add_buckets) | **POST** /rest/storage-accounts/{storage-account-id}/buckets | Add buckets to the storage account
103111
*StoragesControllerApi* | [**add_storage_account**](docs/StoragesControllerApi.md#add_storage_account) | **POST** /rest/storage-accounts | Add Storage Account with an optional list of buckets
104-
*StoragesControllerApi* | [**add_storages**](docs/StoragesControllerApi.md#add_storages) | **POST** /rest/storage-accounts/{storage-account-id}/storages | Add buckets to the storage account and optionally attach them to endpoint
105-
*StoragesControllerApi* | [**delete_storage**](docs/StoragesControllerApi.md#delete_storage) | **DELETE** /rest/storage-accounts/{storage-account-id}/storages/{storage-id} | Delete Storage
106-
*StoragesControllerApi* | [**delete_storages**](docs/StoragesControllerApi.md#delete_storages) | **POST** /rest/storage-accounts/actions/delete-storages | Deletes storages
112+
*StoragesControllerApi* | [**delete_bucket**](docs/StoragesControllerApi.md#delete_bucket) | **DELETE** /rest/storage-accounts/{storage-account-id}/buckets/{bucket-id} | Deletes (hides) a bucket/container
113+
*StoragesControllerApi* | [**delete_buckets**](docs/StoragesControllerApi.md#delete_buckets) | **POST** /rest/storage-accounts/actions/delete-buckets | Deletes (hides) multiple buckets/containers
107114
*StoragesControllerApi* | [**generate_access_keys**](docs/StoragesControllerApi.md#generate_access_keys) | **GET** /rest/generate-access-keys | Generate new access keys pair
115+
*StoragesControllerApi* | [**get_buckets**](docs/StoragesControllerApi.md#get_buckets) | **GET** /rest/storage-accounts/{storage-account-id}/buckets | Get registered non-hidden bukects/containers of the storage account
108116
*StoragesControllerApi* | [**get_providers**](docs/StoragesControllerApi.md#get_providers) | **GET** /rest/providers | Get all storage providers
109117
*StoragesControllerApi* | [**get_storage_accounts**](docs/StoragesControllerApi.md#get_storage_accounts) | **GET** /rest/storage-accounts | Get all storage accounts for current user
110-
*StoragesControllerApi* | [**get_storages**](docs/StoragesControllerApi.md#get_storages) | **GET** /rest/storage-accounts/{storage-account-id}/storages | Get storages of the storage account
111-
*StoragesControllerApi* | [**refresh_storage**](docs/StoragesControllerApi.md#refresh_storage) | **POST** /rest/storage-accounts/{storage-account-id}/storages/{storage-id}/actions/refresh | Refresh storage
112-
*StoragesControllerApi* | [**refresh_storages**](docs/StoragesControllerApi.md#refresh_storages) | **POST** /rest/storage-accounts/actions/refresh-storages | Refresh storages
118+
*StoragesControllerApi* | [**refresh_bucket**](docs/StoragesControllerApi.md#refresh_bucket) | **POST** /rest/storage-accounts/{storage-account-id}/buckets/{bucket-id}/actions/refresh | Refresh statistics of a single bucket
119+
*StoragesControllerApi* | [**refresh_buckets**](docs/StoragesControllerApi.md#refresh_buckets) | **POST** /rest/storage-accounts/actions/refresh-buckets | Refresh statistics of multiple buckets
113120
*StoragesControllerApi* | [**request_buckets**](docs/StoragesControllerApi.md#request_buckets) | **GET** /rest/buckets | Lists buckets of the external storage account
114-
*StoragesControllerApi* | [**request_buckets_for_storage_account**](docs/StoragesControllerApi.md#request_buckets_for_storage_account) | **GET** /rest/storage-accounts/{storage-account-id}/buckets | Retrieve buckets from external cloud storage account
115-
*UserControllerApi* | [**get_current_user**](docs/UserControllerApi.md#get_current_user) | **GET** /rest/user/current | Get details information for logged in user
121+
*StoragesControllerApi* | [**request_cloud_buckets**](docs/StoragesControllerApi.md#request_cloud_buckets) | **GET** /rest/storage-accounts/{storage-account-id}/cloud/buckets | Retrieve buckets/containers list from underlying cloud
122+
*StoragesControllerApi* | [**set_buckets**](docs/StoragesControllerApi.md#set_buckets) | **PUT** /rest/storage-accounts/{storage-account-id}/buckets | Sets a list of bucket for a storage account (hides existing buckets not in a list and adds buckets not in a list)
123+
*UserControllerApi* | [**get_current_user**](docs/UserControllerApi.md#get_current_user) | **GET** /rest/user/current | Get details of user correponsing to provided auth token
116124
*UserControllerApi* | [**request_reset_password**](docs/UserControllerApi.md#request_reset_password) | **POST** /rest/user/request-reset-password | requestResetPassword
117125

118126

119127
## Documentation For Models
120128

121129
- [AccessKeysPair](docs/AccessKeysPair.md)
122130
- [AddMigrationRequest](docs/AddMigrationRequest.md)
131+
- [AddMigrationRequestMapping](docs/AddMigrationRequestMapping.md)
123132
- [AddStorageAccountRequest](docs/AddStorageAccountRequest.md)
124-
- [AddStoragesRequest](docs/AddStoragesRequest.md)
125-
- [AddStoragesResponse](docs/AddStoragesResponse.md)
133+
- [AttachStoragesToEndpointRequest](docs/AttachStoragesToEndpointRequest.md)
126134
- [AuthenticationRequest](docs/AuthenticationRequest.md)
127135
- [AuthenticationResponse](docs/AuthenticationResponse.md)
128136
- [BillingAccount](docs/BillingAccount.md)
129137
- [BillingAccountWithMoney](docs/BillingAccountWithMoney.md)
130138
- [Bucket](docs/Bucket.md)
139+
- [BucketStat](docs/BucketStat.md)
140+
- [BucketsRequest](docs/BucketsRequest.md)
131141
- [ChangePasswordRequest](docs/ChangePasswordRequest.md)
142+
- [CleanupStat](docs/CleanupStat.md)
132143
- [CloudLocation](docs/CloudLocation.md)
133144
- [CostDetails](docs/CostDetails.md)
134-
- [DataStorageStat](docs/DataStorageStat.md)
135-
- [DescribeOrganization](docs/DescribeOrganization.md)
145+
- [Distributor](docs/Distributor.md)
136146
- [Endpoint](docs/Endpoint.md)
137147
- [EndpointDetails](docs/EndpointDetails.md)
138148
- [EndpointStat](docs/EndpointStat.md)
139149
- [EndpointStorage](docs/EndpointStorage.md)
150+
- [EndpointStorageSettings](docs/EndpointStorageSettings.md)
140151
- [IdResponse](docs/IdResponse.md)
141152
- [IdsList](docs/IdsList.md)
142153
- [LogEntry](docs/LogEntry.md)
143154
- [LogEvent](docs/LogEvent.md)
155+
- [Mapping](docs/Mapping.md)
156+
- [MappingStat](docs/MappingStat.md)
144157
- [Migration](docs/Migration.md)
145-
- [MigrationSlotStat](docs/MigrationSlotStat.md)
158+
- [MigrationSettings](docs/MigrationSettings.md)
146159
- [MigrationStat](docs/MigrationStat.md)
147160
- [Money](docs/Money.md)
161+
- [NewEndpointStorage](docs/NewEndpointStorage.md)
162+
- [NewStorageAccount](docs/NewStorageAccount.md)
163+
- [Organization](docs/Organization.md)
164+
- [PageLogEntry](docs/PageLogEntry.md)
148165
- [PageMigration](docs/PageMigration.md)
149166
- [Pageable](docs/Pageable.md)
150167
- [Payment](docs/Payment.md)
168+
- [PaymentAddRequest](docs/PaymentAddRequest.md)
151169
- [PaymentOptions](docs/PaymentOptions.md)
152170
- [PriceListEntry](docs/PriceListEntry.md)
171+
- [PublicAuthenticationConfiguration](docs/PublicAuthenticationConfiguration.md)
153172
- [RequestResetPasswordReqeust](docs/RequestResetPasswordReqeust.md)
154173
- [ResetPasswordRequest](docs/ResetPasswordRequest.md)
155174
- [SignUpRequest](docs/SignUpRequest.md)
156175
- [SignupResult](docs/SignupResult.md)
176+
- [Slot](docs/Slot.md)
177+
- [SlotStat](docs/SlotStat.md)
157178
- [Sort](docs/Sort.md)
158-
- [Storage](docs/Storage.md)
159179
- [StorageAccount](docs/StorageAccount.md)
160-
- [StorageAccountCreateRequest](docs/StorageAccountCreateRequest.md)
180+
- [StorageAccountSettings](docs/StorageAccountSettings.md)
161181
- [StorageProvider](docs/StorageProvider.md)
162182
- [User](docs/User.md)
163183
- [UserProfile](docs/UserProfile.md)

docs/AddMigrationRequest.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**conflict_resolution** | **str** | Conflict resolution |
7-
**count_source_objects** | **bool** | Count objects in source before migration | [optional]
8-
**destination_id** | **int** | Link to destination storage |
9-
**engines_location** | [**CloudLocation**](CloudLocation.md) | Location of the engines to migrate | [optional]
10-
**existing_data_in_destination** | **str** | Keep or clean data in destination before migration (identical with source objects keep in any cases) | [optional]
11-
**max_connections_per_engine** | **int** | Maximum Connections per engine | [optional]
12-
**migration_mode** | **str** | Migration mode |
13-
**object_key_filter** | **str** | Migrate objects matching pattern | [optional]
14-
**slots** | **int** | Number of slots of migration | [optional]
15-
**source_id** | **int** | Link to source storage |
6+
**mappings** | [**list[AddMigrationRequestMapping]**](AddMigrationRequestMapping.md) | Source storage to destination account/bucket mapping | [optional]
7+
**settings** | [**MigrationSettings**](MigrationSettings.md) | Migration settings | [optional]
168

179
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1810

docs/AddMigrationRequestMapping.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AddMigrationRequestMapping
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**dest_bucket_name** | **str** | Name of source destionation or container |
7+
**dest_storage_account_id** | **int** | ID of source destination account |
8+
**source_bucket_name** | **str** | Name of source bucket or container |
9+
**source_storage_account_id** | **int** | ID of source storage account |
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/AddStorageAccountRequest.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**storage_account** | [**StorageAccountCreateRequest**](StorageAccountCreateRequest.md) | Storage account to create | [optional]
7-
**buckets** | [**list[Bucket]**](Bucket.md) | Lists of buckets | [optional]
6+
**storage_account** | [**NewStorageAccount**](NewStorageAccount.md) | Storage account to create | [optional]
7+
**include_buckets** | **list[str]** | Lists of buckets to start monitoring | [optional]
88
**endpoint_id** | **int** | ID of the user endpoint to add storages to. Do not set the value if you want to attach storages to the endpoint later | [optional]
9+
**put_objects** | **bool** | Specifies if new data should be stored to added storages | [optional]
10+
**verify_keys** | **bool** | If set to true, storage account keys will be verified before adding storage | [optional]
11+
**refresh** | **bool** | If set to true, buckets will be refreshed after storage is added | [optional]
912

1013
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1114

docs/MigrationSlotStat.md renamed to docs/AttachStoragesToEndpointRequest.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
# MigrationSlotStat
1+
# AttachStoragesToEndpointRequest
22

33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**active_streams** | **int** | | [optional]
7-
**slot** | **int** | | [optional]
8-
**state** | **str** | | [optional]
9-
**step** | **str** | | [optional]
6+
**new_storages** | [**list[NewEndpointStorage]**](NewEndpointStorage.md) | A list of endpoint storages to attach | [optional]
107

118
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
129

0 commit comments

Comments
 (0)