Download media item from private gallery via REST

Can I download  a media item in a private gallery via REST?  I'm looking to create a utility to copy one gallery and all assets to another gallery.

Parents
  • You may be able to using the CFS REST endpoint.  You will need to split the file URL returned from the media request. The CFS endpoint is only looking for the portion of the url after "__key".

    This url:

    http://trunk.local.com/cfs-file/__key/telligent-evolution-components-attachments/13-02-00-00-00-00-00-01/hawkeye.jpg

    Should be retrievable with the following REST request:

    http://trunk.local.com/api.ashx/v2/cfs/telligent-evolution-components-attachments/13-02-00-00-00-00-00-01/hawkeye.jpg

Reply
  • You may be able to using the CFS REST endpoint.  You will need to split the file URL returned from the media request. The CFS endpoint is only looking for the portion of the url after "__key".

    This url:

    http://trunk.local.com/cfs-file/__key/telligent-evolution-components-attachments/13-02-00-00-00-00-00-01/hawkeye.jpg

    Should be retrievable with the following REST request:

    http://trunk.local.com/api.ashx/v2/cfs/telligent-evolution-components-attachments/13-02-00-00-00-00-00-01/hawkeye.jpg

Children