List and retrieve diffs with detailed revision information

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

{
    "id": 1108868,
    "revision": {
        "id": 516336,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b4642edaad5a2dd6fdd6e70d304fcc20b74d6398",
        "head_changeset": "c02aa0e0972584d9704d0a5007a2fcea36d22302",
        "phabricator_id": 261793,
        "phabricator_phid": "PHID-DREV-ntmgjsfcldbvky7qo2ur",
        "title": "Bug 1984094 - Update pytest and pytest-mock for 'mach python-test', r?#mach-reviewers",
        "bugzilla_id": 1984094,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516336/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516336/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261793"
    },
    "phid": "PHID-DIFF-gwk22geed7uxw7keekjd",
    "review_task_id": "DDhFvQMjS52BJhNQUbkZkw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c02aa0e0972584d9704d0a5007a2fcea36d22302",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108868/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T17:58:51.794221Z"
}