Stream
It contains the file details for request / response.
Possible Locations
Attributes
Name | Type | Description |
---|---|---|
size | Integer (CSV) | The minimum and maximum possible size of the file in bytes like size="0,100". You can also opt to configure only the maximum size. |
Example
Consider that we want to create a file download response. For this requirement, you have to write the <content> of the <response> with the following details.
copyMaximum file size: 5000 File type: pdf There is no file name.
Here is the stream of content for the trips resource,
copy<content name="files"> <encode type="application/pdf" /> <stream size="5000" /> </content>
Last Updated 2025-05-30 16:54:59 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit