List and retrieve diffs with detailed revision information

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

{
    "id": 1037662,
    "revision": {
        "id": 473048,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "80c65e8cafbd4c4a21c80da1b6756d5592f1f319",
        "head_changeset": "f2852d96284fc1a2657b655c811719f2933c01cc",
        "phabricator_id": 246181,
        "phabricator_phid": "PHID-DREV-7myrl5mrghz5tjlhev2d",
        "title": "Bug 1961757 - Fix handling of RTL SpannableStringBuilder in URLStringUtils toDisplayUrl Android component. r=tthibaud",
        "bugzilla_id": 1961757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473048/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473048/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246181"
    },
    "phid": "PHID-DIFF-g3c6dqsamjeggqmx7qjh",
    "review_task_id": "PGC_-hS_QEiqpCucZlC3ag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d49561bcbd82ab87897283be49b1a00093e126f2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037662/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T17:47:29.152095Z"
}