Create a file share programmatically.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
|Method||Resource address||Input representation||Description|
|POST||/basic/api/shares/feed||share||Creates a share to share a file resource with other people.|
A Share Atom entry document. The content type must also be specified as application/atom+xml
Returned HTTP headers
HTTP/1.1 201 Created
Indicates that the file share was successfully created. If an error occurs, this header contains one of the error codes.Error codes
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic: Working with shares