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

Add getVersions method to the SDK/API #114

Open
adgsm opened this issue Aug 30, 2023 · 0 comments
Open

Add getVersions method to the SDK/API #114

adgsm opened this issue Aug 30, 2023 · 0 comments

Comments

@adgsm
Copy link
Contributor

adgsm commented Aug 30, 2023

get_versions (input_CID, [wallet_addresses])
input_CID can be any data structure (asset, type, function, pipeline)
wallet_addresses is a set of addresses you trust to re-version
if empty, only return your versions
if not empty, check for clones of this asset
Returns array of CIDs of new versions, you can filter to get the most recent one

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