v1

latestOpenAPI 3.0.02026-07-175152156.1 KB
AbilityVersion

Fetches all versions of an ability

get/ability/{packageName}/versions

Path parameters

packageNamestring required

The NPM package name

Response

Successful operation

_idstring required

Document ID

updatedAtstring date-time required

Timestamp when this was last modified

createdAtstring date-time required

Timestamp when this was created

packageNamestring required

Ability NPM package name

versionstring required

Ability version - must be an exact semver.

changesstring required

Changelog information for this version

repositorystring[] required

Repository URLs

descriptionstring required

Policy description

keywordsstring[] required

Keywords for the policy

dependenciesstring[] required

Dependencies of the policy

homepagestring uri

Policy homepage

supportedPoliciesobject required

Supported policies. These are detected from 'dependencies' in the ability's package.json.

ipfsCidstring required

IPFS CID of the code that implements this ability.

policiesNotInRegistrystring[] required

Policy versions that are not in the registry but are supported by this ability

isDeletedboolean

Whether or not this AbilityVersion is deleted

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"
    ]
  }
]