경로 프로젝트에 대한 게이트웨이에서 제공되는 프로젝트 범위의 기능 플래그를 반환합니다. 이 플래그는 프로젝트를 타겟 개체로 하여 서버 측에서 평가됩니다. 반환 형식은 {"flags": {"": }} 입니다. 프로젝트에 대한 읽기 역할이 있는 모든 호출자는 이를 읽을 수 있습니다. 키 세트는 호환 서페이스가 아닙니다. 플래그가 추가되고 사용중지됨에 따라 변경됩니다. 따라서 부재한 키는 그 자체의 기본값으로 간주합니다.
GET /API/v1/그룹 ID/{id}/기능-플래그
curl \
--request GET 'https://agentengine.mongodb.com/api/v1/projects/{id}/feature-flags' \
--header "Authorization: $API_KEY"
응답 예시(406)
작업을 사용할 수 없습니다.
{
"detail": "This operation is not available in API version 2026-09-20-preview.",
"error": 406,
"errorCode": "OPERATION_NOT_IN_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"detail": "This operation supports text/event-stream, which the Accept header excludes. Remove unsupported media-type parameters or accept this type with a positive q value.",
"error": 406,
"errorCode": "UNACCEPTABLE_MEDIA_TYPE",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
{
"detail": "The requested API version is not supported. Supported versions: 2026-09-20-preview.",
"error": 406,
"errorCode": "UNSUPPORTED_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
응답 예시(406)
{
"detail": "This operation is not available in API version 2026-09-20-preview.",
"error": 406,
"errorCode": "OPERATION_NOT_IN_API_VERSION",
"parameters": [
"Accept"
],
"reason": "Not Acceptable"
}
응답 예시(200)
{
"flags": {
"additionalProperty1": true,
"additionalProperty2": true
}
}
응답 예시(200)
{
"flags": {
"additionalProperty1": true,
"additionalProperty2": true
}
}
응답 예시(400)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(400)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(401)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(401)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(403)
{
"code": "string",
"error": "string",
"success": true
}
응답 예시(403)
{
"code": "string",
"error": "string",
"success": true
}