Import repository
servicenow_import_repositoryImport a repository from a URL and branch into ServiceNow. Provide credentials, MID Server, and base app upgrade settings.
Instructions
Import a repository based on the provided parameters.
:param credential_sys_id: The sys_id of the credential to be used for the import. :type credential_sys_id: str :param mid_server_sys_id: The sys_id of the MID Server to be used for the import. :type mid_server_sys_id: str :param repo_url: The URL of the repository to be imported. :type repo_url: str :param branch_name: The name of the branch to be imported. :type branch_name: str :param auto_upgrade_base_app: Flag indicating whether to auto-upgrade the base app. :type auto_upgrade_base_app: bool
:return: Response containing parsed Pydantic model with information about the repository import. :rtype: Response
:raises MissingParameterError: If repo_url is not provided. :raises ParameterError: If auto_upgrade_base_app is not a boolean.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| name | No | ||
| notes | No | ||
| scope | No | ||
| sys_id | No | ||
| os_name | No | ||
| version | No | ||
| packages | No | ||
| repo_url | No | ||
| dev_notes | No | ||
| plugin_id | No | ||
| result_id | No | ||
| scan_type | No | ||
| app_sys_id | No | ||
| os_version | No | ||
| branch_name | No | ||
| description | No | ||
| progress_id | No | ||
| rollback_id | No | ||
| auto_preview | No | ||
| browser_name | No | ||
| combo_sys_id | No | ||
| force_commit | No | ||
| suite_sys_id | No | ||
| target_table | No | ||
| target_sys_id | No | ||
| update_set_id | No | ||
| api_parameters | No | ||
| browser_version | No | ||
| test_suite_name | No | ||
| update_set_name | No | ||
| base_app_version | No | ||
| update_source_id | No | ||
| app_scope_sys_ids | No | ||
| cleanup_retrieved | No | ||
| credential_sys_id | No | ||
| mid_server_sys_id | No | ||
| rollback_installs | No | ||
| test_suite_sys_id | No | ||
| remote_update_set_id | No | ||
| auto_upgrade_base_app | No | ||
| remote_update_set_ids | No | ||
| update_source_instance_id | No |