List and retrieve diffs with detailed revision information

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

{
    "id": 1087583,
    "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-jwd64a6bv2kgpfbefaii",
    "review_task_id": "Br3U1CaYRFWk2NC9B09zfA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f407f5e708738ef02fe12e54ce07bd5700221b14",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087583/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T21:27:41.995735Z"
}