Skip to content

Game Plan #18

@rye

Description

@rye

Here's what we want?

  • An API server (data_server) accepting the following routes: In a very strong way, these routes and operations actually mirror Git very well. A suggestion can be thought of as a commit on a branch, with each "change" being a commit... But there's some additional metadata to collect.

    • GET /ping [-auth] (basic deadness check) (Rocket #5)
    • GET /healthz [-auth] (healthiness check) (Healthz #22)
    • GET /statusz [-auth] (status check)
    • GET /varz [+auth] (metrics check)
    • GET /<data path> [~auth] (data fetch, to be used by ccc)
    • GET /suggestions [+auth] (get suggestions, filtered)
    • POST /suggestions [~auth] (create a suggestion)
    • GET /changes [+auth] (get all changes)
    • GET /suggestion/<id> [+auth] (get contents of suggestion)
    • GET /suggestion/<id>/changes [~auth] (get body of suggestion)
    • GET /changes/<id> [~auth] (changes)
  • A frontend (React, SPA in web browser land, github app/GH pages?)

Am I missing anything?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions