Controller/MediaController.php
public function retrieveMedia($id, $includeChildren = false, CachePolicy $cachePolicy = null)
        {
            $parameters = [
            'query' => ['includeChildren' => $includeChildren],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

            $result = $this->get('v1/media/' . $id . '', $parameters, $cachePolicy);
            $result = new MediaResponse($result);

            return $result;
        }
public function retrieveMedia($id, $includeChildren = false, CachePolicy $cachePolicy = null)
        {
            $parameters = [
            'query' => ['includeChildren' => $includeChildren],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

            $result = $this->get('v1/media/' . $id . '', $parameters, $cachePolicy);
            $result = new MediaResponse($result);

            return $result;
        }
Fetches a specific Media.

@param int         $id              the Media identifier
@param bool        $includeChildren includes children in the media
@param CachePolicy $cachePolicy     a custom cache policy used for this request only

@return MediaResponse