public/core/Get-PSTSProject.ps1

function Get-PSTSProject
{
    param(

    )

    process {

        $content = `
        _PSTSAPI `
            -resource "Projects" `
            -method "GET" `
            -apiVersion "api-version=5.1"  `
            -queryParameters '$top=200'

        return [Project[]]$content.value
    }
}

#queur :
#https://dev.azure.com/tgits-code/9f397f61-e406-48b4-85d8-f168b94ef722/_apis/distributedtask/queues

#curl --user acotrez@nelite.com:2svu6vyoaez5hi45jbjxk2httay2qxgfot62advhhamapjstdwxa https://extmgmt.dev.azure.com/tgits-code/_apis/extensionmanagement/installedextensions?api-version=5.0-preview.1
#curl --user acotrez@nelite.com:2svu6vyoaez5hi45jbjxk2httay2qxgfot62advhhamapjstdwxa "https://tgits-code.visualstudio.com/_apis/Contribution/HierarchyQuery" -H "Content-Type: application/json" -H "Accept: application/json; api-version=5.1-preview.1;excludeUrls=true" -X GET