Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 785 Bytes

types.md

File metadata and controls

48 lines (32 loc) · 785 Bytes

Types

Because Trello teams and members are not prefixed differently, we need a way to distinguish between the two.

So for example:

https://trello.com/trelloinc is a team but https://trello.com/aryastark is a member.

The types route is how Trello figures out which is which.

For example:

GET /1/types/trelloinc

{
  "type": "organization",
  "id": "538627f73cbb44d1bfbb58f0"
}

Whereas GET /1/types/aryastark

{
  "type": "member",
  "id": "5159c2944acc05e93b000674"
}

Trello API Documentation

GET /types/{id}

Get information about an action

API Call

/GET /1/types/trelloinc

Trello for Wolves

const response = await trello.types("trelloinc").getType();