Method: documents.batchGet

각각 전체 마크다운 콘텐츠가 포함된 여러 문서를 가져옵니다.

HTTP 요청

GET https://developerknowledge.googleapis.com/v1alpha/documents:batchGet

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

쿼리 매개변수

매개변수
names[]

string

필수 항목입니다. 가져올 문서의 이름입니다. 한 번에 최대 20개의 문서를 검색할 수 있습니다. 문서는 요청의 names와 동일한 순서로 반환됩니다.

형식: documents/{uri_without_scheme} 예: documents/docs.cloud.google.com/storage/docs/creating-buckets

요청 본문

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

응답 본문

DeveloperKnowledge.BatchGetDocuments의 응답 메시지입니다.

성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.

JSON 표현
{
  "documents": [
    {
      object (Document)
    }
  ]
}
필드
documents[]

object (Document)

서류가 요청되었습니다.

승인 범위

다음 OAuth 범위가 필요합니다.

  • https://www.googleapis.com/auth/devprofiles.full_control

자세한 내용은 OAuth 2.0 Overview를 참고하세요.