registerOpenCuration

API

API/v2/lens/open_curation/register

Title

registerOpenCuration

Description

After the curators complete the curation(i.e., quote the target publication on Lens), they must bind the Quoted Publication Id and Bid Index. So that Tako can verify that the curators have completed the curation task. This method is used to perform the binding.

Authorization

Not required

Method

POST

Request Parameters

NameTypeRequiredDescription

index

int

YES

The index of bid

pubId

string

YES

The id of Quoted Publication, such as 0x8d11-0x07-DA-1cdac4db

Request and Response Example

Request

cURL Code

curl -X 'POST' \
  'https://api.tako.so/v2/lens/open_curation/register' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "index": 17,
    "pubId": "0xb4-0x08-DA-67cfa258"
  }'

Request URL

https://api.tako.so/v2/lens/open_curation/register

Response

{
  "status": "success",
  "data": "register lens curation succeed"
}

Last updated