List and retrieve diffs with detailed revision information

GET /v1/diff/1087578/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1087578,
    "revision": {
        "id": 496572,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "633efe446fbce6547a7d2e646e750c9b9f678153",
        "head_changeset": "4f267339c893493926d39f7f8cf923588f9529c6",
        "phabricator_id": 257582,
        "phabricator_phid": "PHID-DREV-2j3ztvdvgt5pxc44fdts",
        "title": "Bug 1977613 - Update edgedriver URL for browsertime. r=#perftest-reviewers",
        "bugzilla_id": 1977613,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496572/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496572/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257582"
    },
    "phid": "PHID-DIFF-ljnclyjpqt34g424htho",
    "review_task_id": "M4US7oqkTtifb-YiuY5wdA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4cee2c386c68e0e8cee4c7390e19d95cbfa74b30",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087578/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T21:21:37.266954Z"
}