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

Body

application/json
content
string

Asset content

endDate
string

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

fromStatus
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.

toStatus
enum<string>

Status of the changed assets to retrieve

Available options:
UNKNOWN,
ALLOWED,
BLOCKED
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,
MEDIUM,
CHROME_WEB_STORE,
MOZILLA_ADDONS

Response

200 - application/json
changelog
object[]
required