v1

latestOpenAPI 3.0.02026-07-175152156.1 KB
Ability

Edits an ability

put/ability/{packageName}

Path parameters

packageNamestring required

The NPM package name

Request body

activeVersionstring

Active version of the ability

titlestring

Ability title - displayed to users in the dashboard/Vincent Explorer UI

descriptionstring

Ability description - displayed to users in the dashboard/Vincent Explorer UI

deploymentStatus'dev' | 'test' | 'prod'

Identifies if an ability is in development, test, or production.

logostring

Base64 encoded logo image

Example request

{
  "activeVersion": "1.0.0",
  "title": "ERC20 Approval Ability",
  "description": "An ability that manages ERC20 approvals for PKPs. Facilitates vincent-uniswap-swap-ability usage.",
  "deploymentStatus": "dev",
  "logo": "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAIAAAACDbGyAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOvwAADr8BOAVTJAAAAA5JREFUGFdj/M+ACAAAAAD//wE7AnsAAAAAAElFTkSuQmCC"
}

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

titlestring required

Ability title - displayed to users in the dashboard/Vincent Explorer UI

authorWalletAddressstring required

Author wallet address. Derived from the authorization signature provided by the creator.

descriptionstring required

Ability description - displayed to users in the dashboard/Vincent Explorer UI

logostring

Base64 encoded logo image

activeVersionstring required

Active version of the ability

deploymentStatus'dev' | 'test' | 'prod'

Identifies if an ability is in development, test, or production.

isDeletedboolean

Whether or not this Ability is deleted

Example response

{
  "packageName": "@lit-protocol/vincent-erc20-approval-ability",
  "title": "ERC20 Approval Ability",
  "authorWalletAddress": "0x123456789012345678901234567890123456abcd",
  "description": "An ability that manages ERC20 approvals for PKPs. Facilitates vincent-uniswap-swap-ability usage.",
  "logo": "iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAIAAAACDbGyAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOvwAADr8BOAVTJAAAAA5JREFUGFdj/M+ACAAAAAD//wE7AnsAAAAAAElFTkSuQmCC",
  "activeVersion": "1.0.0",
  "deploymentStatus": "dev"
}