Retrieving CMIS Object Type properties
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 23, 2015
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/{auth}/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
auth
enumerated No The authorization protocol being used by your application to access Connections Cloud.
Authorized values:
  • basic
  • oauth
Name Type Optional Description
Authorization
enumerated No The authentication mechanism selected by your application to access the API.
Basic is the Base64 encoding of the IBM Connections Cloud username and password: Base64(username:password). For example, Base64(twatson@us.ibm.com:password).
Bearer is the oauth 2.0 access token that is generated when the user grants your application access to IBM Connections Cloud services.
See the reference topic "OAuth 2.0 APIs for web server flow" for more information.
Authorized values:
  • bearer
  • basic
Output
Content Type: application/atom+xml
Code Description
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.