Project Collaborators Map
GET /portfolio/project/{id}/collaborators-map
Returns organization markers associated with one project.
Parameters
| Parameter | Type | Description |
|---|---|---|
id (path) |
string | Project MongoDB ObjectID or exact stored project name. |
apikey |
string | Portfolio API key, if configured; alternatively use X-API-Key. |
limit |
integer | Maximum list rows. A positive value enables shared pagination. |
offset |
integer | List rows to skip with limit. Defaults to 0; negative values become 0. |
Authentication, pagination, and error envelopes are described in Portfolio API Basics. Parameters such as json, filter, columns[], full, and aggregate are not supported unless listed here.
Example Request
1 | |
Example Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | |
The example uses illustrative values. Optional stored or rendered fields may be omitted. Response count is the number of returned list rows before shared pagination.
Returned Fields
| Field | Description |
|---|---|
id or _id |
Organization identifier; exact representation varies by endpoint and row type, as described below. |
count |
Number of collaborator entries across matched projects; counts entries, not necessarily distinct projects. |
public_count |
Count of collaborator entries from projects with public=true; present on aggregated project rows, not all rows. |
data |
Organization metadata: name, type, location, country, ror, lat, and lng; role is present on selected row types. |
self |
Only added as true for the appended institute marker. |
data.current |
Only added to the institute metadata as true. |
Response Behavior
Looks up the project by ObjectID or exact name, without requiring public=true. If a parent has collaborator data, that list replaces the child's collaborators. Rows follow stored collaborator order, each with string _id, count: 1, and the stored collaborator role. There is no public_count.
The institute marker is appended when coordinates exist, with _id equal to the institute ROR value, self: true, and data.current=true. Its role is the project's role for project maps, otherwise coordinator. The marker is included in response count.
Errors
A missing project currently exits with an empty response body because its error helper result is not echoed. A project with no collaborators continues and may return only the institute marker rather than the intended 404.