IgnoreLensBid

API

API
/v2/lens/ignore_bid

Title

IgnoreLensBid

Description

The curator can ignore some bids, which will not remove the bid data, just hidden.

Authorization

Required. Put a key-value pair in the request body, the key is Authorization, and the value is "Bearer {token}", Use the API GetToken to acquire the token. Please read the example below for more detail.

Method

POST

Request Parameters

Name
Type
Required
Description

index

int

YES

The index of bid

platformType

string

YES

"momoka" or "polygon". The mention of "momoka" indicate that the content will be curated on Momoka, while the mention of "polygon" indicate that the content will be curated on Polygon

profileIds

int[]

NO

The Lens profile id list of the curators

ignore

bool

NO

True indicate ignore

Parameter Content Type

application/json

Request and Response Example

Request

cURL Code

curl -X 'POST' \
  'https://api.tako.so/v2/lens/ignore_bid' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjoiMHg4N0E0Nzk4NTY3MTM1YUQ4ZkYxZDM4MGRmMThEQmI2M2REMjc3MWM4IiwidHlwZSI6InRva2VuIiwiZXhwIjoxNjkwOTc3MTA2fQ.oUIK9CLarLGRGlff08YufSiQxkZ3D-hhWREfhbVgEYE' \
  -d '{
    "ignore": true,
    "index": 70,
    "platformType": "polygon"
  }'

Request URL

https://api.tako.so/v2/lens/ignore_bid

Response

{
  "status":"success",
  "data":"update ignore info of 70 to true succeed"
}

Last updated