List and retrieve diffs with detailed revision information

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

{
    "id": 1039160,
    "revision": {
        "id": 475615,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7ea64fea64c5c494f7c691f9028a014785045254",
        "head_changeset": "282306cf102ce24ba29171b0f50a52dfd5f9ddc1",
        "phabricator_id": 249997,
        "phabricator_phid": "PHID-DREV-prcjp5ge3jzq2werjahk",
        "title": "Bug 1820252 - Assert attributes in Full-Page tests r=#translations-reviewers!",
        "bugzilla_id": 1820252,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475615/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475615/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249997"
    },
    "phid": "PHID-DIFF-ukg4btotw3akpvpjdh3r",
    "review_task_id": "K0BxNtI8Sx2uNWYsOhRVlA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "06520a49e171076fa35e3c57eda6c2f51970f94d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039160/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T22:34:10.079047Z"
}