List and retrieve diffs with detailed revision information

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

{
    "id": 1067051,
    "revision": {
        "id": 483830,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "87c675137e2970c03d69415067485dd3e038f0bf",
        "head_changeset": "462c8fd30cf9c16d990a0faf1cb4ee2f4f587d4c",
        "phabricator_id": 254627,
        "phabricator_phid": "PHID-DREV-rc5264nyuxfc7bta3wfz",
        "title": "Bug 1973417 - Part 2. Refactor saving the ffmpeg video sample duration to be reusable on the hardware decoding path.",
        "bugzilla_id": 1973417,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483830/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483830/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254627"
    },
    "phid": "PHID-DIFF-mlw7tmsccvhvbchbwvts",
    "review_task_id": "XVP6WgCjTXaRdzXjfcsARw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "462c8fd30cf9c16d990a0faf1cb4ee2f4f587d4c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067051/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T03:31:52.413229Z"
}