Content Web Service V1.0

cancel
Showing results for 
Search instead for 
Did you mean: 

Content Web Service V1.0

resplin
Intermediate
0 0 1,994

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)