Returns all Types in the system.

GET /api/types HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json

Request Information

Path Parameters

No parameters

Body Parameters

None


Response Information

Resource Description

Collection of Type

Name Description
ID Type ID
Name Name
Color HTML color code
SubTypes Child types

Response Formats

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": []
  }
]