POST api2/report.json

Reporting

Request Information

URI Parameters

None.

Body Parameters

API.Models.ReportRequest
NameDescriptionTypeAdditional information
projectID

integer

Required

localUploadType

Enums.LocalUploadType

Required

downloadSize

integer

Required

machineName

string

Required

guid

string

Required

status

API.Code.DeviceHelperAPI+eReportingStatus

Required

speed

integer

Required

url

string

Required

downloadInfos

API.Models.DownloadInfos

Required

Request Formats

{
  "projectID": 1,
  "localUploadType": "lutMovie",
  "downloadSize": 2,
  "machineName": "sample string 3",
  "guid": "sample string 4",
  "status": "Unknown",
  "speed": 5,
  "url": "sample string 6",
  "downloadInfos": {
    "counter": 1,
    "currentDownloadServer": "AmazonS3",
    "previousDownloadSpeed": 2,
    "previousDownloadServer": "AmazonS3"
  }
}

Response Information

Resource Description

API.Models.ReportResponse
NameDescriptionTypeAdditional information
status

1 = Bad Server | 0 = Best Server

integer

None.

downloadInfos

Download infos

API.Models.DownloadInfos

None.

Response Formats

{
  "status": 1,
  "downloadInfos": {
    "counter": 1,
    "currentDownloadServer": "AmazonS3",
    "previousDownloadSpeed": 2,
    "previousDownloadServer": "AmazonS3"
  }
}