Google Business Performance API에는 단일 API 요청으로 여러 'DailyMetrics'를 가져올 수 있는
새로운 API 메서드가 있습니다.
v4 reportInsights API 메서드에서 Google Business Profile Performance API로 이전하려면
지원 중단 일정 및 안내를 검토하세요.
Method: locations.questions.answers.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지정된 질문에 대해 페이지로 나눈 답변 목록을 반환합니다.
HTTP 요청
GET https://mybusinessqanda.googleapis.com/v1/{parent=locations/*/questions/*}/answers
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 답변을 가져올 질문의 이름입니다.
|
쿼리 매개변수
매개변수 |
pageSize |
integer
선택사항입니다. 페이지당 가져올 답변 수입니다. 기본 및 최대 pageSize 값은 10입니다.
|
pageToken |
string
선택사항입니다. 지정하면 답변의 다음 페이지가 검색됩니다.
|
orderBy |
string
선택사항입니다. 답변을 반환하는 순서입니다. 유효한 옵션에는 'updateTime desc'가 포함됩니다. 및 'upvoteCount desc'는 요청된 필드를 기준으로 내림차순으로 정렬된 답변을 반환합니다. 기본 정렬 순서는 'updateTime desc'입니다.
|
응답 본문
QuestionsAndAnswers.ListAnswers의 응답 메시지입니다.
성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"answers": [
{
object (Answer )
}
],
"totalSize": integer,
"nextPageToken": string
} |
필드 |
answers[] |
object (Answer )
요청된 답변입니다.
|
totalSize |
integer
모든 페이지에서 이 질문에 대해 게시된 답변의 총 개수입니다.
|
nextPageToken |
string
답변 수가 요청된 최대 페이지 크기를 초과하면 이 필드는 후속 호출에서 다음 답변 페이지를 가져오는 토큰으로 채워집니다. 더 이상 답변이 없으면 이 필드는 응답에 표시되지 않습니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/business.manage
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eRetrieves a paginated list of answers for a specific question using the \u003ccode\u003eGET\u003c/code\u003e method and the provided URL structure.\u003c/p\u003e\n"],["\u003cp\u003eAllows for customization of results through query parameters like \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003eorderBy\u003c/code\u003e to control pagination and sorting.\u003c/p\u003e\n"],["\u003cp\u003eThe response body includes an array of answers, the total number of answers, and a token for retrieving subsequent pages if available.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["This content describes retrieving a list of answers for a specific question using a `GET` request to a defined URL. The `parent` path parameter specifies the question's location. Optional query parameters include `pageSize` (default and max 10), `pageToken` for pagination, and `orderBy` for sorting. The request body should be empty. The response includes an array of `answers`, `totalSize` indicating the total answers, and `nextPageToken` for further pages. Authorization requires the `business.manage` scope.\n"],null,[]]