List and retrieve diffs with detailed revision information

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

{
    "id": 1073611,
    "revision": {
        "id": 486020,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "689311414b04327220dc5020c75449043fee4dd1",
        "head_changeset": "8a45f8ae295e2db77c15c24f5cc7e42cbf751b08",
        "phabricator_id": 255179,
        "phabricator_phid": "PHID-DREV-mogzrdljiw67fiqyjvjo",
        "title": "Bug 1974284 - chore: run `mots clean` on current contents of `mots.yaml` r=zeid",
        "bugzilla_id": 1974284,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486020/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486020/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255179"
    },
    "phid": "PHID-DIFF-nc7ias677nrmkwvezi6z",
    "review_task_id": "N_DWWjHITi-SkE0j1HwpeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "65ed1ab8121c8e54281c56c250b82be55001cd8c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073611/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T18:30:12.034857Z"
}