+ Reply to Thread
Results 1 to 7 of 7

Thread: exporting all attachments as files

Hybrid View

  1. #1

    Default exporting all attachments as files

    Hello,

    I need to export all attachments from all users. I am using this example: http://developer.mindtouch.com/en/do...ages_and_files

    but it export files which only are in files.xml. www.server.com/@api/deki/files contains only 3 files. How I can recreate files.xml with all attachments? or maybe I need go other way to export all attachments?

    Thank you for your responses.

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    Do you want to export all attachments uploaded to user pages or all attachments from all pages on the site?
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  3. #3

    Default

    I want export all attachments from all pages.

  4. #4

    Default

    could somebody help me with this task?

  5. #5
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    You'll have to enumerate all files on the site, and then download each

    The relevant APIs are:
    * GET:files to get a list of all attached files
    * GET:files/{fileid} to download a file
    *
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  6. #6

    Default

    How I mentioned at my first post, using www.server.com/@api/deki/files I get only 3 files in the list which are with deleteflag. But there are much more attached files on mindtouch server. The problem is that I cant get list of all files.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts