Download

Catalog


GET Download file

Request path:

https://oss.aiursoft.com/Download/DownloadFileTry

Request example:

https://oss.aiursoft.com/Download/DownloadFile?BucketName=yourBucketName&FileName=yourFileName&FileExtension=yourFileExtension&Sd=yourSd&Name=yourName&W=0&H=0

Request arguments:

Name Required Type
BucketName Not required Text
FileName Not required Text
FileExtension Not required Text
Sd Not required Text
Name Not required Text
W Required Number
H Required Number

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}

GET From secret

Request path:

https://oss.aiursoft.com/Download/FromSecretTry

Request example:

https://oss.aiursoft.com/Download/FromSecret?Sec=yourSec&Sd=yourSd&Name=yourName&W=0&H=0

Request arguments:

Name Required Type
Sec Required Text
Sd Not required Text
Name Not required Text
W Required Number
H Required Number

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}

GET From key

Request path:

https://oss.aiursoft.com/Download/FromKeyTry

Request example:

https://oss.aiursoft.com/Download/FromKey?Id=0&FileExtension=yourFileExtension&Sd=yourSd&Name=yourName&W=0&H=0

Request arguments:

Name Required Type
Id Required Number
FileExtension Not required Text
Sd Not required Text
Name Not required Text
W Required Number
H Required Number

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}