v1
latestOpenAPI 3.0.02026-07-175152156.1 KBPolicyVersion
Fetches a policy version
get/policy/{packageName}/version/{version}
Path parameters
packageNamestring required
The NPM package name
versionstring required
NPM semver of the target policy version
Response
Successful operation
Example response
{
"packageName": "@lit-protocol/vincent-policy-spending-limit",
"version": "1.0.0",
"changes": "Resolved issue with checking for spending limits on the wrong chain.",
"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",
"ipfsCid": "QmdoY1VUxVvxShBQK5B6PP2jZFVw7PMTJ3qy2aiCARjMqo",
"parameters": {
"uiSchema": "{\"type\":\"object\",\"properties\":{}}",
"jsonSchema": "{\"type\":\"object\",\"required\":[],\"properties\":{}}"
}
}