Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
soledad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
leap
soledad
Wiki
blobs api
Changes
Page history
Wiki actions
New page
Templates
Clone repository
drebs created page: blobs api
authored
Apr 10, 2017
by
drebs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
blobs-api.md
+14
-0
14 additions, 0 deletions
blobs-api.md
with
14 additions
and
0 deletions
blobs-api.md
0 → 100644
View page @
278a7c78
This page documents current research about blobs api in soledad.
*
Some of the discussion started
[
here
](
#8690
)
.
*
What we want for now:
*
ability to access blob fd
*
ability to defer to when blob is available
*
possibility of seamless fallback
*
predictability from the application perspective
Current proposal:
*
A "blob document" is a normal document with two special fields in its content:
`doc.content = {'is_blob': True, 'blob_id': '<id>'}`
.
*
`create_blob(metadata, fd, doc_id=None)`
: returns a blob document.
*
`get_blob(blob_id)`
: returns a file descriptor.
\ No newline at end of file
This diff is collapsed.
Click to expand it.