cURL
curl --request GET \ --url https://api.example.com/api/source
{ "source": "<string>", "language": "<string>", "path": "<string>", "repo": "<string>", "repoCodeHostType": "github", "webUrl": "<string>", "repoDisplayName": "<string>", "repoExternalWebUrl": "<string>", "externalWebUrl": "<string>" }
File source and metadata.
github
gitlab
gitea
gerrit
bitbucketServer
bitbucketCloud
genericGitHost
azuredevops
Was this page helpful?