API

Catalog


POST Delete app

Request path:

https://oss.aiursoft.com/API/DeleteApp

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&AppId=yourAppId 

Request form:

Name Required Type
AccessToken Required Text
AppId Required Text

GET View my buckets

Request path:

https://oss.aiursoft.com/API/ViewMyBucketsTry

Request example:

https://oss.aiursoft.com/API/ViewMyBuckets?AccessToken=yourAccessToken

Request arguments:

Name Required Type
AccessToken Required Text

POST Create bucket

Request path:

https://oss.aiursoft.com/API/CreateBucket

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&BucketName=yourBucketName&OpenToRead=false&OpenToUpload=false 

Request form:

Name Required Type
AccessToken Required Text
BucketName Required Text
OpenToRead Required Boolean
OpenToUpload Required Boolean

POST Edit bucket

Request path:

https://oss.aiursoft.com/API/EditBucket

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&BucketId=0&NewBucketName=yourNewBucketName&OpenToRead=false&OpenToUpload=false 

Request form:

Name Required Type
AccessToken Required Text
BucketId Required Number
NewBucketName Required Text
OpenToRead Required Boolean
OpenToUpload Required Boolean

GET View bucket detail

Request path:

https://oss.aiursoft.com/API/ViewBucketDetailTry

Request example:

https://oss.aiursoft.com/API/ViewBucketDetail?BucketId=0

Request arguments:

Name Required Type
BucketId Required Number

POST Delete bucket

Request path:

https://oss.aiursoft.com/API/DeleteBucket

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&BucketId=0 

Request form:

Name Required Type
AccessToken Required Text
BucketId Required Number

GET View one file

Request path:

https://oss.aiursoft.com/API/ViewOneFileTry

Request example:

https://oss.aiursoft.com/API/ViewOneFile?FileKey=0

Request arguments:

Name Required Type
FileKey Required Number

POST Upload file

Request path:

https://oss.aiursoft.com/API/UploadFile

Request content type:

multipart/form-data

Form content example:

AliveDays=0&AccessToken=yourAccessToken&BucketId=0 

Request form:

Name Required Type
AliveDays Required Number
AccessToken Required Text
BucketId Required Number
File Required File

GET View all files

Request path:

https://oss.aiursoft.com/API/ViewAllFilesTry

Request example:

https://oss.aiursoft.com/API/ViewAllFiles?AccessToken=yourAccessToken&BucketId=0

Request arguments:

Name Required Type
AccessToken Required Text
BucketId Required Number

POST Delete file

Request path:

https://oss.aiursoft.com/API/DeleteFile

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&FileKey=0 

Request form:

Name Required Type
AccessToken Required Text
FileKey Required Number