|
sendspace API (beta) Developer GuideThe sendspace Application Programming Interface (API) allows you to embed sendspace services in your applications, programs, or scripts, regardless of platform and programming language. |
| Name | Mandatory | Description |
| session_key | Yes | Received from auth.login |
| name | Yes | |
| shared | No | Value can be 0 for private or 1 for public |
| parent_folder_id | No | A folder_id code or 0 for root folder |
<result method="folders.create" status="ok"> <folder id="" name="" shared="" public_url="" rss_url="" parent_folder_id=""/> </result>
http://api.sendspace.com/rest/?method=folders.create&session_key=9i96woykgory1crglmykgycjwa5k2cq2&name=test&shared=0&parent_folder_id=0
| Code | Name | Description |
| 6 | API_ERROR_SESSION_BAD | Session expired or not found |
| 10 | API_ERROR_FOLDER_NOT_FOUND | Folder not found |
| 11 | API_ERROR_PERMISSION_DENIED | Permission denied |