-
Notifications
You must be signed in to change notification settings - Fork 2
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
Arweave microservice #2
Comments
@alexcos20 The Upload input says
Does this mean we receive IPFS URIs and we need to download them before uploading to Arweave? |
@alexcos20 Do you want us to submit our PR to this repo? Or do you want to create a new |
@alexcos20 Do you want us to implement this service in Python and Flask, or in Node.js and Express? Details: If we use Node.js and Express, we think that the Bundlr JS APIs would allow us to keep the file-to-be-uploaded in memory. |
@alexcos20 We (@corrie-sloot and I) believe that |
No REST API path should have "get" in their API path. Here were my suggestions for the API paths: |
At today's Core Tech Working group meeting @alexcos20 answered some questions:
|
@alexcos20 When you're finished updating the Arweave microservice endpoint paths (to remove |
See oceanprotocol/uploader_backend#1 for big picture
On every 10 minutes, Arweave microservice should register itself to DBS, using the register endpoint.
DBS_URL will be defined as env.
Microservice API Endpoints:
GetQuote
Description: Gets a quote in order to store some files
Path: POST /getQuote
Arguments:
Where:
Returns:
Where:
Upload
Description: Upload some files
Path: POST /upload
Input:
Microservice will upload files to Arweave and it will take the payment
Returns: 200 OK if succeded
GetStatus
Description: Gets status for a job
Path: POST /getStatus?quoteId=xxx
Returns:
Where:
GetLink
Description: Gets DDO files object for a job
Path: POST /getLink?quoteId=xxx&nonce=1&signature=0xXXXXX
Input:
Returns:
The text was updated successfully, but these errors were encountered: