@@ -7,7 +7,9 @@ All URIs are relative to *http://localhost*
77| [ ** deleteById** ] ( UploadRoutesApi.md#deleteById ) | ** DELETE** /api/v1/upload/{id} | |
88| [ ** download** ] ( UploadRoutesApi.md#download ) | ** GET** /api/v1/upload/download | |
99| [ ** findAllUploads** ] ( UploadRoutesApi.md#findAllUploads ) | ** GET** /api/v1/upload/find-all | |
10+ | [ ** makeThumb** ] ( UploadRoutesApi.md#makeThumb ) | ** POST** /api/v1/upload/{id}/make-thumb | |
1011| [ ** metadata** ] ( UploadRoutesApi.md#metadata ) | ** GET** /api/v1/upload/metadata | |
12+ | [ ** ping** ] ( UploadRoutesApi.md#ping ) | ** GET** /api/v1/upload/ping | |
1113| [ ** upload** ] ( UploadRoutesApi.md#upload ) | ** POST** /api/v1/upload | |
1214
1315
@@ -190,6 +192,66 @@ No authorization required
190192| -------------| -------------| ------------------|
191193| ** 200** | Find all upload | - |
192194
195+ <a id =" makeThumb " ></a >
196+ # ** makeThumb**
197+ > FileUploadV2 makeThumb(id)
198+
199+
200+
201+ ### Example
202+ ``` java
203+ // Import classes:
204+ import org.openapitools.client.ApiClient ;
205+ import org.openapitools.client.ApiException ;
206+ import org.openapitools.client.Configuration ;
207+ import org.openapitools.client.models.* ;
208+ import org.openapitools.client.api.UploadRoutesApi ;
209+
210+ public class Example {
211+ public static void main (String [] args ) {
212+ ApiClient defaultClient = Configuration . getDefaultApiClient();
213+ defaultClient. setBasePath(" http://localhost" );
214+
215+ UploadRoutesApi apiInstance = new UploadRoutesApi (defaultClient);
216+ String id = " id_example" ; // String |
217+ try {
218+ FileUploadV2 result = apiInstance. makeThumb(id);
219+ System . out. println(result);
220+ } catch (ApiException e) {
221+ System . err. println(" Exception when calling UploadRoutesApi#makeThumb" );
222+ System . err. println(" Status code: " + e. getCode());
223+ System . err. println(" Reason: " + e. getResponseBody());
224+ System . err. println(" Response headers: " + e. getResponseHeaders());
225+ e. printStackTrace();
226+ }
227+ }
228+ }
229+ ```
230+
231+ ### Parameters
232+
233+ | Name | Type | Description | Notes |
234+ | ------------- | ------------- | ------------- | -------------|
235+ | ** id** | ** String** | | |
236+
237+ ### Return type
238+
239+ [ ** FileUploadV2** ] ( FileUploadV2.md )
240+
241+ ### Authorization
242+
243+ No authorization required
244+
245+ ### HTTP request headers
246+
247+ - ** Content-Type** : Not defined
248+ - ** Accept** : application/json
249+
250+ ### HTTP response details
251+ | Status code | Description | Response headers |
252+ | -------------| -------------| ------------------|
253+ | ** 200** | Make thumbnail | - |
254+
193255<a id =" metadata " ></a >
194256# ** metadata**
195257> FileUploadV2 metadata(id)
@@ -250,6 +312,61 @@ No authorization required
250312| -------------| -------------| ------------------|
251313| ** 200** | Get upload metadata | - |
252314
315+ <a id =" ping " ></a >
316+ # ** ping**
317+ > ping()
318+
319+
320+
321+ ### Example
322+ ``` java
323+ // Import classes:
324+ import org.openapitools.client.ApiClient ;
325+ import org.openapitools.client.ApiException ;
326+ import org.openapitools.client.Configuration ;
327+ import org.openapitools.client.models.* ;
328+ import org.openapitools.client.api.UploadRoutesApi ;
329+
330+ public class Example {
331+ public static void main (String [] args ) {
332+ ApiClient defaultClient = Configuration . getDefaultApiClient();
333+ defaultClient. setBasePath(" http://localhost" );
334+
335+ UploadRoutesApi apiInstance = new UploadRoutesApi (defaultClient);
336+ try {
337+ apiInstance. ping();
338+ } catch (ApiException e) {
339+ System . err. println(" Exception when calling UploadRoutesApi#ping" );
340+ System . err. println(" Status code: " + e. getCode());
341+ System . err. println(" Reason: " + e. getResponseBody());
342+ System . err. println(" Response headers: " + e. getResponseHeaders());
343+ e. printStackTrace();
344+ }
345+ }
346+ }
347+ ```
348+
349+ ### Parameters
350+ This endpoint does not need any parameter.
351+
352+ ### Return type
353+
354+ null (empty response body)
355+
356+ ### Authorization
357+
358+ No authorization required
359+
360+ ### HTTP request headers
361+
362+ - ** Content-Type** : Not defined
363+ - ** Accept** : Not defined
364+
365+ ### HTTP response details
366+ | Status code | Description | Response headers |
367+ | -------------| -------------| ------------------|
368+ | ** 200** | Ping | - |
369+
253370<a id =" upload " ></a >
254371# ** upload**
255372> FileUploadV2 upload(fileBytes, correlationId, id, isPublic, withoutThumbnail)
0 commit comments