Community articleRetrieving CMIS Object Type properties
Added by IBM contributorIBM on March 25, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Retrieve the CMIS object type representation to know what additional properties are associated with a photo or video

Get the CMIS object type associated with a photo or video in the Media Gallery. This object type will list the additional properties that exist on the object. All photos and videos stored in the Media Gallery are associated with a CMIS object type, which has a unique 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".

Input
Method URI Description
GET /files/{authType}/cmis/repository/{repositoryId}/type/{objectId} You can derive the URL from the service document's typebyid template. Use the web address specified in the element that has a sibling typebyid element.
Name Type Optional Description
objectId
string No Object Id. All photos and videos stored in the Media Gallery are associated with a CMIS object type, which has a unique 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
Output
Content Type: application/atom+xml