List and retrieve diffs with detailed revision information

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

{
    "id": 1105522,
    "revision": {
        "id": 512290,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "dcaca38bb74561cc40a251a090c637d9609fa14d",
        "head_changeset": "ff4553859c624e0dc0e2fc50f44e855405590648",
        "phabricator_id": 260381,
        "phabricator_phid": "PHID-DREV-l2b25a7zx5qnstfdq37d",
        "title": "Bug 1979341: Work around the moz-button-group limitation, and always put the Learn More Link on the outside. r?Gijs",
        "bugzilla_id": 1979341,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512290/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512290/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260381"
    },
    "phid": "PHID-DIFF-7idqdaj76svaovgzr2cn",
    "review_task_id": "amfKPQ10SNy3OB71JTDDrg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff4553859c624e0dc0e2fc50f44e855405590648",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105522/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T17:31:24.784553Z"
}