|
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 |
| folder_id | Yes | A folder_id code or 0 for root folder |
| name | No | Only use if you want to change data. Sending empty will clear existing data. |
| shared | No | Value can be 0 for private or 1 for public. Only use if you want to change data. Sending empty will clear existing data. |
| parent_folder_id | No | Only use if you want to change data. Sending empty will clear existing data. |
<result method="folders.setInfo" status="ok"> <folder id="" name="" shared="" public_url="" rss_url="" parent_folder_id=""/> </result>
| 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 |
| 31 | API_ERROR_BAD_TARGET_FOLDER | Invalid target folder selected |