LaunchDarklyApi::RepositoryPost
Name
Type
Description
Notes
name
String
The repository name
source_link
String
A URL to access the repository
[optional]
commit_url_template
String
A template for constructing a valid URL to view the commit
[optional]
hunk_url_template
String
A template for constructing a valid URL to view the hunk
[optional]
type
String
The type of repository. If not specified, the default value is <code>custom</code>.
[optional]
default_branch
String
The repository's default branch. If not specified, the default value is <code>main</code>.
[optional]
require 'launchdarkly_api'
instance = LaunchDarklyApi ::RepositoryPost . new (
name : LaunchDarkly -Docs ,
source_link : https ://github.com/launchdarkly /LaunchDarkly -Docs ,
commit_url_template : https ://github.com/launchdarkly /LaunchDarkly -Docs /commit /${ sha } ,
hunk_url_template : https ://github.com/launchdarkly /LaunchDarkly -Docs /blob /${ sha } /${ filePath } #L${lineNumber},
type : github ,
default_branch : main
)