CoSMed offers a public API for apps. First of all you need to register your app with the form here on the side. When the CoSMed admin accept your app registration, you will receive an email containing your app password. Then for every request you have to specify these parameters:
  • your_appID: the email used to register the app
  • your_app_password: the app password received by email
The API endoints are:

List Notices

  • Request: GET https://cosmed.globalnoticeboard.com/api/listNoticesByApp?appID=your_appID&password=your_app_password
  • Response: [{"userID": "user1@example.com", "noticeID": "1"}, {"userID": "user2@example.com", "noticeID": "3"}]

Read Notice Title

  • Request: GET https://cosmed.globalnoticeboard.com/api/readTitleNoticeByApp/:id?appID=your_appID&password=your_app_password
  • :id: notice ID
  • Response: {"title": "A Notice Title"}

Read Notice Text

  • Request: GET https://cosmed.globalnoticeboard.com/api/readTextNoticeByApp/:id?appID=your_appID&password=your_app_password
  • :id: notice ID
  • Response: {"text": "A Notice Text"}

Registration request for a new app