Returns all Types in the system.
GET /api/types HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json
No parameters
None
Collection of Type
| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | Type ID | Integer | None |
| Name | Name | Translatable | None |
| Color | HTML color code | String | None |
| SubTypes | Child types | Collection of Type | None |
application/json (.json)
text/json
[
{
"id": 1,
"name": {
"en": "english string 2",
"sv": "swedish string 2"
},
"color": "sample string 3",
"subTypes": []
},
{
"id": 1,
"name": {
"en": "english string 2",
"sv": "swedish string 2"
},
"color": "sample string 3",
"subTypes": []
}
]