We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There have been a number of API changes to support buckets. you can refer to this PR: waifuvault/waifuVault-node-api#15
Buckets are temprry virtual buckets that are managed with a single token
here are the outline of the changes:
/uploadFile/{token}
createBucket
GET
/rest/bucket/create
deleteBucket
DELETE
/rest/bucket/${bucketToken}
getBucket
POST
/rest/bucket/get
{ "bucket_token": "bucketToken" }
the response of the get is an object with the shape of
"token": "string", "files": FileResponseObject[]
where FileResponseObject is whatever type you have defined in the response of getFileInfo.
FileResponseObject
getFileInfo
The text was updated successfully, but these errors were encountered:
you can see the new api docs and the schemeas here: https://waifuvault.moe/api-docs
Sorry, something went wrong.
ernestmarcinko
No branches or pull requests
There have been a number of API changes to support buckets. you can refer to this PR: waifuvault/waifuVault-node-api#15
Buckets are temprry virtual buckets that are managed with a single token
here are the outline of the changes:
/uploadFile/{token}
this is the bucket tokencreateBucket
endpoint that is aGET
and takes no body (buckets are created once per IP). the endpoint is/rest/bucket/create
deleteBucket
endpoint aDELETE
takes the bucxket token as a path param. the endpoint is/rest/bucket/${bucketToken}
getBucket
endpoint, aPOST
to/rest/bucket/get
that takes the the body of:the response of the get is an object with the shape of
where
FileResponseObject
is whatever type you have defined in the response ofgetFileInfo
.The text was updated successfully, but these errors were encountered: