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

Collection of API changes for v2 #1136

Open
13 tasks
ChrisSchinnerl opened this issue Mar 27, 2024 · 0 comments
Open
13 tasks

Collection of API changes for v2 #1136

ChrisSchinnerl opened this issue Mar 27, 2024 · 0 comments
Milestone

Comments

@ChrisSchinnerl
Copy link
Member

ChrisSchinnerl commented Mar 27, 2024

This issue serves as a collection of changes we want to make to the API in the next breaking version. Whenever something comes to mind that can be improved in the current API design add it to this list.

  • Update gouging settings to base unit (bytes, bytes per block etc.) instead of TiB etc.
  • Merge host querying endpoints
  • Merge object querying endpoints
  • Remove deprecated endpoints
  • Move routes that revise contracts to the bus
  • Endpoint for creating multipart uploads should generate a key by default
  • Forming/Renewing contracts should implicitly add them to the bus
  • Remove compat code in autopilot config updating endpoint
  • Don't use slab keys throughout the API but dedicated slab ids (e.g. hash of slab key)
  • Remove redundant Size from content range in HeadObjectResponse
  • Rename MinRecentScanFailures -> MaxConsecutiveScanFailures
  • TotalCost of contracts should be InitialRenterFunds (also in db)
  • Forming, Renewing and Refreshing contracts should expect maxFundingAmount > 0
@ChrisSchinnerl ChrisSchinnerl added this to the v2 milestone Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant