Skip to content

feat: retrieve single rfc, including text#8346

Merged
jennifer-richards merged 3 commits intoietf-tools:feat/rpc-apifrom
jennifer-richards:retrieve-rfc
Dec 19, 2024
Merged

feat: retrieve single rfc, including text#8346
jennifer-richards merged 3 commits intoietf-tools:feat/rpc-apifrom
jennifer-richards:retrieve-rfc

Conversation

@jennifer-richards
Copy link
Copy Markdown
Member

This makes the stub of a retrieve action via GET of /api/red/doc/<rfc number>/ into a working endpoint. It replaces doc id with RFC number as a lookup attribute and stops exposing the doc ID through this interface.

Adds a text field to the retrieve action that includes the plaintext format of the requested document when available. If not available, returns a null value instead.

Per our discussion on Dec 17 about how we'll store / serve document contents, there's a fairly good chance we'll change that last part in the future. This gets data to the front end to serve in the short term though, which will allow progress on the front end while we're working out the storage details.

@jennifer-richards jennifer-richards merged commit d60dba1 into ietf-tools:feat/rpc-api Dec 19, 2024
@jennifer-richards jennifer-richards deleted the retrieve-rfc branch December 19, 2024 20:55
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants