News
Use the news node to get information about news.
A limit on the number of objects to be returned, between 1 and 100.
Retrieving News
GET https://vcapi.parsers.me/v2/news/
Authorization: Bearer {your-auth-token} or query string parameter
Success responce:
Status 200 OK
[
{
"Id": "e69c6bcc-6fef-4f31-b348-0002319f31f4",
"Title": "Samen werken aan maatschappelijke uitdagingen in Zuid-Holland",
"Date": null,
"Description": "Geplaatst 14 december 2017 in Nieuws...",
"Category": null,
"Author": null
},
...
{
"Id": "18c52cb6-393a-4dab-a785-000303e4a512",
"Title": "Hortonworks Acquires XA Secure",
"Date": null,
"Description": "Hortonworks Acquires XA Secure...",
"Category": null,
"Author": "Marc Jacob"
}
]
The data response payload contains the array of funds.
News properties
Id | News Id |
Title | News title |
Date | News published date |
Description | News description |
Category | News category |
Author | News author |
Source | Source website page |
GET https://vcapi.parsers.me/v2/news/{newsId}
Authorization: Bearer {your-auth-token} or query string parameter
Success responce:
Status 200 OK
{
"Id": "e69c6bcc-6fef-4f31-b348-0002319f31f4",
"Title": "Samen werken aan maatschappelijke uitdagingen in Zuid-Holland",
"Date": null,
"Description": "Geplaatst 14 december 2017 in Nieuws...",
"Category": null,
"Author": null
}
The data response payload contains specific News.
When you query a news it returns a set of basic fields by default, as the examples above show. However, you can specify which fields you want returned by using the select parameter and listing each field. This overrides the defaults and returns the fields you specify, and the Id of the object, which is always returned.
GET https://vcapi.parsers.me/v2/news/{newsId}?$select=Title,Description
Authorization: Bearer {your-auth-token} or query string parameter
Success responce:
Status 200 OK
{
"Id": "e69c6bcc-6fef-4f31-b348-0002319f31f4",
"Title": "Samen werken aan maatschappelijke uitdagingen in Zuid-Holland",
"Description": "Geplaatst 14 december 2017 in Nieuws..."
}
This parameters can be used with collections and specific records.