Update asset api update
This commit is contained in:
parent
8d342a9f7f
commit
19a85f0bca
1 changed files with 5 additions and 3 deletions
|
|
@ -759,9 +759,10 @@ class DefaultApi {
|
|||
///
|
||||
/// Returns a [Future] containing a [Response] with a [OkResponse] as data
|
||||
/// Throws [DioError] if API call or serialization fails
|
||||
Future<Response<OkResponse>> updateAssetDescription({
|
||||
Future<Response<OkResponse>> updateAssetDescriptionAndTags({
|
||||
required int assetId,
|
||||
required String assetDescription,
|
||||
required List<String> assetTags,
|
||||
CancelToken? cancelToken,
|
||||
ValidateStatus? validateStatus,
|
||||
ProgressCallback? onSendProgress,
|
||||
|
|
@ -775,8 +776,9 @@ class DefaultApi {
|
|||
|
||||
final _response = await _dio.request<Map<String, dynamic>>(
|
||||
_path,
|
||||
queryParameters: <String, dynamic>{
|
||||
'asset_description': assetDescription,
|
||||
data: <String, dynamic>{
|
||||
'description': assetDescription,
|
||||
'tags': assetTags,
|
||||
},
|
||||
options: _options,
|
||||
cancelToken: cancelToken,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue