GET api/consumer/v1/workspaces/{workspaceId}/team

Get team by workspaceId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workspaceId

WorkspaceId

integer

Required

Body Parameters

None

Response Information

Resource Description

Team of workspace

Collection of WorkspaceTeamDto
NameDescriptionTypeAdditional information
Permissions

True if User can modify

PermissionDto

None

User

User of Team

UserMinDto

None

LastAccess

Last access of User

string

None

Response Formats

application/json, text/json

Sample:
[
  {
    "Permissions": {
      "CanModify": true,
      "CanDelete": true
    },
    "User": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "LastAccess": "sample string 1"
  },
  {
    "Permissions": {
      "CanModify": true,
      "CanDelete": true
    },
    "User": {
      "Login": "sample string 1",
      "FullName": "sample string 2",
      "Avatar": "sample string 3",
      "Id": 4
    },
    "LastAccess": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWorkspaceTeamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <WorkspaceTeamDto>
    <LastAccess>sample string 1</LastAccess>
    <Permissions>
      <CanDelete>true</CanDelete>
      <CanModify>true</CanModify>
    </Permissions>
    <User>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </User>
  </WorkspaceTeamDto>
  <WorkspaceTeamDto>
    <LastAccess>sample string 1</LastAccess>
    <Permissions>
      <CanDelete>true</CanDelete>
      <CanModify>true</CanModify>
    </Permissions>
    <User>
      <Id>4</Id>
      <Avatar>sample string 3</Avatar>
      <FullName>sample string 2</FullName>
      <Login>sample string 1</Login>
    </User>
  </WorkspaceTeamDto>
</ArrayOfWorkspaceTeamDto>