Skip to content

Commit 7c80b4a

Browse files
committed
3.0.0 release
1 parent bc32c2f commit 7c80b4a

File tree

18 files changed

+349
-50
lines changed

18 files changed

+349
-50
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,5 +305,4 @@ setup.cfg
305305
setup.py
306306
test-requirements.txt
307307
test/__init__.py
308-
test/test_custom_field.py
309308
tox.ini

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- API version: 2
44
- Python 2.7 and 3.4+
5-
- Latest build: 3.0b2
5+
- Latest build: 3.0.0
66

77
## Installation & Usage
88

@@ -151,6 +151,7 @@ Class | Method | HTTP request | Description
151151
*MainApi* | [**get_ldap_server**](docs/MainApi#get_ldap_server) | **GET** `/api/2/ldap-servers/{id}` |
152152
*MainApi* | [**get_ldap_server_groups**](docs/MainApi#get_ldap_server_groups) | **GET** `/api/2/ldap-servers/{id}/groups` |
153153
*MainApi* | [**get_ldap_server_users**](docs/MainApi#get_ldap_server_users) | **GET** `/api/2/ldap-servers/{id}/users` |
154+
*MainApi* | [**get_license**](docs/MainApi#get_license) | **GET** `/api/2/license` |
154155
*MainApi* | [**get_node_ipmi_sensors**](docs/MainApi#get_node_ipmi_sensors) | **GET** `/api/2/nodes/{id}/sensors` |
155156
*MainApi* | [**get_node_stats**](docs/MainApi#get_node_stats) | **GET** `/api/2/nodes/{id}/stats` |
156157
*MainApi* | [**get_parameters**](docs/MainApi#get_parameters) | **GET** `/api/2/parameters` |

docs/License.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **str** | |
88
**product** | **str** | |
9+
**hardware_key** | **str** | |
10+
**rdc_slots** | **int** | |
11+
**expires** | **datetime** | |
912
**components** | **dict(str, str)** | | [optional] [readonly]
13+
**components_license** | **dict(str, str)** | |
1014

1115
[[Back to Model list]](../#documentation-for-models) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to README]](../)
1216

docs/MainApi.md

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Method | HTTP request | Description
3636
[**get_ldap_server**](MainApi.md#get_ldap_server) | **GET** `/api/2/ldap-servers/{id}` |
3737
[**get_ldap_server_groups**](MainApi.md#get_ldap_server_groups) | **GET** `/api/2/ldap-servers/{id}/groups` |
3838
[**get_ldap_server_users**](MainApi.md#get_ldap_server_users) | **GET** `/api/2/ldap-servers/{id}/users` |
39+
[**get_license**](MainApi.md#get_license) | **GET** `/api/2/license` |
3940
[**get_node_ipmi_sensors**](MainApi.md#get_node_ipmi_sensors) | **GET** `/api/2/nodes/{id}/sensors` |
4041
[**get_node_stats**](MainApi.md#get_node_stats) | **GET** `/api/2/nodes/{id}/stats` |
4142
[**get_parameters**](MainApi.md#get_parameters) | **GET** `/api/2/parameters` |
@@ -388,7 +389,7 @@ Name | Type | Description | Notes
388389
389390

390391

391-
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7fe4489ef3c8>
392+
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7ff16ab6ba58>
392393

393394
### Example
394395

@@ -596,7 +597,7 @@ Name | Type | Description | Notes
596597
597598

598599

599-
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7fe4489ef3c8>
600+
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7ff16ab6ba58>
600601

601602
### Example
602603

@@ -1146,7 +1147,7 @@ Name | Type | Description | Notes
11461147
11471148

11481149

1149-
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7fe4489ef3c8>
1150+
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7ff16ab6ba58>
11501151

11511152
### Example
11521153

@@ -1759,6 +1760,54 @@ Name | Type | Description | Notes
17591760
[[Back to top]](#) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to Model list]](../#documentation-for-models) [[Back to README]](../)
17601761

17611762

1763+
***
1764+
1765+
# **get_license**
1766+
> License get_license()
1767+
1768+
1769+
1770+
### Required permissions * <class 'rest_framework.permissions.AllowAny'>
1771+
1772+
### Example
1773+
1774+
* Api Key Authentication (Bearer):
1775+
1776+
```python
1777+
import elements_sdk
1778+
from elements_sdk.rest import ApiException
1779+
from pprint import pprint
1780+
1781+
configuration = elements_sdk.Configuration()
1782+
# Configure API key authorization: Bearer
1783+
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
1784+
configuration.api_key_prefix['Authorization'] = 'Bearer'
1785+
1786+
configuration.host = "https://elements.local"
1787+
1788+
# Enter a context with an instance of the API client
1789+
with elements_sdk.ApiClient(configuration) as api_client:
1790+
# Create an instance of the API class
1791+
api_instance = elements_sdk.MainApi(api_client)
1792+
1793+
try:
1794+
api_response = api_instance.get_license()
1795+
pprint(api_response)
1796+
except ApiException as e:
1797+
print("Exception when calling MainApi->get_license: %s\n" % e)
1798+
```
1799+
1800+
1801+
### Parameters
1802+
This endpoint does not need any parameters.
1803+
1804+
### Return type
1805+
1806+
[**License**](License.md)
1807+
1808+
[[Back to top]](#) [[Back to API list]](../#documentation-for-api-endpoints) [[Back to Model list]](../#documentation-for-models) [[Back to README]](../)
1809+
1810+
17621811
***
17631812

17641813
# **get_node_ipmi_sensors**
@@ -2214,7 +2263,7 @@ Name | Type | Description | Notes
22142263
22152264

22162265

2217-
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7fe4489ef3c8>
2266+
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7ff16ab6ba58>
22182267

22192268
### Example
22202269

@@ -2478,7 +2527,7 @@ Name | Type | Description | Notes
24782527
24792528

24802529

2481-
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7fe4489ef3c8>
2530+
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7ff16ab6ba58>
24822531

24832532
### Example
24842533

@@ -3216,7 +3265,7 @@ Name | Type | Description | Notes
32163265
32173266

32183267

3219-
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7fe4489ef3c8>
3268+
### Required permissions * Authenticated user * <apps.main.api.workstation.AuthorizedWorkstation object at 0x7ff16ab6ba58>
32203269

32213270
### Example
32223271

docs/MediaLibraryApi.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ Name | Type | Description | Notes
18561856
***
18571857

18581858
# **get_all_bundles_for_media_root**
1859-
> list[MediaFileBundle] get_all_bundles_for_media_root(root, asset=asset, ordering=ordering, limit=limit, offset=offset)
1859+
> list[MediaFileBundle] get_all_bundles_for_media_root(root, asset=asset, location=location, ordering=ordering, limit=limit, offset=offset)
18601860
18611861

18621862

@@ -1884,12 +1884,13 @@ with elements_sdk.ApiClient(configuration) as api_client:
18841884
api_instance = elements_sdk.MediaLibraryApi(api_client)
18851885
root = 'root_example' # str |
18861886
asset = 'asset_example' # str | Filter the returned list by `asset`. (optional)
1887+
location = 'location_example' # str | Filter the returned list by `location`. (optional)
18871888
ordering = 'ordering_example' # str | Which field to use when ordering the results. (optional)
18881889
limit = 56 # int | Number of results to return per page. (optional)
18891890
offset = 56 # int | The initial index from which to return the results. (optional)
18901891

18911892
try:
1892-
api_response = api_instance.get_all_bundles_for_media_root(root, asset=asset, ordering=ordering, limit=limit, offset=offset)
1893+
api_response = api_instance.get_all_bundles_for_media_root(root, asset=asset, location=location, ordering=ordering, limit=limit, offset=offset)
18931894
pprint(api_response)
18941895
except ApiException as e:
18951896
print("Exception when calling MediaLibraryApi->get_all_bundles_for_media_root: %s\n" % e)
@@ -1902,6 +1903,7 @@ Name | Type | Description | Notes
19021903
------------- | ------------- | ------------- | -------------
19031904
**root** | **str**| |
19041905
**asset** | **str**| Filter the returned list by &#x60;asset&#x60;. | [optional]
1906+
**location** | **str**| Filter the returned list by &#x60;location&#x60;. | [optional]
19051907
**ordering** | **str**| Which field to use when ordering the results. | [optional]
19061908
**limit** | **int**| Number of results to return per page. | [optional]
19071909
**offset** | **int**| The initial index from which to return the results. | [optional]
@@ -2154,7 +2156,7 @@ Name | Type | Description | Notes
21542156
***
21552157

21562158
# **get_all_media_file_bundles**
2157-
> list[MediaFileBundle] get_all_media_file_bundles(asset=asset, ordering=ordering, limit=limit, offset=offset)
2159+
> list[MediaFileBundle] get_all_media_file_bundles(asset=asset, location=location, ordering=ordering, limit=limit, offset=offset)
21582160
21592161

21602162

@@ -2181,12 +2183,13 @@ with elements_sdk.ApiClient(configuration) as api_client:
21812183
# Create an instance of the API class
21822184
api_instance = elements_sdk.MediaLibraryApi(api_client)
21832185
asset = 'asset_example' # str | Filter the returned list by `asset`. (optional)
2186+
location = 'location_example' # str | Filter the returned list by `location`. (optional)
21842187
ordering = 'ordering_example' # str | Which field to use when ordering the results. (optional)
21852188
limit = 56 # int | Number of results to return per page. (optional)
21862189
offset = 56 # int | The initial index from which to return the results. (optional)
21872190

21882191
try:
2189-
api_response = api_instance.get_all_media_file_bundles(asset=asset, ordering=ordering, limit=limit, offset=offset)
2192+
api_response = api_instance.get_all_media_file_bundles(asset=asset, location=location, ordering=ordering, limit=limit, offset=offset)
21902193
pprint(api_response)
21912194
except ApiException as e:
21922195
print("Exception when calling MediaLibraryApi->get_all_media_file_bundles: %s\n" % e)
@@ -2198,6 +2201,7 @@ offset = 56 # int | The initial index from which to return the results. (optiona
21982201
Name | Type | Description | Notes
21992202
------------- | ------------- | ------------- | -------------
22002203
**asset** | **str**| Filter the returned list by &#x60;asset&#x60;. | [optional]
2204+
**location** | **str**| Filter the returned list by &#x60;location&#x60;. | [optional]
22012205
**ordering** | **str**| Which field to use when ordering the results. | [optional]
22022206
**limit** | **int**| Number of results to return per page. | [optional]
22032207
**offset** | **int**| The initial index from which to return the results. | [optional]

docs/MediaRoot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **int** | | [optional] [readonly]
8-
**custom_fields** | [**list[CustomField]**](CustomField.md) | |
8+
**custom_fields** | [**list[CustomField]**](CustomField.md) | | [optional]
99
**workflow** | **dict(str, str)** | | [optional]
1010
**ai_config** | **dict(str, str)** | | [optional]
1111
**veritone_config** | **dict(str, str)** | | [optional]
@@ -38,7 +38,7 @@ Name | Type | Description | Notes
3838
**veritone_proxy_profile** | **int** | | [optional]
3939
**ai_connection** | **int** | | [optional]
4040
**ai_proxy_profile** | **int** | | [optional]
41-
**custom_field_definitions** | **list[int]** | |
41+
**custom_field_definitions** | **list[int]** | | [optional]
4242
**proxy_profiles** | **list[int]** | | [optional]
4343

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

docs/MediaRootMini.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
77
**id** | **int** | | [optional] [readonly]
88
**name** | **str** | |
99
**full_path** | **str** | | [optional] [readonly]
10-
**custom_fields** | [**list[CustomField]**](CustomField.md) | |
11-
**custom_field_definitions** | **list[int]** | |
10+
**custom_fields** | [**list[CustomField]**](CustomField.md) | | [optional]
11+
**custom_field_definitions** | **list[int]** | | [optional]
1212
**volume** | [**VolumeMini**](VolumeMini.md) | |
1313
**path** | **str** | | [optional] [readonly]
1414
**prefetch_thumbnail_strips** | **bool** | | [optional]

docs/ProxyProfile.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**audio_bitrate** | **int** | | [optional]
1414
**variants_limit** | **int** | | [optional]
1515
**enable_realtime_read** | **bool** | | [optional]
16+
**enable_dense_filmstrip** | **bool** | | [optional]
1617
**enable_watermark** | **bool** | | [optional]
1718
**watermark_image** | **str** | | [optional]
1819
**watermark_position** | **int** | | [optional]

elements_sdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from __future__ import absolute_import
1414

15-
__version__ = "3.0b2"
15+
__version__ = "3.0.0"
1616

1717
# import apis into sdk package
1818
from elements_sdk.api.ai_api import AIApi

0 commit comments

Comments
 (0)