Skip to main content

List Downloads

POST 

//localhost:11337/file-svc/downloads

List download details.

Requires the file-svc:download:view permission.

Responses

List of downloads

Schema
    downloads object[]
  • Array [
  • createdAtstring
    downloadedBytesint64

    DownloadedBytes exists to show the download progress in terms of the number of bytes already downloaded.

    errorstring
    fileNamestring
    filePathstring
    fileSizeint64

    FileSize is the full final downloaded file size.

    idstring
    progressnumber
    statusstring
    updatedAtstring
    urlstring
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeydescription: Type "Bearer" followed by a space and token acquired from the User Svc Login endpoint.in: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "//localhost:11337/file-svc/downloads");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
//localhost:11337
Auth
ResponseClear

Click the Send API Request button above and see the response here!