GET
/
cms
/
v3
/
source-code
/
{environment}
/
content
/
{path}
ファイルをダウンロード
curl --request GET \
  --url https://api.hubapi.com/cms/v3/source-code/{environment}/content/{path} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

必須スコープ

この API には、次のいずれかのスコープが必要です。
  • content

Authorizations

Authorization
string
header
required

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

Path Parameters

environment
string
required

ファイルの環境(「下書き」または「公開済み」)。

path
string
required

ファイルのファイルシステムでの位置。

Response

200
application/octet-stream

File content retrieved successfully

The response is of type file.