Skip to main content

News


Get News Items#

Description: To get a list of news items, a HTTP GET request is made to the URL with the session token.

Method: GET

URI: /news/

Headers: Authorization: Third party based authorization header

Returns

FieldTypeDescription
userUserA user object.
agencyAgencyAn agency object.
tokenStringUnique session token.

Example

Request
curl https://app-api.reiformslive.com.au/news \
--request GET \
--header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ=="
Response
[
{
"id": 1,
"title": "News - Title",
"content": "News - Content",
"created": 1353974816,
"updated": 1353974816
}, ...
]