Download OpenAPI specification:Download
REST API documentation for CRo online-reportage project.
Operations related to loading feed items. The response for all operations has the same JSON structure.
Feed items and metadata
| timestamp  required  | number <int>  Timestamp | 
| feedTotalCount  required  | number <int>  The number of all feed items for current filter (or total number of all feed items). | 
| sortedAt  required  | number <int>  sortedAt Timestamp | 
| articleUrl  required  | string Url to redirect to article | 
| title  required  | string Article title | 
| isOnline  required  | boolean Is Reportage online? | 
| feeds  required  | Array of objects (schema5)  Array of feed items | 
| filters  required  | Array of objects (schema3)  Filters | 
QA server
{- "timestamp": 1592393916,
- "feedTotalCount": 20,
- "sortedAt": 1593756551,
- "title": "ONLINE: Na Karvinsku nedochází ke komunitnímu šíření covidu, jde o rodiny horníků, řekl Vojtěch",
- "isOnline": true,
- "feeds": [- {- "weight": "-1",
- "feedId": "70494",
- "time": "2020-06-18T13:30:00+02:00",
- "timestamp": 1592479800,
- "filter": {- "filterId": "54",
- "title": "Česko"
 },
- "content": [- {- "type": "markup",
- "content": "<p><strong>Tweet Feed Item</strong></p>",
- "url": null
 },
- {- "type": "image",
- "content": null,
- "width": null,
- "height": null
 },
- {- "type": "twitter",
- "content": null,
 },
- {- "type": "article",
- "title": "Evropské komise: Česká ekonomika se propadne víc, než předpokládala OECD. Klesne o 7,8 procenta",
- "content": "Na pokles českého hospodářství orientovaného na vývoz bude mít podle komise zásadní vliv útlum průmyslové výroby a také nižší poptávka v dalších evropských zemích."
 }
 ]
 }
 ],
- "filters": [- {- "filterId": "54",
- "title": "Česko"
 }
 ]
}Feed items and metadata
| timestamp  required  | number <int>  Timestamp | 
| feedTotalCount  required  | number <int>  The number of all feed items for current filter (or total number of all feed items). | 
| sortedAt  required  | number <int>  sortedAt Timestamp | 
| articleUrl  required  | string Url to redirect to article | 
| title  required  | string Article title | 
| isOnline  required  | boolean Is Reportage online? | 
| feeds  required  | Array of objects (schema5)  Array of feed items | 
| filters  required  | Array of objects (schema3)  Filters | 
QA server
{- "timestamp": 1592393916,
- "feedTotalCount": 20,
- "sortedAt": 1593756551,
- "title": "ONLINE: Na Karvinsku nedochází ke komunitnímu šíření covidu, jde o rodiny horníků, řekl Vojtěch",
- "isOnline": true,
- "feeds": [- {- "weight": "-1",
- "feedId": "70494",
- "time": "2020-06-18T13:30:00+02:00",
- "timestamp": 1592479800,
- "filter": {- "filterId": "54",
- "title": "Česko"
 },
- "content": [- {- "type": "markup",
- "content": "<p><strong>Tweet Feed Item</strong></p>",
- "url": null
 },
- {- "type": "image",
- "content": null,
- "width": null,
- "height": null
 },
- {- "type": "twitter",
- "content": null,
 },
- {- "type": "article",
- "title": "Evropské komise: Česká ekonomika se propadne víc, než předpokládala OECD. Klesne o 7,8 procenta",
- "content": "Na pokles českého hospodářství orientovaného na vývoz bude mít podle komise zásadní vliv útlum průmyslové výroby a také nižší poptávka v dalších evropských zemích."
 }
 ]
 }
 ],
- "filters": [- {- "filterId": "54",
- "title": "Česko"
 }
 ]
}Feed item and metadata
| timestamp  required  | number <int>  Timestamp | 
| feedTotalCount  required  | any Nullable  FeedTotalCount is always null for polling response | 
| sortedAt  required  | number <int>  sortedAt Timestamp | 
| articleUrl  required  | string Url to redirect to article | 
| title  required  | string Article title | 
| isOnline  required  | boolean Is Reportage online? | 
| feeds  required  | Array of objects (schema5)  Array of feed items | 
| filters  required  | Array of objects (schema3)  Filters | 
QA server
{- "timestamp": 1592393916,
- "feedTotalCount": null,
- "sortedAt": 1593756551,
- "title": "ONLINE: Na Karvinsku nedochází ke komunitnímu šíření covidu, jde o rodiny horníků, řekl Vojtěch",
- "isOnline": true,
- "feeds": [- {- "weight": "-1",
- "feedId": "70494",
- "time": "2020-06-18T13:30:00+02:00",
- "timestamp": 1592479800,
- "filter": {- "filterId": "54",
- "title": "Česko"
 },
- "content": [- {- "type": "markup",
- "content": "<p><strong>Tweet Feed Item</strong></p>",
- "url": null
 },
- {- "type": "image",
- "content": null,
- "width": null,
- "height": null
 },
- {- "type": "twitter",
- "content": null,
 },
- {- "type": "article",
- "title": "Evropské komise: Česká ekonomika se propadne víc, než předpokládala OECD. Klesne o 7,8 procenta",
- "content": "Na pokles českého hospodářství orientovaného na vývoz bude mít podle komise zásadní vliv útlum průmyslové výroby a také nižší poptávka v dalších evropských zemích."
 }
 ]
 }
 ],
- "filters": [- {- "filterId": "54",
- "title": "Česko"
 }
 ]
}| weight  required  | string <number>  The feed item position | 
| feedId  required  | string <number>  The feed item ID | 
| time  required  | string <Date>  Displaying time in timeline | 
| timestamp  required  | number <int>  Displaying time in timeline timestamp | 
| filter  required  | object (schema3)  | 
| content  required  | Array of any The feed item Content Row | 
{- "weight": "-1",
- "feedId": "70494",
- "time": "2020-06-18T13:30:00+02:00",
- "timestamp": 1592479800,
- "filter": {- "filterId": "54",
- "title": "Česko"
 },
- "content": [- {- "type": "markup",
- "content": "<p><strong>Tweet Feed Item</strong></p>",
- "url": null
 },
- {- "type": "image",
- "content": null,
- "width": null,
- "height": null
 },
- {- "type": "twitter",
- "content": null,
 },
- {- "type": "article",
- "title": "Evropské komise: Česká ekonomika se propadne víc, než předpokládala OECD. Klesne o 7,8 procenta",
- "content": "Na pokles českého hospodářství orientovaného na vývoz bude mít podle komise zásadní vliv útlum průmyslové výroby a také nižší poptávka v dalších evropských zemích."
 }
 ]
}| filterId  required  | string <number>  The filter ID | 
| imageUrl  required  | string URL to filter icon image | 
| title  required  | string Image Title | 
{- "filterId": "54",
- "title": "Česko"
}| type  required  | string The feed row type must be one of these string:  | 
| content  required  | string Nullable  Text for type  | 
| url  required  | string Nullable  URL for type   | 
| title | string Title for type  | 
| image | string Image URL for type  | 
| width | string Nullable  Width for type  | 
| height | string Nullable  Width for type  | 
[- {- "type": "markup",
- "content": "<p><strong>Tweet Feed Item</strong></p>",
- "url": null
 },
- {- "type": "image",
- "content": null,
- "width": null,
- "height": null
 },
- {- "type": "twitter",
- "content": null,
 },
- {- "type": "article",
- "title": "Evropské komise: Česká ekonomika se propadne víc, než předpokládala OECD. Klesne o 7,8 procenta",
- "content": "Na pokles českého hospodářství orientovaného na vývoz bude mít podle komise zásadní vliv útlum průmyslové výroby a také nižší poptávka v dalších evropských zemích."
 }
]