List and retrieve diffs with detailed revision information

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

{
    "id": 1038534,
    "revision": {
        "id": 471520,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "be45294d50d08e96645a1293e0a42721ba01c8f2",
        "head_changeset": "918cfa941ef1317e07e928bc2ac1506aaed567d1",
        "phabricator_id": 244341,
        "phabricator_phid": "PHID-DREV-h3ir7qcn3nhjwha7yfr4",
        "title": "WIP: Bug 1581963 - [devtools] - Implement a new remote function to gather the profile data, using the bulk api r=canaltinova",
        "bugzilla_id": 1581963,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471520/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471520/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244341"
    },
    "phid": "PHID-DIFF-s5mvqmow7v64gvdatt36",
    "review_task_id": "YRV4x0ZlSwC1THKvX4AARw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fb5def4d88d5251f9ea565e9780df7aa77ed5468",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038534/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T16:17:04.711967Z"
}