-
Notifications
You must be signed in to change notification settings - Fork 11
Requirements
Brujo Benavides edited this page Dec 3, 2015
·
2 revisions
This document defines the desired scope of this project
- sumo_rest
- swagger
- trails
- mixer
- cowboy
- sumo_db
- lasse
- shotgun (for tests)
- ktn_meta_SUITE (for tests)
-
POST|GET /newspapers
- part of the CRUD for newspapers -
GET|PUT|DELETE /newspapers/:id
- part of the CRUD for newspapers -
POST /newspapers/:name/news
- publish a new news flash for newspaper:name
-
GET /newspapers/:name/news/:id
- retrieves data for a particular news flash -
GET /news
- implemented with SSE- field
id
will be a unique id - field
event
will be thenewspaper
- field
data
will be the news flash in json format
- field
-
name
(binary): unique identifier (doesn't allow duplicates) -
description
(binary): field that can be modified
-
id
(binary): autogenerated unique identifier -
newspaper_name
(binary): name of the newspaper where this news flash is published -
title
(binary) -
body
(binary)