diff --git a/static/index.html b/static/index.html index b402d0f..315142e 100644 --- a/static/index.html +++ b/static/index.html @@ -45,15 +45,11 @@
-URL: POST /
The request must be sent as JSON with the following format:
-+Request Format
+The request must be sent as JSON with the following format:
+{ "type": "batching", "data": [ @@ -65,21 +61,21 @@ }-Parameters:
-
type
: The type of the request. Must be "batching"
.data
: An array of asset IDs that you want to request.cookie
: Optional. A .ROBLOSECURITY
cookie. If not provided, you will only be
- able to access public assets. The cookie is used once to make the request to Roblox servers and is then
- discarded permanently.
- You can find more information on obtaining your cookie here!Parameters:
+type
: The type of the request. Must be "batching"
.data
: An array of asset IDs that you want to request.cookie
: Optional. A .ROBLOSECURITY
cookie. If not provided, you will only be
+ able to access public assets. The cookie is used once to make the request to Roblox servers and is then
+ discarded permanently.
+ You can find more information on obtaining your cookie here!There is a limit of 25 requests per minute. If this limit is exceeded, the following error will be returned: -
-+Rate Limit
+There is a limit of 25 requests per minute. If this limit is exceeded, the following error will be returned: +
+{ "code": 429, "error": "Rate limit exceeded", @@ -87,9 +83,9 @@ }-Response Format
-The response will be in JSON format:
-+-Response Format
+The response will be in JSON format:
++{ "type": "batching-response", @@ -107,21 +103,21 @@ } }-Fields:
-
type
: Always "batching-response"
.data
: An object where each key is an asset ID and the value contains the result of the
- request.status
: Either "success"
or "failure"
.url
: The location of the asset if the request was successful, or an empty string if it
- failed.additional
: Any additional information, such as error messages.Fields:
+type
: Always "batching-response"
.data
: An object where each key is an asset ID and the value contains the result of the
+ request.status
: Either "success"
or "failure"
.url
: The location of the asset if the request was successful, or an empty string if it
+ failed.additional
: Any additional information, such as error messages.+Example Request
+POST / Content-Type: application/json @@ -137,8 +133,8 @@ Content-Type: application/json }-Example Response
-+Example Response
+{ "type": "batching-response", "data": {