sendspace Developer | Documentation

Home
API Howto
Full API Guide
API Keys
Downloads
API Support

sendspace API (beta) Developer Guide

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 (beta) assumes a UTF-8 encoding.

 


< Return to Method List

Method: folders.move

Description
Moves a folder. Can be moved into another folder, or placed in the root.
Arguments
Name Mandatory Description
session_key Yes Received from auth.login
folder_id Yes A folder_id code or 0 for root folder
parent_folder_id Yes folder_id code or 0 for root folder
Returns
Folder id of the moved folder
Response
 
<result method="folders.move" status="ok">
    <status>ok</status>
    <id>$folder_id</id>
</result>


Possible Errors
Code Name Description
6 API_ERROR_SESSION_BAD Session expired or not found
10 API_ERROR_FOLDER_NOT_FOUND Folder not found
31 API_ERROR_BAD_TARGET_FOLDER Invalid target folder selected