Zum Hauptinhalt springen
GET
/
cms
/
v3
/
source-code
/
{environment}
/
content
/
{path}
Télécharger un fichier
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.

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Gratuit
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Gratuit
Cette API requiert l'une des portées suivantes :
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

L'environnement du fichier (« brouillon » ou « publié »).

path
string
required

L'emplacement du fichier dans le système de fichiers.

Response

File content retrieved successfully

The response is of type file.

I