FileDownloadTokenApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| deleteFileDownloadToken | DELETE FileDownloadTokenApi | Delete a FileDownloadToken. |
deleteFileDownloadToken
Void
deleteFileDownloadToken(id)
Delete a FileDownloadToken.
Deletes a specific FileDownloadToken.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FileDownloadTokenApi;
FileDownloadTokenApi apiInstance = new FileDownloadTokenApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the FileDownloadToken.
try {
Void result = apiInstance.deleteFileDownloadToken(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FileDownloadTokenApi#deleteFileDownloadToken");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the FileDownloadToken. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getFileDownloadToken
FileDownloadToken
getFileDownloadToken(id)
Retrieve a single FileDownloadToken
Retrieves a single FileDownloadToken for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FileDownloadTokenApi;
FileDownloadTokenApi apiInstance = new FileDownloadTokenApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the FileDownloadToken.
try {
FileDownloadToken result = apiInstance.getFileDownloadToken(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FileDownloadTokenApi#getFileDownloadToken");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the FileDownloadToken. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getFileDownloadTokenList
FileDownloadToken
getFileDownloadTokenList(pagesizesort)
Retrieve a list of FileDownloadTokens
Retrieves a list of FileDownloadTokens.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FileDownloadTokenApi;
FileDownloadTokenApi apiInstance = new FileDownloadTokenApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
FileDownloadToken result = apiInstance.getFileDownloadTokenList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FileDownloadTokenApi#getFileDownloadTokenList");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| page | Integer | [optional] [default to 0] | |
| size | Integer | [optional] [default to 20] | |
| sort | List<String> | [optional] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postFileDownloadToken
FileDownloadToken
postFileDownloadToken(fileDownloadToken)
Create a new FileDownloadToken
Creates a new FileDownloadToken.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FileDownloadTokenApi;
FileDownloadTokenApi apiInstance = new FileDownloadTokenApi();
FileDownloadToken fileDownloadToken = new FileDownloadToken(); // FileDownloadToken | FileDownloadToken details.
try {
FileDownloadToken result = apiInstance.postFileDownloadToken(fileDownloadToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FileDownloadTokenApi#postFileDownloadToken");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| fileDownloadToken | FileDownloadToken | FileDownloadToken details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updateFileDownloadToken
FileDownloadToken
updateFileDownloadToken(idfileDownloadToken)
Update an existing FileDownloadToken
Updates an existing FileDownloadToken.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.FileDownloadTokenApi;
FileDownloadTokenApi apiInstance = new FileDownloadTokenApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the FileDownloadToken.
FileDownloadToken fileDownloadToken = new FileDownloadToken(); // FileDownloadToken | Updated FileDownloadToken details.
try {
FileDownloadToken result = apiInstance.updateFileDownloadToken(idfileDownloadToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FileDownloadTokenApi#updateFileDownloadToken");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Unique identifier for the FileDownloadToken. | |
| fileDownloadToken | FileDownloadToken | Updated FileDownloadToken details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
| ~ | value |
|---|---|
| GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.1-SNAPSHOT |
| API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
| GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
| GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
| GENERATED DATE | 2025-12-03T11:13:18.492704-08:00[America/Los_Angeles] |