# win.tomo-x.rogaining.getTeam

> Get a team and its members.

- Kind: query
- Authority: rogaining.tomo-x.win
- Lexicon: 1
- Published by [tomo-x.win](https://lexicon.garden/identity/did:plc:qcwvyds5tixmcwkwrg3hxgxd), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.getTeam)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.getTeam/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qcwvyds5tixmcwkwrg3hxgxd/win.tomo-x.rogaining.getTeam/analytics)

## Query (`win.tomo-x.rogaining.getTeam`)

Type: query · GET

### Parameters (query string)

- `team` (string · at-uri, required)

### Output (application/json)

- `team` (ref, required)
  - Reference: `win.tomo-x.rogaining.defs#teamView`

### Errors

- `TeamNotFound`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a team and its members.",
      "errors": [
        {
          "name": "TeamNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "team": {
              "ref": "win.tomo-x.rogaining.defs#teamView",
              "type": "ref"
            }
          },
          "required": [
            "team"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "team": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "team"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "win.tomo-x.rogaining.getTeam",
  "lexicon": 1
}
```
