## GET /openapi/v1/assets/team

The team behind one crypto asset, from RootData: the people who hold or held a role at the
project the asset belongs to. RootData's data reaches us when we process it, on no fixed
schedule.

### Query parameters

| Parameter | Type | Notes |
|:--|:--|:--|
| `id` | integer | The asset id from `/assets` |
| `slug` | string | At most 255 characters of valid UTF-8 |

Send exactly one of the two.

### Response

```json
{
  "code": 0,
  "message": "success",
  "message_key": "SUCCESS",
  "result": {
    "items": [
      {
        "id": 1024,
        "name": "Jane Doe",
        "avatar_url": "https://public.rootdata.com/images/jane.jpg",
        "position": "Co-founder, CEO",
        "status": "active",
        "social_links": [
          { "type": "x", "url": "https://x.com/janedoe" },
          { "type": "linkedin", "url": "https://www.linkedin.com/in/janedoe" }
        ]
      }
    ]
  }
}
```

#### Item fields

| Field | Type | Notes |
|:--|:--|:--|
| `id` | number | The person's id — what `/people/info` takes as `id` |
| `name` | string | |
| `avatar_url` | string | **Empty string** when there is none |
| `position` | string or `null` | The person's titles, joined with `", "`. A current member shows only the titles held now; a former member shows every title they held. `null` when RootData gives none |
| `status` | string | `active` (a current member) or `resigned` (a former one) |
| `social_links` | array | `[]` when there are none, never `null` |
| `social_links[].type` | string | `x`, `linkedin`, `github` or `website`, listed in that order |
| `social_links[].url` | string | |

**Order.** Current members first, then former ones; within each, the order in which we first
recorded their roles. A person with several roles is one item.

`items` is `[]` when we hold no team for the asset — not a `404`.

### Examples

```bash
# The team of Uniswap
curl -H "X-Api-Key: <your-api-key>" \
  "https://open-api.coinworldcap.com/openapi/v1/assets/team?slug=uniswap"

# The same by id
curl -H "X-Api-Key: <your-api-key>" \
  "https://open-api.coinworldcap.com/openapi/v1/assets/team?id=4521"
```

| HTTP status | `code` | When |
|:--|:--|:--|
| 400 | 40000 | Both or neither of `id` and `slug`; an `id` that is not a positive integer; a `slug` over 255 characters or not valid UTF-8 |
| 404 | 40400 | No crypto asset with that `id` or `slug` — it does not exist, or it is an RWA's |

The other errors are in [Errors](#errors).
