|
|
Initializes project with TypeScript, ExpressJS, and Badgen. Defines
initial (v1) request paths:
GET /bash
GET /v1/:org/:repo/:branch.svg
GET /v1/:org/:repo/:branch.html
GET /v1/:org/:repo/:branch/:commit.svg
GET /v1/:org/:repo/:branch/:commit.html
POST /v1/:org/:repo/:branch/:commit.html?token=&format=
Also sets up interfaces for defining multiple formats. Tarpaulin is
defined but not implemented. All requests (aside from GET /bash)
return 501 NOT IMPLEMENTED.
A global TOKEN is expected for POST request. This can and should be
adapted to assigning tokens per repository, though this may require
verification from the originating repository or administrative
designation.
|