Reports
Get URL Content Diff
Changed onCompare two stored content versions of a source URL. Without version numbers, compares the newest version with the one before it. Use List URL Content Versions to see which versions exist. Returns 404 when the URL has only one version.
post/sources/urls/content/diff
Request
- Base URLhttps://api.peec.ai/customer/v1
- URLhttps://api.peec.ai/customer/v1/sources/urls/content/diff
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- or HTTP bearer
Query parameters
project_idstring
Required if using a company api key
Example:or_f45b94ba-5e35-4982-93ed-285e72ee14eb
Request body
Example request
{
"project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb",
"url": "https://example.com/blog/page1",
"from_version": 2,
"to_version": 3
}Response
Success
Example response
{
"data": {
"from_version": 2,
"to_version": 3
}
}Changes
- info
endpoint added
- info