getArchiveDownloadUrl abstract method

  1. @GET.new('/admin/archives/{subjectType}/{subjectId}/{archiveId}/download')
Future<DownloadUrlResponseSchema> getArchiveDownloadUrl({
  1. @Path.new('subjectType') required String subjectType,
  2. @Path.new('subjectId') required String subjectId,
  3. @Path.new('archiveId') required String archiveId,
})

Get archive download URL.

Generate a time-limited download link to the archive file. The URL provides direct access to download the compressed archive contents.

subjectType - The subjectType.

subjectId - The subjectId.

archiveId - The archiveId.

Implementation

@GET('/admin/archives/{subjectType}/{subjectId}/{archiveId}/download')
Future<DownloadUrlResponseSchema> getArchiveDownloadUrl({
  @Path('subjectType') required String subjectType,
  @Path('subjectId') required String subjectId,
  @Path('archiveId') required String archiveId,
});