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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/ListAllDocuments HTTP/1.1 
Host: 5.172.198.40 
Content-Type: text/jsv
Content-Length: length

{
	provider: String,
	setup: String,
	EntityID: String,
	DomainName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01,
				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-01,
		User: String,
		Tags: String,
		Origin: 0,
		Name: String,
		Uri: String
	}
]