GitHub Connector 26.3
GitHub Connector Help

# Insert a Repository

To insert a repository, the XML that you construct should look similar to the following example.

    <insertXML>
        <insert>
            <reference>RepositoryInsert</reference>
            <property name="Organization" value="OrgName"/>
            <property name="Repository" value="NewRepoName"/>
            <property name="Type" value="Repository"/>
            <xmlmetadata>
                <description>Test repository</description>
                <private>True</private>
                <team_id>1</team_id>
            </xmlmetadata>
        </insert>
    </insertXML>

Properties for inserting a repository

Name | Required | Type | Description
--- | --- | --- | ---
Organization | Yes | String | The name of the organization in which to insert the repository.
Repository | Yes | String | The name of the new repository.
Type | Yes | String | To insert a repository, specify "Repository".

To configure the repository that you are creating, you can set the following fields in the document metadata. All of these metadata fields are optional. The values are used to set the corresponding parameters in the GitHub API when creating the new repository, so for more information about these parameters, refer to the GitHub API documentation.

- description
- homepage
- private
- visibility
- has_issues
- has_projects
- has_wiki
- is_template
- team_id
- auto_init
- gitignore_template
- license_template
- allow_squash_merge
- allow_merge_commit
- allow_rebase_merge
- delete_branch_on_merge

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery GitHub Connector 26.3

Topic Title: Insert a Repository