v1
latestOpenAPI 3.0.02026-07-175152156.1 KBAbilityVersion
Edits an ability version
put/ability/{packageName}/version/{version}
Path parameters
packageNamestring required
The NPM package name
versionstring required
NPM semver of the target ability version
Request body
Example request
{
"changes": "Ensure commit() is run on spending policy limit for users who have it enabled."
}Response
Successful operation
Example response
{
"packageName": "@lit-protocol/vincent-erc20-approval-ability",
"version": "1.0.0",
"changes": "Ensure commit() is run on spending policy limit for users who have it enabled.",
"description": "This policy is a foo bar policy",
"keywords": [
"defi",
"memecoin"
],
"author": {
"name": "Developer Name",
"email": "contact@example.com",
"url": "https://example.com"
},
"contributors": [
{
"name": "Contributor Name",
"email": "contributor@example.com",
"url": "https://contributor-site.example.com"
}
],
"homepage": "https://example-vincent-homepage.com",
"supportedPolicies": {
"@lit-protocol/vincent-spending-limit-policy": "1.0.0",
"@lit-protocol/vincent-rate-limit-policy": "0.0.1"
},
"ipfsCid": "QmdoY1VUxVvxShBQK5B6PP2jZFVw7PMTJ3qy2aiCARjMqo",
"policiesNotInRegistry": [
"@lit-protocol/vincent-spending-limit-policy@1.0.1"
]
}