Skip to content
Mark Johnson edited this page Sep 15, 2013 · 2 revisions

Gets a list of directories inside a given parent directory

Request Parameters

  • action getdir
  • token Your current token (see Session Initalisation)
  • t The current timestamp (optional)
  • dir The path of the parent directory (optional, defaults to /)

returns

JSON string containing:

  • folders An array of absolute paths of the child directories

example

GET http://localhost:8888/gui/?token=ToKeNStRinG&action=getdir&path=/home/me