Zum Hauptinhalt springen
GET
/
cms
/
v3
/
domains
/
{domainId}
単一のドメインを取得
curl --request GET \
  --url https://api.hubapi.com/cms/v3/domains/{domainId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3210329704",
  "createdAt": "2017-07-11T13:00:52.928Z",
  "updatedAt": "2019-10-08T16:54:57.165Z",
  "domain": "99558489.hubspot.com",
  "isPrimaryLandingPage": false,
  "isPrimaryEmail": false,
  "isPrimaryBlogPost": true,
  "isPrimarySitePage": false,
  "isPrimaryKnowledge": false,
  "isResolving": true,
  "isManuallyMarkedAsResolving": false,
  "isHttpsEnabled": true,
  "isHttpsOnly": false,
  "isUsedForBlogPost": true,
  "isUsedForSitePage": false,
  "isUsedForLandingPage": false,
  "isUsedForEmail": false,
  "isUsedForKnowledge": false,
  "expectedCname": "99558489.group39.sites.hubspotqa.net",
  "redirectTo": ""
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -Starter
この API には、次のいずれかのスコープが必要です。
cms.domains.read
cms.domains.write
cms.knowledge_base.settings.read
cms.knowledge_base.settings.write
content

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

domainId
string
required

ドメインの固有ID。

Response

successful operation

domain
string
required

実際のドメインまたはサブドメイン。例:www.hubspot.com

id
string
required

このドメインの固有ID。

isResolving
boolean
required

このドメインのDNSがHubSpotでの使用に合わせて最適に設定されているかどうか。

isUsedForBlogPost
boolean
required

ドメインがCMSブログ記事に使用されているかどうか。

isUsedForEmail
boolean
required

ドメインがCMS Eメール ウェブ ページに使用されているかどうか。

isUsedForKnowledge
boolean
required

ドメインがCMSナレッジページに使用されているかどうか。

isUsedForLandingPage
boolean
required

ドメインがCMSランディングページに使用されているかどうか。

isUsedForSitePage
boolean
required

ドメインがCMSサイトページに使用されているかどうか。

correctCname
string
created
string<date-time>
isSslEnabled
boolean
isSslOnly
boolean
manuallyMarkedAsResolving
boolean
primaryBlogPost
boolean
primaryEmail
boolean
primaryKnowledge
boolean
primaryLandingPage
boolean
primarySitePage
boolean
secondaryToDomain
string
updated
string<date-time>