MENU
      SourceBuild project list

        SourceBuild project list


        Article summary

        Overview

        View the SourceBuild project list.

        Requests

        API URL

        GET  {SOURCEPIPELINE_API_URL}/sourcebuild/project
        Plain text

        Request parameters

        None

        Request queries

        ItemTypeRequiredDescriptionNote
        pageNostringNPage number. Forward the entire list if there is no pageNo or pageSizerequired if pageSize exist
        pageSizestringNPage size. Forward the entire list if there is no pageNo or pageSizerequired if pageNo exist
        searchWordstringNProject name to search (forward project list including strings)

        Request bodies

        None

        Responses

        Response bodies

        {
            "projectList": [
                {
                    "id": "integer",
                    "name": "string",
                    "source": {
                        "type": "string",
                        "repository": "string",
                        "branch": "string"
                    }
                }
            ]
        }
        JSON
        ItemTypeDescriptionNote
        idnumberSourceBuild project ID
        namestringName of SourceBuild project
        source.typestringsource type"SourceCommit" | "GitHub" | "BitBucket"
        source.repositorystringRepository name
        source.branchstringBranch name
        source.workspace.idnumberBitbucket workspace ID
        source.workspace.namestringBitbucket repository name

        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.