Supported Formats

json

Errors

Code Description
404 Not Found
500 Internal Server error

Examples

Request
{
  id: 1
}

Response
{
  "id": 1,
  "name": "LFA 1",
  "location": "Clive, Iowa",
  "details": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
  "link": "https://nitrotickets.com/lfa",
  "date": "2019-02-15",
  "matches": [
    {
      "id": 3,
      "title": "Title Match",
      "time": "14:00",
      "featured": true,
      "fighters": [
        {
          "id": 1,
          "tag": "champion",
          "name": "John Doe",
          "nickname": "Doe",
          "small_avatar": "https://api.lfa.com/rails/active_storage/representations/small_avatar.jpg"
        },
        {
          "id": 2,
          "tag": "fighter",
          "name": "Jack Doe",
          "nickname": "Doe",
          "small_avatar": "https://api.lfa.com/rails/active_storage/representations/small_avatar.jpg"
        }
      ]
    }
  ]
}

Params

Param name Description
id
required

ID of the event

Validations:

  • Must be a Integer