SLnet.WebExtApi

<back to all web services

ListAllDocuments

Generic API

The following routes are available for this service:
GET/api/{DomainName}/documents/{EntityID}Retrieves the directory tree and files of an entity

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/ListAllDocuments HTTP/1.1 
Host: 5.172.198.40 
Content-Type: application/json
Content-Length: length

{"provider":"String","setup":"String","EntityID":"String","DomainName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"Files":[{"ID":"String","ParentID":"String","RelativeID":"String","Description":"String","Kind":0,"Size":0,"Revision":0,"RevisionID":"String","FileName":"String","LinkID":"String","OwnerID":"String","CreationDate":"0001-01-01T00:00:00.0000000","User":"String","Tags":"String","Origin":0,"Name":"String","Uri":"String"}],"NodeIsTemplate":false,"Domain":0,"NodeType":0,"ID":"String","ParentID":"String","RelativeID":"String","Description":"String","Kind":0,"Size":0,"Revision":0,"RevisionID":"String","FileName":"String","LinkID":"String","OwnerID":"String","CreationDate":"0001-01-01T00:00:00.0000000","User":"String","Tags":"String","Origin":0,"Name":"String","Uri":"String"}]