List and retrieve diffs with detailed revision information

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

{
    "id": 1039935,
    "revision": {
        "id": 475877,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2ba6cd1cfcac702d8f591954e0d9abda325979d5",
        "head_changeset": "452d34c2e976db1642a09ce3723d74f7f3dcbd0d",
        "phabricator_id": 250459,
        "phabricator_phid": "PHID-DREV-bwfxpw4g4tzff4c3neg5",
        "title": "Bug 1967722 - Fix warning in xpcom/Logging.cpp, rewrite dubious time formatting code in modern C++. r?#xpcom-reviewers",
        "bugzilla_id": 1967722,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475877/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475877/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250459"
    },
    "phid": "PHID-DIFF-azfabqkm7wkpcvqror2k",
    "review_task_id": "ESFnVwBnQoSUcYhHzmbz3A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a3c0dd7cd521721cd78a1f6dead5e4a1c4e02ab5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039935/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T16:45:18.316599Z"
}