Folders

Catalog


GET View content

Request path:

https://probe.aiursoft.com/Folders/ViewContentTry

Request example:

https://probe.aiursoft.com/Folders/ViewContent?AccessToken=yourAccessToken&SiteName=yourSiteName&FolderNames=yourFolderNames

Request arguments:

Name Required Type
AccessToken Required Text
SiteName Required Text
FolderNames Not required Text

Possible Response:

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

Possible Response:

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

POST Create new folder

Request path:

https://probe.aiursoft.com/Folders/CreateNewFolder

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&SiteName=yourSiteName&FolderNames=yourFolderNames&NewFolderName=yourNewFolderName 

Request form:

Name Required Type
AccessToken Required Text
SiteName Required Text
FolderNames Not required Text
NewFolderName Required Text

Possible Response:

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

Possible Response:

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

POST Delete folder

Request path:

https://probe.aiursoft.com/Folders/DeleteFolder

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&SiteName=yourSiteName&FolderNames=yourFolderNames 

Request form:

Name Required Type
AccessToken Required Text
SiteName Required Text
FolderNames Not required Text

Possible Response:

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

Possible Response:

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

POST Move folder

Request path:

https://probe.aiursoft.com/Folders/MoveFolder

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&SiteName=yourSiteName&FolderNames=yourFolderNames&NewFolderNames=yourNewFolderNames 

Request form:

Name Required Type
AccessToken Required Text
SiteName Required Text
FolderNames Required Text
NewFolderNames Required Text

Possible Response:

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

Possible Response:

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