GET
/
cms
/
v3
/
source-code
/
{environment}
/
content
/
{path}
Datei herunterladen
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.
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubKostenlos

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • 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

Die Umgebung der Datei („Entwurf“ oder „veröffentlicht“).

path
string
required

Der Dateisystem-Speicherort der Datei.

Response

200
application/octet-stream

File content retrieved successfully

The response is of type file.