TrieOH
UniventsAPIBadges

List a user's badges

Lists a user's active badges grouped by origin (attendant, staff), each split into current and past editions. Public — badges are meant to be shown on profiles.

GET/users/{user_id}/badges

Lists a user's active badges grouped by origin (attendant, staff), each split into current and past editions. Public — badges are meant to be shown on profiles.

Path Parameters

user_id*string

User (actor) ID.

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/badges"
{
  "attendant": {
    "current": [
      {
        "emission_id": "6b96b6a6-9bd0-4ba4-bc02-1ebc41aba997",
        "edition_id": "aeda7fca-56fe-426a-8c37-1876faaaf005",
        "edition_name": "string",
        "event_name": "string",
        "origin": "participant",
        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
        "template_name": "string",
        "design_data": {},
        "ticket_name": "string",
        "action_url": "string"
      }
    ],
    "past": [
      {
        "emission_id": "6b96b6a6-9bd0-4ba4-bc02-1ebc41aba997",
        "edition_id": "aeda7fca-56fe-426a-8c37-1876faaaf005",
        "edition_name": "string",
        "event_name": "string",
        "origin": "participant",
        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
        "template_name": "string",
        "design_data": {},
        "ticket_name": "string",
        "action_url": "string"
      }
    ]
  },
  "staff": {
    "current": [
      {
        "emission_id": "6b96b6a6-9bd0-4ba4-bc02-1ebc41aba997",
        "edition_id": "aeda7fca-56fe-426a-8c37-1876faaaf005",
        "edition_name": "string",
        "event_name": "string",
        "origin": "participant",
        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
        "template_name": "string",
        "design_data": {},
        "ticket_name": "string",
        "action_url": "string"
      }
    ],
    "past": [
      {
        "emission_id": "6b96b6a6-9bd0-4ba4-bc02-1ebc41aba997",
        "edition_id": "aeda7fca-56fe-426a-8c37-1876faaaf005",
        "edition_name": "string",
        "event_name": "string",
        "origin": "participant",
        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
        "template_name": "string",
        "design_data": {},
        "ticket_name": "string",
        "action_url": "string"
      }
    ]
  }
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 500,
  "title": "Internal Server Error"
}