Community articleRetrieving a photo or video
Added by IBM contributorIBM on March 31, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Retrieve the entry for a photo or video that is used by the document summary details view in the Media Gallery

Retrieve an Atom document representation of a photo or video with the information used by the document summary details view in the Media Gallery user interface.
 

Input
Method URI Description
GET /files/{authType}/cmis/repository/{repositoryId}/object/{objectId} You can derive the URL from the photos and videos feed. Find the document's entry in the feed and use the "href" attribute value of the element as the web address.
Name Type Optional Description
objectId
string No Object ID. By default the Media Gallery provides and uses a "Social Photo" object type with a CMIS id of "ada30772-31fe-44bf-b8b4-dd7e4f072cd6" and a "Social Video" object type with a CMIS id of "ada30772-31fe-44bf-b8b4-dd7e4f072ad6".
repositoryId
string No ID of the repository containing the media content
authType
enumerated No Authentication type
Authorized values:
  • basic
  • form
  • oauth
Name Type Optional Description
includeACL
boolean Yes Use "true"
includeAllowableActions
boolean Yes Use "true"
includeRelationships
string Yes Use "source"
includeTags
boolean Yes Use "true" so that tags associated with the file will be incuded
Output
Content Type: application/atom+xml