Web Assets

Get asset information by path

Changed on

Retrieve detailed information and metadata for an asset (file or folder) using its path

post/api/v1/assets

Request

Request body */*

assetPathstring required

Full path to the asset (file or folder) to retrieve information for

Example request

{
  "assetPath": "//demo.dotcms.com/documents/annual-report.pdf"
}

Response

Asset information retrieved successfully

entityWebAssetView
i18nMessagesMapobject
permissionsstring[]

Changes

    • breaking

      request body became required

    • breaking

      the request property became required

    • info

      added the non-success response with the status

    • info

      added the success response with the status