Skip to content

api upload max size

Alban LEROUX edited this page Feb 28, 2012 · 1 revision

API

upload.max-size

This return the max chunk size can be used in upload

See : Upload

require write grant access

Request example

GET http://example.com/api/get/upload.max-size/json/
{
	"method"  : "upload.max-size",
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<method>upload.max-size</method>
</xml>

Response example

{
	"status"   : "valid",
	"response" : { "max_size" : 33554432 }
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
	<status>valid</status>
	<response>
		<max_size>33554432</max_size>
	</response>
</xml>

Arguments

No argument needed.

Return Value

  • max_size : The max chunk size in byte. (This is the base64 size).
Clone this wiki locally