I have a project where I need to modify the proxy to enable http response streaming to bypass the 10MB limit. I update the proxy using the definition in JSON format. I am unable to find documentation related to JSON format of payload for updating the proxy.
The corresponding XML configuration is mentioned at https://cloud.google.com/apigee/docs/api-platform/develop/enabling-streaming.
Please let me know how to do the same in JSON format and provide me the links to any related documentation.
Apigee configuration, specific to enabling streaming, is always done in XML format. Be sure to update both ProxyEndpoint and TargetEndpoint if you expect to have requests and responses over 10MB. Keep in mind, once streaming is enabled, you are not able to read or manipulate the payload is any way. If you do so, it will buffer the body in memory and error out with a `TooBigBody error`.
Thanks for your reply. I also asked for documentation references to JSON payload for updating the proxy for other cases. Can you please provide that.
I don't know what you mean by "JSON payload for updating the proxy for other cases."
I already stated that Apigee configuration, specific to enabling streaming, is always done in XML format. This means there is not a JSON equivalent to do the same.