Get details of a team

v2/teams/team_id

This call returns the details of a specified team. You can only get details of a team you are a member of.

Request

https://api.sbgenomics.com/v2/teams/{team_id}
https://eu-api.sbgenomics.com/v2/teams/{team_id}

Example request

GET /v2/teams/bf8dd2c5-9115-493d-9d3d-c2ecfd0eb843 HTTP/1.1
Host: api.sbgenomics.com
Content-type: application/json
X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -X GET \
  https://divisions-api-vayu.sbgenomics.com:27445/v2/teams/bf8dd2c5-9115-493d-9d3d-c2ecfd0eb843 \
  -H 'content-type: application/json' \
  -H 'x-sbg-advance-access: advance' \
  -H 'x-sbg-auth-token: 3259c50e1ac5426ea8f1273259740f74'
from sevenbridges import Api

api = Api(url='https://api.sbgenomics.com/v2',
          token='3259c50e1ac5426ea8f1273259740f74')

# send GET request to SB API
team = api.teams.get(id='bf8dd2c5-9115-493d-9d3d-c2ecfd0eb843')

print(team.name)

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your Seven Bridges Platform authentication token.

Content-Type
required

application/json

Path parameters

Name

Description

team_id
required

The ID of the team you are querying.

Response

See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response.

Example response body

{
  "href": "https://api.sbgenomics.com/v2/teams/bf8dd2c5-9115-493d-9d3d-c2ecfd0eb843?offset=0&limit=1",
  "items": [
    {
      "href": "https://api.sbgenomics.com/v2/teams/bf8dd2c5-9115-493d-9d3d-c2ecfd0eb843",
      "id": "bf8dd2c5-9115-493d-9d3d-c2ecfd0eb843",
      "name": "My team"
    }
  ],
  "links": []
}