Scenario
Consider the following environment:
- TheDocsservice is installed on a server called gdocsServer.
- You created an enterprise repository named "SPengg" which points to theSharePointsite athttp://SPengg/developmentwith ID 47.
- You created an enterprise repository named "FSit" which points to a File Share located at\\shares\itwith ID 53.
- An existing file share exists on the organization's network located at\\shares\hr\benefitsthat users have access to.
The following table lists sample REST calls that can be made:
REST Call URI | Example |
---|---|
Get folder contents in a predefined enterprise repository. | GET http://gdocsServer/docs/1/SPengg/ProductX |
Upload a document to a predefined enterprise repository location. | PUT http://gdocsServer/docs/1/53/tickets/screenshot.jpg HTTP Request body is document content |
Get a list of all versions of a document. | GET http://gdocsServer/docs/1/47/requirements.docx?metadata&version=* |
Check out a document. | POST http://gdocsServer/docs/1/SPengg/ProductZ/status.xlsx HTTP Request body is a JSON file:
|