You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regenerate client for API 2.22.7 and OpenAPI 7.19.0
Updated the generated Python client to API version 2.22.7 and OpenAPI Generator 7.19.0. Added new endpoints and models, including AnnotationSettingV1AlphaUcApi, SetupRequest, and new upload endpoints for attachments. Removed deprecated DefaultApi, LoginHistory, and UcUploadRequestFormData. Updated documentation and usage examples to reflect new and changed APIs.
List available AnnotationSettings for the given targetRef. The available AnnotationSettings are determined by the currently activated theme and started plugins.
14
+
15
+
### Example
16
+
17
+
* Basic Authentication (basicAuth):
18
+
* Bearer (JWT) Authentication (bearerAuth):
19
+
20
+
```python
21
+
import halo_client
22
+
from halo_client.models.annotation_setting import AnnotationSetting
23
+
from halo_client.rest import ApiException
24
+
from pprint import pprint
25
+
26
+
# Defining the host is optional and defaults to http://localhost:8091
27
+
# See configuration.py for a list of all supported configuration parameters.
28
+
configuration = halo_client.Configuration(
29
+
host="http://localhost:8091"
30
+
)
31
+
32
+
# The client must configure the authentication and authorization parameters
33
+
# in accordance with the API server security policy.
34
+
# Examples for each auth method are provided below, use the example that
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -268,3 +269,89 @@ Name | Type | Description | Notes
268
269
269
270
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
file=None# bytearray | The file to upload. If not provided, the url will be used. (optional)
315
+
filename ='filename_example'# str | The filename to use when uploading from url. If not provided, the filename will be extracted from the url. (optional)
316
+
url ='url_example'# str | The url to upload from. If not provided, the file will be used. (optional)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments