Home APIs/Tools API Data Storage BOX

Data Storage BOX

    With Data Storage API you can obtain the folders/files stored in the your Data Storage Box. You can also download/upload files etc.

    API
    Basic Information
    Resources : REST,SDK(Android™,iOS)
    • Requirement : App Review
    ご利用いただくためには「アカウント登録(無料)」が必要です。

    Please check to the API reference document and select the API endpoint.

    Copying of Files/Folders

    Copies file/folder information specified with IDs and paths.

    Request URL

    https://xlb.datastoragebox.smt.docomo.ne.jp/box_a2/4.0/copy

    Method : POST
    Character code : UTF-8

    Request Header

    key Mandatory Description
    Content-Type Specifies the "application/json".
    Authorization OAuth authentication scheme.
    See API Common Reference 2.3 for details.

    * With our SDK for Android™, iOS and Java, you can develop your Apps using our OAuth. Here is the SDK.

    Request Body (JSON Format)

    key Mandatory Description
    owner_ap_cd Code to identify the AP that issued the IF.
    See "コード定義"('Code definition') in the specification for description of setting values.
    after_info Copy-to information
       id ID to manage folders (Storing folder ID).
    name Name of copy-to folder.(Full path).
    See "使用可能文字、使用禁止文字について"('Allowed characters, prohibited characters') in the specification for details.
    Null characters ("name":"") are set in case of TOP folder.
    before_info Copy-from information.
       id ID to manage files/folders(Folder/file ID to be copied).
    name Names of copy-from files/folders (Full path).
    See "使用可能文字、使用禁止文字について"('Allowed characters, prohibited characters') in the specification for details.
    revision Serial number managing update information of folders/files(1~2147483647).

    Response Header

    key Mandatory Description
    Content-Type application/json is returned.

    Response Body (Processing Success)(JSON Format)

    key Mandatory Description
    meta_info Meta information(Copy-to).
       parent_folder_id Parent folder ID.
    Null in case of root folder or collaborated root folder.
    id ID to manage files/folders
    name Full path of file or folder name.
    type_cd Distinguishes files and folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    hash_value - Hash values of files (Hash function is MD5).
    size - File size.
    Does not exist in case of folders.
    status_cd Indicates status(Stored) of files/folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    delete_status_cd Indicates deletion information of files/folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    delete_reason_cd Indicates reasons for deleting files/folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    revision Serial number managing update information(1~2147483647).
    share_status_cd Shared status type code.
    See "コード定義"('Code definition') in the specification for description of setting values.
    update_date Update date(yyyy/mm/dd hh:mm:ss Format).
    File: Date and time when new and update upload was completed. In case of copy-to files, date and time the copy was completed.
    Folder: Date and time when file folder creation was completed. In case of copy-to folders, date and time the copy was completed.

    Response Body (Processing Failure)(JSON Format)

    key Mandatory Description
    meta_info Meta information.
       parent_folder_id Parent folder ID.
    Null in case of root folder or collaborated root folder.
    id ID to manage files/folders.
    name Full path of file or folder name.
    type_cd Distinguishes files and folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    hash_value - Hash values of files (Hash function is MD5).
    size - File size.
    Does not exist in case of folders.
    status_cd Indicates status(Stored) of files/folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    delete_status_cd Indicates deletion information of files/folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    delete_reason_cd Indicates reasons for deleting files/folders.
    See "コード定義"('Code definition') in the specification for description of setting values.
    revision Serial number managing update information(1~2147483647).
    share_status_cd Shared status type code.
    See "コード定義"('Code definition') in the specification for description of setting values.
    update_date Update date(yyyy/mm/dd hh:mm:ss Format).
    File: Date and time when new and update upload was completed. In case of copy-to files, date and time the copy was completed.
    Folder: Date and time when file folder creation was completed. In case of copy-to folders, date and time the copy was completed.
    FAQ
    You can find a list of FAQs on each API.
    Contact Us
    We can support you by answering your queries with regard to "docomo Developer Support" and "Tsukuro Smartphone/i-mode contents". Please check our FAQs and contact us here in case you cannot find a solution.