The sendspace Application Programming Interface (API) allows you to embed sendspace services in your applications, programs, or scripts, regardless of platform and programming language.
All communication with the sendspace API (1.2) assumes a UTF-8 encoding.
< Return to Method List
Method: folders.getAll
- Description
Obtains information about all available folders.
- Arguments
Name | Mandatory | Description |
session_key | Yes | Received from auth.login |
- Returns
Folders information list. See folders.getInfo for structure of a folder-record.
- Response
<result method="folders.getAll" status="ok">
<folder id="" ... />
...
<folder id="" ... />
</result>
- Usage Example
http://api.sendspace.com/rest/?method=folders.getall&session_key=9i96woykgory1crglmykgycjwa5k2cq2
- Possible Errors
Code | Name | Description |
6 | API_ERROR_SESSION_BAD | Session expired or not found |