@@ -725,8 +725,6 @@ def content_deploy(
725725 def get_repository (self , content_guid : str ) -> Optional [RepositoryInfo ]:
726726 """Get git repository configuration for a content item.
727727
728- GET /v1/content/{guid}/repository
729-
730728 :param content_guid: The GUID of the content item
731729 :return: Repository configuration if git-managed, None otherwise
732730 """
@@ -748,13 +746,11 @@ def set_repository(
748746 ) -> RepositoryInfo :
749747 """Create or overwrite git repository configuration for a content item.
750748
751- PUT /v1/content/{guid}/repository
752-
753749 :param content_guid: The GUID of the content item
754750 :param repository: URL of the git repository (https:// only)
755751 :param branch: Branch to deploy from (default: main)
756752 :param directory: Directory containing manifest.json (default: .)
757- :param polling: Enable auto-redeploy when commits are pushed (default: True)
753+ :param polling: Whether the git repository should be regularly polled (default: True)
758754 :return: The repository configuration
759755 """
760756 body = {
@@ -780,15 +776,13 @@ def update_repository(
780776 ) -> RepositoryInfo :
781777 """Partially update git repository configuration for a content item.
782778
783- PATCH /v1/content/{guid}/repository
784-
785779 Only fields that are provided will be updated.
786780
787781 :param content_guid: The GUID of the content item
788782 :param repository: URL of the git repository (https:// only)
789783 :param branch: Branch to deploy from
790784 :param directory: Directory containing manifest.json
791- :param polling: Enable auto-redeploy when commits are pushed
785+ :param polling: Whether the git repository should be regularly polled
792786 :return: The updated repository configuration
793787 """
794788 body : dict [str , str | bool ] = {}
@@ -811,8 +805,6 @@ def update_repository(
811805 def delete_repository (self , content_guid : str ) -> None :
812806 """Remove git repository configuration from a content item.
813807
814- DELETE /v1/content/{guid}/repository
815-
816808 :param content_guid: The GUID of the content item
817809 """
818810 response = self .delete ("v1/content/%s/repository" % content_guid )
@@ -828,8 +820,6 @@ def create_bundle_from_repository(
828820 ) -> RepositoryBundleOutput :
829821 """Create a bundle from a git repository location.
830822
831- POST /v1/content/{guid}/repository/bundle
832-
833823 This triggers Connect to clone the repository and create a bundle.
834824 If the content item has existing git configuration, those values are used
835825 as defaults; provided parameters will override them.
@@ -870,7 +860,7 @@ def deploy_git(
870860 """Deploy content from a git repository.
871861
872862 Creates or updates a git-backed content item in Posit Connect. Connect will clone
873- the repository and automatically redeploy when commits are pushed (if polling is enabled) .
863+ the repository and regularly poll it for updates .
874864
875865 :param app_id: Existing content ID/GUID to update, or None to create new content
876866 :param name: Name for the content item (used if creating new)
@@ -879,7 +869,7 @@ def deploy_git(
879869 :param subdirectory: Subdirectory containing manifest.json
880870 :param title: Title for the content
881871 :param env_vars: Environment variables to set
882- :param polling: Enable auto-redeploy when commits are pushed (default: True)
872+ :param polling: Whether the git repository should be regularly polled (default: True)
883873 :param activate: Whether to activate the deployment (False = draft mode)
884874 :return: Deployment result with task_id, app info, etc.
885875 """
@@ -1565,7 +1555,7 @@ def deploy_git(self, activate: bool = True):
15651555 """Deploy content from a remote git repository.
15661556
15671557 Creates a git-backed content item in Posit Connect. Connect will clone
1568- the repository and automatically redeploy when commits are pushed .
1558+ the repository and regularly poll it for updates .
15691559 """
15701560 if not isinstance (self .client , RSConnectClient ):
15711561 raise RSConnectException (
0 commit comments