List and retrieve diffs with detailed revision information

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

{
    "id": 1041251,
    "revision": {
        "id": 475834,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "d94fd559a5dd81ab9c0a7fd17e9dc3d194cd94c6",
        "phabricator_id": 250407,
        "phabricator_phid": "PHID-DREV-k6myvzjpurhbgynqpwix",
        "title": "Bug 1223951 - Fix the way GloDa handles contacts without an email address. r=#thunderbird-reviewers",
        "bugzilla_id": 1223951,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475834/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475834/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250407"
    },
    "phid": "PHID-DIFF-ud26z3z53fstc3c6sh3g",
    "review_task_id": "cl8iHZV-TBqYeHNRLzwTng",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "331efd00a4b6c8c5d6bea2c2ac7c829c479294ad",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041251/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T16:12:23.782176Z"
}