List and retrieve diffs with detailed revision information

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

{
    "id": 1119310,
    "revision": {
        "id": 518384,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fed0a3528ef27b3a504543436fd0c7ba2548b21",
        "head_changeset": "faf33975466a49c0c3f4653ca67d3d8ca5889e9b",
        "phabricator_id": 262170,
        "phabricator_phid": "PHID-DREV-6dtcaagsrm37ikz7jrnc",
        "title": "Bug 1984685 - Refactor: consistently return Maybe<nsTArray<RefPtr<Element>>> when getting attr-associated elements, and key AttrRelProviders on nsAtom rather than nsString. r?#dom-core,#accessibility-frontend-reviewers",
        "bugzilla_id": 1984685,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518384/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518384/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262170"
    },
    "phid": "PHID-DIFF-pmefhuqzwsff5ogmgzhx",
    "review_task_id": "VB1MS_1ORoqFT74OiM42WA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c20660b8d7f1731678ed6103880ff936bd782378",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1119310/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-09T12:30:52.205695Z"
}