POST
/
asset
/
changelog
curl --request POST \
  --url https://app.chainpatrol.io/api/v2/asset/changelog \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "URL",
  "content": "<string>",
  "fromStatus": "UNKNOWN",
  "toStatus": "UNKNOWN",
  "startDate": "<string>",
  "endDate": "<string>"
}'
{
  "changelog": [
    {
      "assetId": 123,
      "type": "URL",
      "content": "<string>",
      "fromStatus": "UNKNOWN",
      "toStatus": "UNKNOWN",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Body

application/json
type
enum<string>

Asset type

Available options:
URL,
PAGE,
ADDRESS,
DISCORD,
LINKEDIN,
TWITTER,
FACEBOOK,
YOUTUBE,
REDDIT,
TELEGRAM,
GOOGLE_APP_STORE,
APPLE_APP_STORE,
AMAZON_APP_STORE,
MICROSOFT_APP_STORE,
TIKTOK,
INSTAGRAM,
THREADS,
MEDIUM,
CHROME_WEB_STORE,
MOZILLA_ADDONS,
OPERA_ADDONS,
EMAIL,
PATREON,
OPENSEA,
FARCASTER
content
string

Asset content

fromStatus
enum<string>

Status of the changed assets to retrieve

Available options:
UNKNOWN,
ALLOWED,
BLOCKED
toStatus
enum<string>

Status of the changed assets to retrieve

Available options:
UNKNOWN,
ALLOWED,
BLOCKED
startDate
string

The start date to list items from. This should be in the format YYYY-MM-DD and is inclusive.

endDate
string

The end date to list items from. This should be in the format YYYY-MM-DD and is inclusive.

Response

200 - application/json
changelog
object[]
required