List and retrieve diffs with detailed revision information

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

{
    "id": 1087684,
    "revision": {
        "id": 496598,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b34369cfdacdbeee47d3d4c029af0fb2e66cb4ff",
        "head_changeset": "1e2ef1d8b71667d34ff43b83661598707e43a9ba",
        "phabricator_id": 257609,
        "phabricator_phid": "PHID-DREV-gawzi2oq7me2whpe2kkd",
        "title": "Bug 1977641 - Run `./mach configure` if a mach command condition can't be checked without `config.status` r?#build",
        "bugzilla_id": 1977641,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496598/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496598/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257609"
    },
    "phid": "PHID-DIFF-kh5hbtdba46tltnso3e5",
    "review_task_id": "Dw6frhriQC2Fc2ECurZB7A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0d1335a5a878060f0e8c45a0bf4eadb68cc58407",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087684/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T23:23:38.717705Z"
}