Method: domains.list
클라이언트가 등록한 도메인을 나열합니다. 응답의 도메인 순서는 지정되지 않았으며 비확정적입니다. 새로 만든 도메인이 반드시 이 목록의 끝에 추가되지는 않습니다.
HTTP 요청
GET https://gmailpostmastertools.googleapis.com/v1/domains
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
pageSize |
integer
요청한 페이지 크기입니다. 서버에서 요청된 것보다 적은 수의 도메인을 반환할 수 있습니다. 지정하지 않으면 서버에서 적절한 기본값을 선택합니다.
|
pageToken |
string
이전 List 요청에서 반환된 nextPageToken 값입니다(있는 경우). 이전 domains.list 메서드 호출에서 반환된 ListDomainsResponse.next_page_token 의 값입니다.
|
응답 본문
Domains.list의 응답 메시지입니다.
성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"domains": [
{
object (Domain )
}
],
"nextPageToken": string
} |
필드 |
domains[] |
object (Domain )
도메인 목록입니다.
|
nextPageToken |
string
결과의 다음 페이지를 검색하는 토큰이거나 목록에 더 이상 결과가 없으면 비어 있습니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/postmaster.readonly
자세한 내용은 승인 가이드를 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-05(UTC)
[null,null,["최종 업데이트: 2024-09-05(UTC)"],[[["Lists domains registered by the client, with an unspecified order."],["Allows pagination using `pageSize` and `pageToken` query parameters."],["Requires `https://www.googleapis.com/auth/postmaster.readonly` authorization scope for access."],["Returns a list of domains and a token for retrieving the next page if available."],["The request body should be empty for this `GET` request to the specified endpoint."]]],["This document details how to list registered domains via an API. A `GET` request is sent to `https://gmailpostmastertools.googleapis.com/v1/domains` with an empty request body. Optional `pageSize` and `pageToken` query parameters control pagination. The response contains a list of `domains` and a `nextPageToken` for subsequent pages. The response body's JSON representation outlines its structure. Access requires the `https://www.googleapis.com/auth/postmaster.readonly` authorization scope.\n"]]