Skip to content

basic retrieval endpoint on collaboration server#17

Draft
dblatcher wants to merge 5 commits intomainfrom
dblatcher/retrieve-data
Draft

basic retrieval endpoint on collaboration server#17
dblatcher wants to merge 5 commits intomainfrom
dblatcher/retrieve-data

Conversation

@dblatcher
Copy link
Contributor

What does this change?

  1. add database methods for fetching a list of document Id's and fetching the steps for a particular document
  2. adds routes for the methods

The functionality is very basic - more of a starting point and a way to see the our edits locally. In production, we may need to add pagination to the results.

How to test

Run locally. Go to https://editorial-collaboration.local.dev-gutools.co.uk/documents (on a browser with auth cookies) to see the list of ids of documents in your local collaboration db .

Pick one of the id's and go to https://editorial-collaboration.local.dev-gutools.co.uk/documents/{id} to see a list of steps and timestamps for that document.

How can we measure success?

Have we considered potential risks?

Safe at this point as not used in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant