Skip to content

feat: materials blob retrieval API#9728

Merged
jennifer-richards merged 5 commits into
ietf-tools:feat/blobmatfrom
jennifer-richards:more-blobmat
Oct 14, 2025
Merged

feat: materials blob retrieval API#9728
jennifer-richards merged 5 commits into
ietf-tools:feat/blobmatfrom
jennifer-richards:more-blobmat

Conversation

@jennifer-richards

@jennifer-richards jennifer-richards commented Oct 14, 2025

Copy link
Copy Markdown
Member

This adds the blob retrieval API which, given a blob spec (bucket / name), returns the blob contents. If the blob does not exist, looks for a meeting-related Document of the expected type, creates a StoredObject and blob, and returns the contents.

The endpoint is /api/meeting/blob/<bucket>/<name> with no trailing slash. The values should be the ones returned from /api/meeting/<num>/materials/<name>/resolve/.

Known limitations:

  • Does not create a StoredObject if the blob is in the blobdb but no StoredObject exists. This is an unexpected corner case.
  • Does not yet render markdown into HTML - that'll be another PR
  • Content type determination is simplistic
  • no tests :-(

@jennifer-richards jennifer-richards merged commit d4ff746 into ietf-tools:feat/blobmat Oct 14, 2025
2 checks passed
@jennifer-richards jennifer-richards deleted the more-blobmat branch October 14, 2025 23:08
@ietf-tools ietf-tools deleted a comment from hulfo6 Oct 16, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 20, 2025
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.

1 participant