Teamraum-Mitglieder

Der @workspace-content-members Endpoint liefert ein Vokabular aller Teilnehmer welche auf einen Inhalt Zugriff haben.

Beispiel-Request:

GET /workspace-1/@workspace-content-members?b_size=3 HTTP/1.1
Accept: application/json

Beispiel-Response:

HTTP/1.1 200 OK
Content-Type: application/json

  {
    "@id": "http://localhost:8080/fd/workspaces/workspace-1/@workspace-content-members",
    "batching": {
      "@id": "http://localhost:8080/fd/workspaces/workspace-1/@workspace-content-members?b_size=3",
      "first": "http://localhost:8080/fd/workspaces/workspace-1/@workspace-content-members?b_start=0&b_size=3",
      "last": "http://localhost:8080/fd/workspaces/workspace-1/@workspace-content-members?b_start=9&b_size=3",
      "next": "http://localhost:8080/fd/workspaces/workspace-1/@workspace-content-members?b_start=3&b_size=3"
    },
    "items": [
      {
        "title": "Baerfuss Kaethi (kathi.barfuss)",
        "token": "kathi.barfuss"
      },
      {
        "title": "Kohler Nicole (nicole.kohler)",
        "token": "nicole.kohler"
      },
      {
        "title": "Ziegler Robert (robert.ziegler)",
        "token": "robert.ziegler"
      }
    ],
    "items_total": 12
  }

Mit dem Parameter include_groups werden auch die Gruppen zurückgegeben.

Beispiel-Request:

GET /workspace2/@workspace-content-members?include_groups=true&b_size=3 HTTP/1.1
Accept: application/json

Beispiel-Response:

HTTP/1.1 200 OK
Content-Type: application/json

  {
    "@id": "http://localhost:8080/fd/workspaces/workspace-2/@workspace-content-members",
    "batching": {
      "@id": "http://localhost:8080/fd/workspaces/workspace-2/@workspace-content-members?b_size=3",
      "first": "http://localhost:8080/fd/workspaces/workspace-2/@workspace-content-members?b_start=0&b_size=3",
      "last": "http://localhost:8080/fd/workspaces/workspace-2/@workspace-content-members?b_start=9&b_size=3",
      "next": "http://localhost:8080/fd/workspaces/workspace-2/@workspace-content-members?b_start=3&b_size=3"
    },
    "items": [
      {
        "title": "Baerfuss Kaethi (kathi.barfuss)",
        "token": "kathi.barfuss"
      },
      {
        "title": "Gruppe A",
        "token": "gruppe_a"
      }
      {
        "title": "Gruppe B",
        "token": "gruppe_b"
      },
    ],
    "items_total": 12
  }