Method: projects.sites.customDomains.list

지정된 상위 호스팅 사이트와 연결된 각 CustomDomain 나열합니다.

페이지 매김을 용이하게 하기 위해 일관되지만 정의되지 않은 순서로 CustomDomain 을 반환합니다.

HTTP 요청

GET https://firebasehosting.googleapis.com/v1beta1/{parent=projects/*/sites/*}/customDomains

URL은 gRPC 트랜스코딩 구문을 사용합니다.

경로 매개변수

매개변수
parent

string

필수의. 나열하려는 CustomDomain 항목이 있는 Firebase 호스팅 Site .

쿼리 매개변수

매개변수
pageSize

integer

요청에서 반환할 CustomDomain 엔터티의 최대 수입니다. 기본값은 10입니다.

pageToken

string

목록을 다시 시작할 위치를 서버에 알려주는 customDomains.list 에 대한 이전 호출의 토큰입니다.

showDeleted

boolean

true인 경우 요청은 아직 완전히 삭제되지 않은 일시 삭제된 CustomDomain 을 반환합니다. 삭제된 CustomDomain 을 복원하려면 customDomains.undelete 요청을 만드세요.

요청 본문

요청 본문은 비어 있어야 합니다.

응답 본문

customDomains.list 의 응답입니다.

성공하면 응답 본문에 다음 구조의 데이터가 포함됩니다.

JSON 표현
{
  "customDomains": [
    {
      object (CustomDomain)
    }
  ],
  "nextPageToken": string
}
필드
customDomains[]

object ( CustomDomain )

지정된 Firebase Site 와 연결된 CustomDomain 엔터티 목록입니다.

nextPageToken

string

이 응답의 결과보다 더 많은 결과가 존재하는 경우 페이지 매김 토큰입니다.

다음 번 customDomains.list 호출에 이 토큰을 포함하세요. 페이지 토큰은 수명이 짧으므로 저장하면 안 됩니다.

승인 범위

다음 OAuth 범위 중 하나가 필요합니다.

  • https://www.googleapis.com/auth/firebase.hosting.readonly
  • https://www.googleapis.com/auth/firebase.hosting
  • https://www.googleapis.com/auth/firebase.readonly
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/cloud-platform

자세한 내용은 인증 개요를 참조하세요.