Supported Formats

json

Examples

GET /api/v1/teams
200
[
  {
    "id": 624,
    "name": "test",
    "is_default": true,
    "created_at": "2016-01-07T02:12:40.000Z",
    "updated_at": "2016-01-07T02:12:44.000Z",
    "html_url": "http://www.example.com/test",
    "avatar_url": "http://www.example.com/test/avatar",
    "role": "manager",
    "managers": [
      {
        "id": 3,
        "username": "test",
        "receive_email": true,
        "created_at": "2016-01-07T02:12:39.000Z",
        "updated_at": "2016-01-07T02:12:47.000Z",
        "keyboard_shortcuts": false,
        "options": {
          "advanced_menu": true
        },
        "html_url": "http://www.example.com/test",
        "avatar_url": "http://www.example.com/test/avatar",
        "lang": {
          "code": "en",
          "model": "lang"
        },
        "name": "test",
        "model": "user"
      }
    ],
    "members": [],
    "plan": "micro",
    "model": "team"
  },
  {
    "id": 628,
    "name": "some",
    "is_default": false,
    "created_at": "2016-01-07T02:12:45.000Z",
    "updated_at": "2016-01-07T02:12:45.000Z",
    "html_url": "http://www.example.com/some",
    "avatar_url": "http://www.example.com/some/avatar",
    "role": "member",
    "managers": [],
    "members": [
      {
        "id": 3,
        "username": "test",
        "receive_email": true,
        "created_at": "2016-01-07T02:12:39.000Z",
        "updated_at": "2016-01-07T02:12:47.000Z",
        "keyboard_shortcuts": false,
        "options": {
          "advanced_menu": true
        },
        "html_url": "http://www.example.com/test",
        "avatar_url": "http://www.example.com/test/avatar",
        "lang": {
          "code": "en",
          "model": "lang"
        },
        "name": "test",
        "model": "user"
      }
    ],
    "plan": "micro",
    "model": "team"
  },
  {
    "id": 630,
    "name": "manager",
    "is_default": false,
    "created_at": "2016-01-07T02:12:46.000Z",
    "updated_at": "2016-01-07T02:12:47.000Z",
    "html_url": "http://www.example.com/manager",
    "avatar_url": "http://www.example.com/manager/avatar",
    "role": "manager",
    "managers": [
      {
        "id": 3,
        "username": "test",
        "receive_email": true,
        "created_at": "2016-01-07T02:12:39.000Z",
        "updated_at": "2016-01-07T02:12:47.000Z",
        "keyboard_shortcuts": false,
        "options": {
          "advanced_menu": true
        },
        "html_url": "http://www.example.com/test",
        "avatar_url": "http://www.example.com/test/avatar",
        "lang": {
          "code": "en",
          "model": "lang"
        },
        "name": "test",
        "model": "user"
      }
    ],
    "members": [],
    "plan": "micro",
    "model": "team"
  },
  {
    "id": 631,
    "name": "member",
    "is_default": false,
    "created_at": "2016-01-07T02:12:47.000Z",
    "updated_at": "2016-01-07T02:12:48.000Z",
    "html_url": "http://www.example.com/member",
    "avatar_url": "http://www.example.com/member/avatar",
    "role": "member",
    "managers": [],
    "members": [
      {
        "id": 3,
        "username": "test",
        "receive_email": true,
        "created_at": "2016-01-07T02:12:39.000Z",
        "updated_at": "2016-01-07T02:12:47.000Z",
        "keyboard_shortcuts": false,
        "options": {
          "advanced_menu": true
        },
        "html_url": "http://www.example.com/test",
        "avatar_url": "http://www.example.com/test/avatar",
        "lang": {
          "code": "en",
          "model": "lang"
        },
        "name": "test",
        "model": "user"
      }
    ],
    "plan": "micro",
    "model": "team"
  }
]