Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/vendor/magento/module-adobe-stock-asset-api/Api/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-adobe-stock-asset-api/Api/GetAssetByIdInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

namespace Magento\AdobeStockAssetApi\Api;

use Magento\Framework\Api\Search\Document;

/**
 * Service for getting asset by content id
 * @api
 */
interface GetAssetByIdInterface
{
    /**
     * Returns asset by Adobe ID
     *
     * @param int $adobeId
     * @return \Magento\Framework\Api\Search\Document
     * @throws \Magento\Framework\Exception\NotFoundException
     * @throws \Magento\Framework\Exception\LocalizedException
     */
    public function execute(int $adobeId): Document;
}