Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document expectations around uploadBlob endpoint #1781

Open
devinivy opened this issue Oct 27, 2023 · 0 comments
Open

Document expectations around uploadBlob endpoint #1781

devinivy opened this issue Oct 27, 2023 · 0 comments

Comments

@devinivy
Copy link
Collaborator

We should document the expected usage of com.atproto.repo.uploadBlob. In particular, it's not clear how long uploaded blobs are available to be linked into a record before they expire. A case where this came-up was a client interested in implementing scheduled posts: they were not sure whether or not it would be feasible to upload a blob a day or longer ahead of posting a record that uses it.

Current TLDR on this is:

  • On our service we keep blobs around long enough for someone who is manually performing the upload then record creation, e.g. writing curl requests by hand. So there is no intense rush to create the record as fast as possible after the upload, but it is expected that the blob will be used in rough proximity to when it's uploaded.
  • From a compatibility standpoint, PDSes will differ in how long they keep unused blobs around before expiring them, and we should set a baseline expectation which is not overbearing for PDS operators to uphold.
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

No branches or pull requests

1 participant