• Document Up to Date

Upload an asset File into CMIS (deprecated)

Upload an asset file to CMIS repository.

Important

This API is deprecated and provided only as a reference. Please see cmisUpload for the current version.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /studio, please prefix the API URLs with this context.

HTTP Verb
POST
URL
/api/1/services/api/1/cmis/upload.json
Response Formats
JSON
Required Role
Admin, write access to the site.

Parameters

Name
Type
Required
Description
site_id
String
Site ID to use
cmis_repo_id

String


CMIS repository ID as specified in Site Config
CMIS Config (cmis-config.xml)
cmis_path
String
Path to read the asset from CMIS repo (source).

Example

Request

POST /api/1/services/api/1/cmis/clone.json`

Response

Status 200 OK

1{
2      "message" : "OK"
3}

Responses

Status
Response Body
200
See example above.
400
{ "message" : "Invalid parameter(s)" }
400




{ "message" : "Invalid CMIS parameter(s).
Invalid CMIS data source configuration
(hostname, port number, etc.), please contact
your site administrator.
ACTUAL_EXCEPTION" }
400
{ "message" : "Bad Request" }
401
{ "message" : "Unauthorized" }
401




{ "message" : "CMIS Unauthorized:
Invalid username or password in CMIS
data source configuration, please contact
your site administrator.
ACTUAL_EXCEPTION" }
404

{ "message" : "CMIS Path Not Found.
ACTUAL_EXCEPTION" }
408

{ "message" : "CMIS Timeout.
ACTUAL_EXCEPTION" }
500

{ "message" : "Internal server error.
ACTUAL_EXCEPTION" }
503

{ "message" : "CMIS Unavailable.
ACTUAL_EXCEPTION" }