v0.0.8 | CORS 설정에 X-NHN-Appkey 헤더 허용 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 36s

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-15 00:32:00 +09:00
parent 10ba64d3d1
commit 57526a0f13
12 changed files with 3018 additions and 36 deletions

View File

@ -46,6 +46,9 @@ class NHNCloudEndpoints:
STORAGE_KR1 = "https://kr1-api-object-storage.nhncloudservice.com/v1"
STORAGE_KR2 = "https://kr2-api-object-storage.nhncloudservice.com/v1"
# DNS Plus (글로벌 서비스 - 리전 무관)
DNSPLUS = "https://dnsplus.api.nhncloudservice.com"
class NHNCloudAPIError(Exception):
"""NHN Cloud API 에러"""
@ -163,3 +166,7 @@ class BaseAPI:
def _delete(self, url: str, **kwargs) -> dict:
"""DELETE 요청"""
return self._request("DELETE", url, **kwargs)
def _patch(self, url: str, json_data: Optional[dict] = None, **kwargs) -> dict:
"""PATCH 요청"""
return self._request("PATCH", url, json_data=json_data, **kwargs)