List and retrieve diffs with detailed revision information

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

{
    "id": 1049690,
    "revision": {
        "id": 476850,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "21358ebe3d05aff9061fd53e650ea89ca271e24b",
        "head_changeset": "5d4b70cea0687493dbf982abb476374cd6e0272f",
        "phabricator_id": 251797,
        "phabricator_phid": "PHID-DREV-raidl3hnxap3xpp663i7",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476850/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476850/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251797"
    },
    "phid": "PHID-DIFF-nn4tjtcyiiri63btmwbj",
    "review_task_id": "Ym1EhGFDQdq19Z05FSnTSA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5d4b70cea0687493dbf982abb476374cd6e0272f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049690/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T04:41:48.768797Z"
}