Check File Name Availability
Added by IBM contributorIBM on March 28, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Provides details on checking if a name is already in use by another file in the Media Gallery.
Adding a file with the same name as an existing file in the corresponding community files repository is not allowed
Method URI Description
HEAD /files/{authType}/cmis/repository/{repositoryId}/objectp You can derive the URL from the service document's objectbypath template value.
Name Type Optional Description
string No ID of the repository containing the media content
enumerated No Authentication type
Authorized values:
  • basic
  • form
  • oauth
Name Type Optional Description
string No String. Use a value of "{cmis:path}/{filename}"where {cmis:path} is the cmis:path value from the root feed which is available by using the Retrieving Community Files Root Feed and {filename} is the name that you would like to check