List and retrieve diffs with detailed revision information

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

{
    "id": 1049751,
    "revision": {
        "id": 476719,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9aff80d014f71d00bfdd6bfc776309f4621f4991",
        "head_changeset": "3931418f39674eed432ee1d808844df186373f33",
        "phabricator_id": 250880,
        "phabricator_phid": "PHID-DREV-l7kap2ghsqhs5o6gml4p",
        "title": "Bug 1967634 - Bump vendored `pyyaml` version to `6.0.2` to match mozharness and grizzly r?ahal",
        "bugzilla_id": 1967634,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476719/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476719/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250880"
    },
    "phid": "PHID-DIFF-tbs66b2s36sczjp57nc6",
    "review_task_id": "QmbA9EQHSLORq1L128WrEw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4d135d9b2b41a42fd9c703a9389f29927becc2ba",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049751/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:28:33.744272Z"
}