Neos.Neos/Classes/Controller/Backend/ContentController.php
public function assetsWithMetadataAction(array $assets)
    {
        $this->response->setHeader('Content-Type', 'application/json');

        $result = [];
        foreach ($assets as $asset) {
            $result[] = $this->getAssetProperties($asset);
        }
        return json_encode($result);
    }
public function assetsWithMetadataAction(array $assets)
    {
        $this->response->setHeader('Content-Type', 'application/json');

        $result = [];
        foreach ($assets as $asset) {
            $result[] = $this->getAssetProperties($asset);
        }
        return json_encode($result);
    }
public function assetsWithMetadataAction ( array $ assets ) { $ this -> response -> setHeader ( 'Content-Type' , 'application/json' ) ; $ result = [ ] ; foreach ( $ assets as $ asset ) { $ result [ ] = $ this -> getAssetProperties ( $ asset ) ; } return json_encode ( $ result ) ; }
Fetch the metadata for multiple assets

@param array<Neos\Media\Domain\Model\AssetInterface> $assets
@return string JSON encoded response
Fetch the metadata for multiple assets