CMS
Deutsch
cURL
curl --request GET \ --url https://api.hubapi.com/cms/v3/source-code/{environment}/metadata/{path} \ --header 'Authorization: Bearer <token>'
{ "createdAt": 123, "archivedAt": 123, "folder": true, "children": [ "<string>" ], "name": "<string>", "id": "<string>", "hash": "<string>", "updatedAt": 123 }
指定された環境の指定されたパスにあるファイルのメタデータオブジェクトが取得されます。
content
The access token received from the authorization server in the OAuth 2.0 flow.
ファイルの環境(「下書き」または「公開済み」)。
ファイルのファイルシステムでの位置。
successful operation
The response is of type object.
object