getQuota
- Print
- PDF
getQuota
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
In GeoLocation, you can view the monthly limit for use and monthly maximum number of calls set by the user.
Requests
API URL
GET https://geolocation.apigw.ntruss.com/geolocation/v2/quota
Request headers
Header | Description |
---|---|
x-ncp-apigw-timestamp | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC. If the time difference compared to the APIGW server is more than 5 minutes, the request is considered invalid. x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | This is the Access Key ID issued by NAVER Cloud Platform portal.x-ncp-iam-access-key:{Sub Account Access Key} |
x-ncp-apigw-signature-v2 | This is the signature encrypted Access Key ID and Secret Key.x-ncp-apigw-signature-v2:{API Gateway Signature} |
Responses
Response statuses
HTTP status | Description |
---|---|
200 | OK |
204 | OK (No Content) |
404 | Not Found |
500 | Internal Server Error |
Response body
Category | Type | Description |
---|---|---|
type | String | This returns the Limited use or Unlimited use status. |
quota | int | This is the set value for the quota (responds with -1 for unlimited use). |
Example
{
"resource": {
"type": "Limited",
"quota": 100
}
}
Error codes
Error code | Response message | Description |
---|---|---|
130001 | Invalid Quota | This error occurs when an invalid quota is set. |
131002 | Internal Server Error | This occurs when there is a GeoLocation server error. If the problem persists, please contact Support > Contact Us. |
131004 | Subscription Required | Using the NAVER Cloud Platform console, go to AI·NAVER API > GeoLocation > Subscription to request use of GeoLocation services. |
For other error codes, please see NAVER Cloud Platform API > Handle error.
Was this article helpful?