List and retrieve diffs with detailed revision information

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

{
    "id": 1087158,
    "revision": {
        "id": 496289,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1d19398e0897ce38db9feda747972a6038fba41b",
        "head_changeset": "cd48b16e4a952d949837e85c133e87090af3f348",
        "phabricator_id": 257488,
        "phabricator_phid": "PHID-DREV-ypvtslrmoqlgb7hlciq4",
        "title": "Bug 1977576 - Pass JSContext to VideoFrame::PrefEnabled in more places. r?manuel",
        "bugzilla_id": 1977576,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496289/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496289/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257488"
    },
    "phid": "PHID-DIFF-5fvgqpkq34347rsvcewn",
    "review_task_id": "Yg-LtlNHQ5KWu1MMsmOQuA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9fb14009df00bddb55f7b4d3154515db4496f574",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087158/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T14:03:46.869495Z"
}