Dokumentation
ReferenzProjects

List the projects of the calling user.

GET
/projects

List the projects the calling user is a member of, personally or through one of their groups, sorted by name.

Membership is the only way to see a project. Unlike directories, a project is not visible to tenant managers and administrators by their role: a key of a tenant manager lists exactly the projects its user was added to, like everybody else's. A service account therefore sees the projects it created and those it was made a member of.

The answer is a paginated envelope, since there is no limit to the number of projects.

Requires the right to use projects (project.list), which every role holds except light.

Authorization

apiKey
headerX-API-Key<token>

API key issued in the Galilea settings.

Query Parameters

limit?integer

Number of projects per page.

Default100
offset?integer

Index of the first project of the page.

Default0

Response Body

The projects of the calling user.

application/json
  1. response
count*integer

Total number of projects of the calling user.

next?|

URL of the next page, or null on the last one.

previous?|

URL of the previous page, or null on the first one.

results*array<>
curl -X GET "https://example.com/projects"
{  "count": 0,  "next": "string",  "previous": "string",  "results": [    {      "id": "0b7c2f4e-5a61-4d3b-9f0e-6c1d2a3b4c5d",      "name": "Neubau Werk Süd",      "description": "Planung und Genehmigung des Neubaus Werk Süd, Bauherr ist die Stadtwerke GmbH. Termine, Auflagen und Entscheidungen des Bauausschusses stehen im Vordergrund.",      "shortDescription": "Neubau Werk Süd mit Bauantrag, Brandschutzauflagen und Terminplan bis Q2 2027.",      "color": "#2F6FDE",      "directoryId": "9c4e1b2a-7d3f-4a5e-8b6c-1f2e3d4c5b6a",      "userPermissions": [        "project.view",        "project.view_permissions",        "project.assign_chat",        "project.view_memory",        "project.remove_artifact",        "project.manage_memory"      ],      "createdBy": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "createdAt": "2019-08-24T14:15:22Z",      "lastModifiedAt": "2019-08-24T14:15:22Z"    }  ]}