Get Event.

GET /api/teams/{team}/events/{event}

Path parameters

  • team integer Required

    The ID of the team that the event belongs to.

  • event string Required

    The key of the event to show.

Query parameters

  • include string

    Comma-separate list of relationships to include in the response.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data object
      Hide data attributes Show data attributes object
      • id string
      • type string
      • attributes object
        Hide attributes attributes Show attributes attributes object
        • id integer
        • team_id integer
        • key string
        • type string
        • description string
        • created object
          Hide created attributes Show created attributes object
          • human string
          • string string
        • updated object
          Hide updated attributes Show updated attributes object
          • human string
          • string string
  • 403 application/json
    Hide response attribute Show response attribute object
    • message string
  • 404 application/json
    Hide response attribute Show response attribute object
    • message string
GET /api/teams/{team}/events/{event}
curl \
 -X GET https://checkmango.com/api/teams/1/events/quam \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "ET_ULLAM_MAXIME",
    "type": "events",
    "attributes": {
      "id": 20,
      "team_id": 46,
      "key": "ET_ULLAM_MAXIME",
      "type": "unique",
      "description": "Sit ea a est et omnis porro laborum. Ex deserunt optio error amet repellendus voluptatum animi. Repellat atque et esse et et aperiam. Odio et neque veritatis quibusdam. Qui illum laborum aliquam amet temporibus mollitia temporibus.\n\nQuisquam quisquam provident molestiae commodi minima sint. Quia amet est in qui. Fugiat quia occaecati cum laboriosam ratione enim ut quia. Expedita voluptatibus natus earum amet itaque consequatur nam qui.\n\nQuidem enim incidunt unde est illum ducimus sint. Perferendis dolor officia velit distinctio. Ut voluptate temporibus aut officia in. Repudiandae voluptas deserunt qui accusamus.",
      "created": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      },
      "updated": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      }
    },
    "links": {
      "self": {
        "href": "http://checkmango.com/api/teams/46/events/ET_ULLAM_MAXIME"
      }
    }
  }
}
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}