Contrib API Documentation

Get Micronews

Method

GET

URL

https://e7lq80c199.execute-api.us-west-2.amazonaws.com/api1?request=getmicronews

Making a Request

Available request parameters are:
  • domain — domain name (should be in contrib/vnoc system).
  • limit — number of micronews to be fetched
  • key — domain API key.

  • Sample Request

    https://e7lq80c199.execute-api.us-west-2.amazonaws.com/api1?request=getmicronews&key={xxxxxxxxx}&domain={domain}&limit=2

API Responses

sample json data:
{
"success": true,
"data": [
{
"LastName": "Doe",
"message": "This is the micronews content",
"date_posted": "2015-11-29 01:37:52",
"member_id": "4",
"domain": "missionsurvey.com",
"Username": "john",
"profile_image": "john.jpg",
"FirstName": "John",
"NewsId": "986831"
}]
}


  • LastName — Last name of the member who posted the news.
  • message — message content posted.
  • date_posted — Date posted.
  • member_id — member id of the member who posted the news.
  • domain — the domain where the domain has been posted .
  • Username — Username of the user who posted the news.
  • profile_image — Photo of the member who posted the news.
  • First Name — first name of the user who posted the news.
  • NewsId — the id of the news.

API Errors

[
 {
"error":true
 }
]