def METHOD_NAME(self, pipeline_name: str, resource_name: str, resource_version_id: int):
    return self._api_url(
        'pipelines', pipeline_name,
        'resources', resource_name,
        'versions', str(resource_version_id),
        'pin'
    )