MENU
      SourceCommit Branch Lookup

        SourceCommit Branch Lookup


        Article summary

        Summary

        Search the list of SourceCommit repository branches.

        Request

        API URL

        GET  {SOURCEBUILD_API_URL}/sourcecommit/repository/{repositoryName}/branch
        Plain text

        Request parameter

        ItemTypeDescriptionRemarks
        repositoryNamestringSearch with repositoryList API

        Request query

        None

        Request body

        None

        Response

        Response body

        {
            "default": "string",
            "branch": ["string"]
        }
        JSON
        ItemTypeDescriptionRemarks
        defaultstringDefault branch name
        branchstring[]Branch name list

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.