All URIs are relative to https://app.harness.io/gateway
Method | HTTP request | Description |
---|---|---|
CreateGitSyncConfig | Post /ng/api/git-sync | Creates Git Sync Config in given scope |
GetGitSyncConfigList | Get /ng/api/git-sync | Lists Git Sync Config for the given scope |
IsGitSyncEnabled | Get /ng/api/git-sync/git-sync-enabled | Check whether Git Sync is enabled for given scope or not |
UpdateDefaultFolder | Put /ng/api/git-sync/{identifier}/folder/{folderIdentifier}/default | Update existing Git Sync Config default root folder by Identifier |
UpdateGitSyncConfig | Put /ng/api/git-sync | Update existing Git Sync Config by Identifier |
GitSyncConfig CreateGitSyncConfig(ctx, body, optional) Creates Git Sync Config in given scope
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | GitSyncConfig | Details of Git Sync Config | |
optional | *GitSyncApiCreateGitSyncConfigOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GitSyncApiCreateGitSyncConfigOpts struct
Name | Type | Description | Notes |
---|
accountIdentifier | optional.| Account Identifier for the Entity |
- Content-Type: application/json, text/yaml, text/html, text/plain
- Accept: application/json, application/yaml, text/yaml, text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]GitSyncConfig GetGitSyncConfigList(ctx, optional) Lists Git Sync Config for the given scope
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GitSyncApiGetGitSyncConfigListOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GitSyncApiGetGitSyncConfigListOpts struct
Name | Type | Description | Notes |
---|---|---|---|
projectIdentifier | optional.String | Project Identifier for the Entity | |
orgIdentifier | optional.String | Organization Identifier for the Entity | |
accountIdentifier | optional.String | Account Identifier for the Entity |
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/yaml, text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitEnabled IsGitSyncEnabled(ctx, optional) Check whether Git Sync is enabled for given scope or not
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GitSyncApiIsGitSyncEnabledOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GitSyncApiIsGitSyncEnabledOpts struct
Name | Type | Description | Notes |
---|---|---|---|
accountIdentifier | optional.String | Account Identifier for the Entity | |
projectIdentifier | optional.String | Project Identifier for the Entity | |
orgIdentifier | optional.String | Organization Identifier for the Entity |
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/yaml, text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitSyncConfig UpdateDefaultFolder(ctx, identifier, folderIdentifier, optional) Update existing Git Sync Config default root folder by Identifier
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
identifier | string | Git Sync Config Id | |
folderIdentifier | string | Folder Id | |
optional | *GitSyncApiUpdateDefaultFolderOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GitSyncApiUpdateDefaultFolderOpts struct
Name | Type | Description | Notes |
---|
projectId | optional.String| Project Identifier for the Entity | organizationId | optional.String| Organization Identifier for the Entity | accountId | optional.String| Account Identifier for the Entity |
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/yaml, text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitSyncConfig UpdateGitSyncConfig(ctx, body, optional) Update existing Git Sync Config by Identifier
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | GitSyncConfig | Details of Git Sync Config | |
optional | *GitSyncApiUpdateGitSyncConfigOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GitSyncApiUpdateGitSyncConfigOpts struct
Name | Type | Description | Notes |
---|
accountIdentifier | optional.| Account Identifier for the Entity |
- Content-Type: application/json, text/yaml, text/html, text/plain
- Accept: application/json, application/yaml, text/yaml, text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]