@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon Personalize Events
@version 2018-03-22
@auth AWS SigV4
@endpoints 5
@toc action-interactions(1), actions(1), events(1), items(1), users(1)

@group action-interactions
@endpoint POST /action-interactions
@required {trackingId: str, actionInteractions: [ActionInteraction]}

@endgroup

@group actions
@endpoint POST /actions
@required {datasetArn: str, actions: [Action]}

@endgroup

@group events
@endpoint POST /events
@required {trackingId: str, sessionId: str, eventList: [Event]}
@optional {userId: str}

@endgroup

@group items
@endpoint POST /items
@required {datasetArn: str, items: [Item]}

@endgroup

@group users
@endpoint POST /users
@required {datasetArn: str, users: [User]}

@endgroup

@end
