- URL:https://[root]/community/users/[userName]/addResource(POST only)
Below is a sample ArcGIS Enterprise POST request for addResource:
POST /webadaptor/sharing/rest/community/users/jdoe/addResource HTTP/1.1 Host: machine.domain.com Content-Type: multipart/form-data; boundary=----boundary Content-Length:  ----boundary Content-Disposition: form-data; name="key" logo.png ----boundary Content-Disposition: form-data; name="file"; filename="" Content-Type: application/octet-stream <content of file> ----boundary Content-Disposition: form-data; name="text" City of Cloud Creek logo ----boundary Content-Disposition: form-data; name="clientId" ----boundary--
The add resource operation (POST only) allows the administrator to add a file resource, for example, the organization's logo or custom banner. The resource can be used by any member of the organization. File resources use storage space from your quota and are scanned for viruses.
If the file resource is from a file, it must be uploaded in an HTTP multi-part request as per IETF RFC1867.
The name the resource should be stored under.
Multipart HTTP parameter containing the binary file to upload
JSON Response example