Zum Hauptinhalt springen
GET
/
cms
/
v3
/
source-code
/
{environment}
/
content
/
{path}
Baixe um arquivo
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.

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Grátis
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Grátis
Esta API requer um dos seguintes escopos:
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

O ambiente do arquivo (rascunho ou publicado).

path
string
required

A localização do sistema de arquivos do arquivo.

Response

File content retrieved successfully

The response is of type file.

I