Content Web Service V1.0

Document created by resplin Employee on Jun 6, 2015Last modified by alfresco-archivist on Aug 31, 2016
Version 2Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Web ServicesBack to Content Web Service.




This service provides read and write access to content streams.

Note: Options such as SOAP w/ Attachments and XOP are also being investigated.


Content Data Type


datatype_content.jpg


describe


Describe a content stream.

Content[] = content.describe(Predicate items)


read


Retrieve content from the Repository.

ReadResult = content.read(Reference node)


ReadResult


write


Write content to the Repository.

void content.write(Reference node, xsd:base64Binary content)


create


Create a new content entity.

[Content Web Service V1.0#Content Data Type|Content]] = content.create(ParentReference parent, xsd:string name, ContentFormat format, xsd:base64Binary content)


exists


Determine if content stream actually exists.

ExistsResult[] = content.exists(Predicate items)


ExistsResult


  • content - Reference
  • exists - boolean
  • length - long

delete


Delete content entities.

Reference[] = content.delete(Predicate items)

Attachments

Outcomes