List and retrieve diffs with detailed revision information

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

{
    "id": 1087881,
    "revision": {
        "id": 496817,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "1027ada507549f720a427f6e52f8f3e706e3aee0",
        "phabricator_id": 257662,
        "phabricator_phid": "PHID-DREV-aigk3jy5o2ccgjyq34zo",
        "title": "Bug 1975706 - Add sync request pagination to the EWS test server. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1975706,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496817/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496817/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257662"
    },
    "phid": "PHID-DIFF-glptbs2cqqhbvd7jjkqz",
    "review_task_id": "fIQgHB2bR5WMFxLU6QMmPw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c22cf8090abc9d45be0943fcfee8637074b56ea3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087881/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T10:20:14.106175Z"
}