YouTrack Standalone 2020.6 Help

Get Accessible Projects

GET /project/all

Get a list of all accessible projects from the server.

GET /rest/project/all?{verbose}

Parameters:

Name

Type

Description

verbose

boolean

If full representation of projects is returned. If this parameter is false, only short names and id's are returned.

Sample

Request

GET https://example.com/youtrack/rest/project/all Connection: keep-alive Cookie: $Version=0; JSESSIONID=1bl78qpgiu1sf1fb4z1htutlgf; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 934 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <projects> <project versions="[2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8]" name="Hibero" shortName="HBR" description="Makes developing Hibernate applications a pleasure." isImporting="false"> <assigneesFullName> <sub value="Adam Jordens"/> <sub value="Application Exception"/> </assigneesFullName> <assigneesLogin> <sub value="ajordens"/> <sub value="app_exception"/> </assigneesLogin> <subsystems> <sub value="No subsystem"/> <sub value="Configuration"/> <sub value="HQL"/> <sub value="Settings"/> <sub value="UI"/> </subsystems> </project> <project versions="[]" name="some project" shortName="SP" isImporting="false"> <assigneesFullName> <sub value="Adam Jordens"/> <sub value="Application Exception"/> </assigneesFullName> <assigneesLogin> <sub value="ajordens"/> <sub value="app_exception"/> </assigneesLogin> <subsystems> <sub value="No subsystem"/> </subsystems> </project> </projects>
Last modified: 30 March 2021