Request Information
URI Parameters
None.
Body Parameters
the object containing document file url and tags.
UrlToUploadName | Description | Type | Additional information |
---|---|---|---|
fileUrl |
Gets or sets the url of the file to download and post to Filestack. |
string |
None. |
uploadTags |
Gets or sets the upload tags. |
Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "fileUrl": "sample String 1", "uploadTags": { "sample String 1": "sample String 2", "sample String 3": "sample String 4" } }
text/html
Sample:
{"fileUrl":"sample String 1","uploadTags":{"sample String 1":"sample String 2","sample String 3":"sample String 4"}}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
rpc response.
RPCResponseName | Description | Type | Additional information |
---|---|---|---|
data |
Gets or sets the data. |
Object |
None. |
errors |
Gets or sets the errors. |
Collection of RPCError2 |
None. |
included |
Gets or sets the included. |
Collection of Object |
None. |
messages |
Gets or sets the errors. |
Collection of string |
None. |
modelId |
Gets or sets the model identifier. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": {}, "errors": [ { "code": "DataValidation", "detail": "sample String 1", "id": "sample String 2", "status": 100, "title": "sample String 3" }, { "code": "DataValidation", "detail": "sample String 1", "id": "sample String 2", "status": 100, "title": "sample String 3" } ], "included": [ {}, {} ], "messages": [ "sample String 1", "sample String 2" ], "modelId": 1 }
text/html
Sample:
{"data":{},"errors":[{"code":"DataValidation","detail":"sample String 1","id":"sample String 2","status":100,"title":"sample String 3"},{"code":"DataValidation","detail":"sample String 1","id":"sample String 2","status":100,"title":"sample String 3"}],"included":[{},{}],"messages":["sample String 1","sample String 2"],"modelId":1}