@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Events Events
@base https://api.hubapi.com
@version v3
@auth OAuth2 | ApiKey private-app in header
@endpoints 2
@toc events(2)

@endpoint GET /events/v3/events
@optional {after: str # The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results., before: str, eventType: str, id: [str], limit: int(int32) # The maximum number of results to display per page., objectId: int(int64), objectProperty.{propname}: map, objectType: str, occurredAfter: str(date-time), occurredBefore: str(date-time), properties: [str], property.{propname}: map, sort: [str]}
@returns(200) {paging: map{next: map{after: str, link: str}, prev: map{before: str, link: str}}, results: [map]} # successful operation

@endpoint GET /events/v3/events/event-types
@returns(200) {eventTypes: [str]} # successful operation

@end
