List and retrieve diffs with detailed revision information

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

{
    "id": 1051244,
    "revision": {
        "id": 477143,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "0c3cbf876dc54580aa76a507c546977e75192ae0",
        "phabricator_id": 252204,
        "phabricator_phid": "PHID-DREV-37sfw6y4dij577yu65u6",
        "title": "WIP: Bug 1967448 - Lock PBM during onPause instead of onStop",
        "bugzilla_id": 1967448,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477143/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477143/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252204"
    },
    "phid": "PHID-DIFF-ldbmn36fwhic7p6g4sy5",
    "review_task_id": "MyV9YwzxRgSQVIV6URPElQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c3cbf876dc54580aa76a507c546977e75192ae0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051244/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T18:27:48.671775Z"
}