@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Annunciator content API
@version v1
@endpoints 2
@toc api(2)

@endpoint GET /api/Message/message/{annunciator}/current
@desc Return the current message by annunciator type
@required {annunciator: str # Current message by annunciator}
@returns(200) {annunciatorDisabled: bool, id: int(int32), slides: [map]?, scrollingMessages: [map]?, annunciatorType: str, publishTime: str(date-time), isSecurityOverride: bool, showCommonsBell: bool, showLordsBell: bool} # Success
@errors {404: Not Found}

@endpoint GET /api/Message/message/{annunciator}/{date}
@desc Return the most recent message by annunciator after date time specified
@required {annunciator: str # Message by annunciator type, date: str(date-time) # First message after date time specified}
@returns(200) {annunciatorDisabled: bool, id: int(int32), slides: [map]?, scrollingMessages: [map]?, annunciatorType: str, publishTime: str(date-time), isSecurityOverride: bool, showCommonsBell: bool, showLordsBell: bool} # Latest message for given annunciator was issued before specified date
@errors {400: Date provided wasn't in a valid format, 404: No message for given annunciator was issued before specified date}

@end
