Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 766 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 766 Bytes

Warm Feed API

Implements read-only API for the Warm feed app. The database is being maintanined by the Updater.

There are both legacy and JSONAPI implementations.

Endpoints

All the JSONAPI dates are in UTC and formatted unsing ISO 8601 instant format, e.g. 2011-12-03T10:15:30Z. All the legacy dates are in UTC unixtime.

Check out Warm feed JSONAPI reference

Legacy categories

GET /categories

Legacy posts

GET /get

Run

DB_HOST=localhost \
DB_PORT=3306 \
DB_NAME=feed \
DB_USER=*** \
DB_PASSWORD=*** \
PORT=**optional** \
java -Dlog4j.configuration=file:build/libs/logging.properties -jar build/libs/api.jar