|
| 1 | +# oort_sdk_client.SdkApi |
| 2 | + |
| 3 | +All URIs are relative to *http://localhost:2005/sdk/v1* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**query_available_files**](SdkApi.md#query_available_files) | **GET** /query_available_files/{topic} | |
| 8 | +[**retrieve_file**](SdkApi.md#retrieve_file) | **POST** /retrieve_file | |
| 9 | +[**send_file**](SdkApi.md#send_file) | **POST** /send_file | |
| 10 | + |
| 11 | + |
| 12 | +# **query_available_files** |
| 13 | +> AvailableFilesResponse query_available_files(topic) |
| 14 | +
|
| 15 | + |
| 16 | + |
| 17 | +### Example |
| 18 | + |
| 19 | +```python |
| 20 | +from __future__ import print_function |
| 21 | +import time |
| 22 | +import oort_sdk_client |
| 23 | +from oort_sdk_client.rest import ApiException |
| 24 | +from pprint import pprint |
| 25 | + |
| 26 | +# Enter a context with an instance of the API client |
| 27 | +with oort_sdk_client.ApiClient() as api_client: |
| 28 | + # Create an instance of the API class |
| 29 | + api_instance = oort_sdk_client.SdkApi(api_client) |
| 30 | + topic = 'topic_example' # str | |
| 31 | + |
| 32 | + try: |
| 33 | + api_response = api_instance.query_available_files(topic) |
| 34 | + pprint(api_response) |
| 35 | + except ApiException as e: |
| 36 | + print("Exception when calling SdkApi->query_available_files: %s\n" % e) |
| 37 | +``` |
| 38 | + |
| 39 | +### Parameters |
| 40 | + |
| 41 | +Name | Type | Description | Notes |
| 42 | +------------- | ------------- | ------------- | ------------- |
| 43 | + **topic** | **str**| | |
| 44 | + |
| 45 | +### Return type |
| 46 | + |
| 47 | +[**AvailableFilesResponse**](AvailableFilesResponse.md) |
| 48 | + |
| 49 | +### Authorization |
| 50 | + |
| 51 | +No authorization required |
| 52 | + |
| 53 | +### HTTP request headers |
| 54 | + |
| 55 | + - **Content-Type**: Not defined |
| 56 | + - **Accept**: application/json |
| 57 | + |
| 58 | +### HTTP response details |
| 59 | +| Status code | Description | Response headers | |
| 60 | +|-------------|-------------|------------------| |
| 61 | +**200** | OK | - | |
| 62 | + |
| 63 | +[[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) |
| 64 | + |
| 65 | +# **retrieve_file** |
| 66 | +> FileInfo retrieve_file(retrieve_file_request) |
| 67 | +
|
| 68 | + |
| 69 | + |
| 70 | +### Example |
| 71 | + |
| 72 | +```python |
| 73 | +from __future__ import print_function |
| 74 | +import time |
| 75 | +import oort_sdk_client |
| 76 | +from oort_sdk_client.rest import ApiException |
| 77 | +from pprint import pprint |
| 78 | + |
| 79 | +# Enter a context with an instance of the API client |
| 80 | +with oort_sdk_client.ApiClient() as api_client: |
| 81 | + # Create an instance of the API class |
| 82 | + api_instance = oort_sdk_client.SdkApi(api_client) |
| 83 | + retrieve_file_request = oort_sdk_client.RetrieveFileRequest() # RetrieveFileRequest | |
| 84 | + |
| 85 | + try: |
| 86 | + api_response = api_instance.retrieve_file(retrieve_file_request) |
| 87 | + pprint(api_response) |
| 88 | + except ApiException as e: |
| 89 | + print("Exception when calling SdkApi->retrieve_file: %s\n" % e) |
| 90 | +``` |
| 91 | + |
| 92 | +### Parameters |
| 93 | + |
| 94 | +Name | Type | Description | Notes |
| 95 | +------------- | ------------- | ------------- | ------------- |
| 96 | + **retrieve_file_request** | [**RetrieveFileRequest**](RetrieveFileRequest.md)| | |
| 97 | + |
| 98 | +### Return type |
| 99 | + |
| 100 | +[**FileInfo**](FileInfo.md) |
| 101 | + |
| 102 | +### Authorization |
| 103 | + |
| 104 | +No authorization required |
| 105 | + |
| 106 | +### HTTP request headers |
| 107 | + |
| 108 | + - **Content-Type**: application/json |
| 109 | + - **Accept**: application/json |
| 110 | + |
| 111 | +### HTTP response details |
| 112 | +| Status code | Description | Response headers | |
| 113 | +|-------------|-------------|------------------| |
| 114 | +**200** | OK | - | |
| 115 | +**400** | Bad request | - | |
| 116 | + |
| 117 | +[[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) |
| 118 | + |
| 119 | +# **send_file** |
| 120 | +> SendFileResponse send_file(send_file_request) |
| 121 | +
|
| 122 | + |
| 123 | + |
| 124 | +### Example |
| 125 | + |
| 126 | +```python |
| 127 | +from __future__ import print_function |
| 128 | +import time |
| 129 | +import oort_sdk_client |
| 130 | +from oort_sdk_client.rest import ApiException |
| 131 | +from pprint import pprint |
| 132 | + |
| 133 | +# Enter a context with an instance of the API client |
| 134 | +with oort_sdk_client.ApiClient() as api_client: |
| 135 | + # Create an instance of the API class |
| 136 | + api_instance = oort_sdk_client.SdkApi(api_client) |
| 137 | + send_file_request = oort_sdk_client.SendFileRequest() # SendFileRequest | The file and parameters for sending |
| 138 | + |
| 139 | + try: |
| 140 | + api_response = api_instance.send_file(send_file_request) |
| 141 | + pprint(api_response) |
| 142 | + except ApiException as e: |
| 143 | + print("Exception when calling SdkApi->send_file: %s\n" % e) |
| 144 | +``` |
| 145 | + |
| 146 | +### Parameters |
| 147 | + |
| 148 | +Name | Type | Description | Notes |
| 149 | +------------- | ------------- | ------------- | ------------- |
| 150 | + **send_file_request** | [**SendFileRequest**](SendFileRequest.md)| The file and parameters for sending | |
| 151 | + |
| 152 | +### Return type |
| 153 | + |
| 154 | +[**SendFileResponse**](SendFileResponse.md) |
| 155 | + |
| 156 | +### Authorization |
| 157 | + |
| 158 | +No authorization required |
| 159 | + |
| 160 | +### HTTP request headers |
| 161 | + |
| 162 | + - **Content-Type**: application/json |
| 163 | + - **Accept**: application/json |
| 164 | + |
| 165 | +### HTTP response details |
| 166 | +| Status code | Description | Response headers | |
| 167 | +|-------------|-------------|------------------| |
| 168 | +**200** | OK | - | |
| 169 | +**400** | Bad request | - | |
| 170 | + |
| 171 | +[[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) |
| 172 | + |
0 commit comments