List and retrieve diffs with detailed revision information

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

{
    "id": 1055335,
    "revision": {
        "id": 477778,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b09cd01a70d02479477513d043953952c14c1826",
        "head_changeset": "6662f98d824228b60e6783938310788144b8cdd8",
        "phabricator_id": 252925,
        "phabricator_phid": "PHID-DREV-o363c74s7wolsxom7voe",
        "title": "Bug 1970948 - ensure SPS is always presented in the H264 bytestream for IDR frames.",
        "bugzilla_id": 1970948,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477778/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477778/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252925"
    },
    "phid": "PHID-DIFF-gthwbvlfnfbpt7hp3ru4",
    "review_task_id": "a_gT-3ADRyuJAIQBMdpc8Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0fbdd1c1ee9a67938662cb66b3717f8edda8475e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055335/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T19:01:29.130738Z"
}