docs/SignatureRequestApi.md in dropbox-sign-1.2.0 vs docs/SignatureRequestApi.md in dropbox-sign-1.3.0
- old
+ new
@@ -649,11 +649,11 @@
- **Accept**: application/json
## `signature_request_files_as_file_url`
-> `<FileResponse> signature_request_files_as_file_url(signature_request_id)`
+> `<FileResponse> signature_request_files_as_file_url(signature_request_id, opts)`
Download Files as File Url
Obtain a copy of the current documents specified by the `signature_request_id` parameter. Returns a JSON object with a url to the file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead.
@@ -685,16 +685,16 @@
#### Using the `signature_request_files_as_file_url_with_http_info` variant
This returns an Array which contains the response data, status code and headers.
-> `<Array(<FileResponse>, Integer, Hash)> signature_request_files_as_file_url_with_http_info(signature_request_id)`
+> `<Array(<FileResponse>, Integer, Hash)> signature_request_files_as_file_url_with_http_info(signature_request_id, opts)`
```ruby
begin
# Download Files as File Url
- data, status_code, headers = api_instance.signature_request_files_as_file_url_with_http_info(signature_request_id)
+ data, status_code, headers = api_instance.signature_request_files_as_file_url_with_http_info(signature_request_id, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <FileResponse>
rescue Dropbox::Sign::ApiError => e
puts "Error when calling SignatureRequestApi->signature_request_files_as_file_url_with_http_info: #{e}"
@@ -704,9 +704,10 @@
### Parameters
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| `signature_request_id` | **String** | The id of the SignatureRequest to retrieve. | |
+| `force_download` | **Integer** | By default when opening the `file_url` a browser will download the PDF and save it locally. When set to `0` the PDF file will be displayed in the browser. | [optional][default to 1] |
### Return type
[**FileResponse**](FileResponse.md)