public function uploadReleaseAsset(string $id, string $contentType, string $name): array
    {

        return $this->getApi()->setApiUrl(AbstractApi::API_UPLOADS)->request($this->getApi()
                                                                                  ->sprintf('/repos/:owner/:repo/releases/:id/assets?:arg',
                                                                                      $this->getRepositories()
                                                                                           ->getOwner(),
                                                                                      $this->getRepositories()
                                                                                           ->getRepo(), $id,
                                                                                      http_build_query(['name' => $name])),
            Request::METHOD_POST, [
                'Content-Type' => $contentType
            ]);
    }