adobe-firefly-sdk
    Preparing search index...
    • Get a file by ID

      This endpoint retrieves full metadata for a specific File identified by its assetId. This includes file attributes such as name, type, creation details, and permissions.


      NOTE:

      • The file must exist and the requester must have at least read-level access.
      • If the file is not found or access is denied, appropriate error responses will be returned.
      • Discarded files can be retrieved using this endpoint.
      • If the file exists, but the requester does not have the requisite permissions:
        • The API will behave as if the file does not exist.
        • It will return a 404 Not Found response, even though the asset technically exists in the system.

      Type Parameters

      • ThrowOnError extends boolean = false

      Parameters

      Returns RequestResult<GetFileResponses, GetFileErrors, ThrowOnError, "fields">