List and retrieve diffs with detailed revision information

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

{
    "id": 1049713,
    "revision": {
        "id": 476855,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8a3a3c2d7535ed67670d27c2453bf88eb4f021aa",
        "head_changeset": "c86edf78dd5fe95a735a4ce301c099b8f545bd3b",
        "phabricator_id": 251801,
        "phabricator_phid": "PHID-DREV-nqodnwwlk4ia4nwfman6",
        "title": "Bug 1969204 - Port 1968561: Switch Mac signing to new M2 Mac signers. r=#thunderbuild",
        "bugzilla_id": 1969204,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476855/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476855/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251801"
    },
    "phid": "PHID-DIFF-5wyh4vfk5jxzd46gczqz",
    "review_task_id": "LtsaNLo2R8CzJAdUzAY9YQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c86edf78dd5fe95a735a4ce301c099b8f545bd3b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049713/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T05:33:00.384476Z"
}