Regions
Get Optimal Base Region
Changed onReturns the optimal base region for deployment based on the user's CDN server token location. Optionally filter by GPU type and required GPU count.
get/regions/optimal
Request
- Base URLhttps://api.bunny.net/mc
- AuthAPI key in header AccessKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cdnServerTokenstring
gpuTypestring
gpuCountinteger
Response
Optimal base region was successfully retrieved.
Changes
- info
added the new optional
queryrequest parametergpuCount - info
added the new optional
queryrequest parametergpuType - info
added the optional property
/to the response with the status
- info
- info
added the optional property
to the response with the status - info
the response property
//became required for the status
- info