News 2019-08-20T14:16:44+08:00

API – News

Introduction

The news object includes news data published by University of Macau. The ‘common’ and ‘details’ are common and detailed information about the news. The earliest data tracks back to July 2003. The data is refreshed in at least 15 minutes.

Figure 1: Relationships between news, common and details

 

API Reference

News Data Dictionary

The earliest data tracks back to July 2003.

FieldTypeIndexedDescriptionExample
itemIdintegerYesUnique ID for each news"itemId": 44602
lastModifieddateYesLatest modified date time for the news"lastModified": "2018-03-21T17:35:10+08:00"

Common Data Dictionary

Information of the news which is common across different language, e.g. publishDate and imageUrls.

FieldTypeIndexedDescriptionExample
publishDatedateYesThe date that the new is published"publishDate": "2018-03-21T16:45:16+08:00"
imageUrlsstring[]NoThe URL for downloading the news photos"imageUrls": ["http://news.umac.mo/nrs/faces/binary?id=jUbcIj_2FvQMB0OqCDY6ViWzSwwnkGxb9VfnRT_2FcPuKE4_3D","http://news.umac.mo/nrs/faces/binary?id=jUbcIj_2FvQMB0OqCDY6ViWzSwwnkGxb9Vxcy0r81MDLs_3D","http://news.umac.mo/nrs/faces/binary?id=jUbcIj_2FvQMB0OqCDY6ViWzSwwnkGxb9V_2Fhll7spm4rs_3D","http://news.umac.mo/nrs/faces/binary?id=jUbcIj_2FvQMB0OqCDY6ViWzSwwnkGxb9V_2Bm10yzxwxn8_3D"]

Details Data Dictionary

Information of the news details in English, Chinese or Portuguese.

FieldTypeIndexedDescriptionExample
localestringNoLanguage of the news details

  • en_US: English
  • zh_TW: Traditional Chinese
  • pt_PT: Portuguese
"locale": "en_US"
titlestringFull Text Index (English only)Title of the news"title": "UM maritime big data team visits Pearl River Hydraulic Research Institute"
contentstringFull Text Index (English only)Content of the news"content": "A research team specialised in maritime big data from the University of ..."