@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AmazonApiGatewayManagementApi
@version 2018-11-29
@auth AWS SigV4
@endpoints 3
@toc @connections(3)

@endpoint DELETE /@connections/{connectionId}
@required {ConnectionId: str}

@endpoint GET /@connections/{connectionId}
@required {ConnectionId: str}
@returns(200) {ConnectedAt: str(timestamp)?, Identity: Identity?{SourceIp: str, UserAgent: str}, LastActiveAt: str(timestamp)?}

@endpoint POST /@connections/{connectionId}
@required {ConnectionId: str, Data: bytes}

@end
