Controller/MediaController.php
public function updateProperties($id, array $properties)
        {
            $parameters = [
            'query' => [],
            'body' => json_encode(['properties' => $properties], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

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

            return $result;
        }
public function updateProperties($id, array $properties)
        {
            $parameters = [
            'query' => [],
            'body' => json_encode(['properties' => $properties], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

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

            return $result;
        }
Update some properties for a Media.

Update the provided properties for the specified Media. Will not update any other properties then those provided. It is preferable to use this method over updating a whole media to change a few properties as the side effects are fewer.

@param  int           $id         the Media identifier
@param  Property[]    $properties an array of QBNK\QBank\Api\v1\Model\Property values
@return MediaResponse