list folder

interface address:
  • /api/drive/dirs

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/dirs"

response example:

  • JSON:

    {
    }
    

list file

interface address:
  • /api/drive/filelist

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/filelist"

response example:

  • JSON:

    {
    }
    

list shared file

interface address:
  • /api/drive/sharedlist

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/sharedlist"

response example:

  • JSON:

    {
    }
    

list trash file

interface address:
  • /api/drive/trash

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/trash"

response example:

  • JSON:

    {
    }
    

list starred file

interface address:
  • /api/drive/starredlist

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/starredlist"

response example:

  • JSON:

    {
    }
    

list recent file

interface address:
  • /api/drive/recentlist

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/recentlist"

response example:

  • JSON:

    {
    }
    

list recent office document

interface address:
  • /api/drive/recentdocs

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/recentdocs"

response example:

  • JSON:

    {
    }
    

list starred office document

interface address:
  • /api/drive/starreddocs

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/starreddocs"

response example:

  • JSON:

    {
    }
    

list shared office document

interface address:
  • /api/drive/shareddocs

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/shareddocs"

response example:

  • JSON:

    {
    }
    

list office document

interface address:
  • /api/drive/docslist

HTTP request method:
  • GET

request params:
response code:
  • common response

example:

curl -X GET "$BASE_URL/api/drive/docslist"

response example:

  • JSON:

    {
    }
    

touch file

interface address:
  • /api/drive/touch

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/touch"

response example:

  • JSON:

    {
    }
    

upload file

interface address:
  • /api/drive/upload

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/upload"

response example:

  • JSON:

    {
    }
    

create file/folder

interface address:
  • /api/drive/create

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/create"

response example:

  • JSON:

    {
    }
    

move file/folder

interface address:
  • /api/drive/move

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/move"

response example:

  • JSON:

    {
    }
    

delete file/folder

interface address:
  • /api/drive/delete

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/delete"

response example:

  • JSON:

    {
    }
    

rename file/folder

interface address:
  • /api/drive/rename

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/rename"

response example:

  • JSON:

    {
    }
    

clone file/folder

interface address:
  • /api/drive/clone

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/clone"

response example:

  • JSON:

    {
    }
    

star file/folder

interface address:
  • /api/drive/starred

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/starred"

response example:

  • JSON:

    {
    }
    

restore file/folder

interface address:
  • /api/drive/restore

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/restore"

response example:

  • JSON:

    {
    }
    

search file/folder

interface address:
  • /api/drive/search

HTTP request method:
  • POST

request params:
response code:
  • common response

example:

curl -X POST "$BASE_URL/api/drive/search"

response example:

  • JSON:

    {
    }