List and retrieve diffs with detailed revision information

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

{
    "id": 1087792,
    "revision": {
        "id": 496711,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "9fd6e6c08d5705db765b0db52a65668d6e525658",
        "phabricator_id": 257636,
        "phabricator_phid": "PHID-DREV-qv3na5chlzifhq7lgp43",
        "title": "Bug 1976783 - Stop using XPCOM methods to named services. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496711/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496711/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257636"
    },
    "phid": "PHID-DIFF-pdcy4fye2hy22kyiofzx",
    "review_task_id": "LXYV1UafSaOHa7k8Tv2Etw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9fd6e6c08d5705db765b0db52a65668d6e525658",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087792/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T05:17:27.329046Z"
}