List and retrieve diffs with detailed revision information

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

{
    "id": 1052942,
    "revision": {
        "id": 477465,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ee1ab18591dcbae459b7430168fe12cb7830ab20",
        "head_changeset": "0b9a63f32b23ce55ae1a62d29e03eca69325a84e",
        "phabricator_id": 252560,
        "phabricator_phid": "PHID-DREV-b3ubqqwygc3w4cyyy6ck",
        "title": "WIP: Bug 1968325 - Remove Pocket suggestions from the suggest component",
        "bugzilla_id": 1968325,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477465/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477465/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252560"
    },
    "phid": "PHID-DIFF-24fret5ygmksdmbovliw",
    "review_task_id": "TESA0_06SqWIMgBqxfT8YQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0b9a63f32b23ce55ae1a62d29e03eca69325a84e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052942/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T17:47:30.661799Z"
}