List and retrieve diffs with detailed revision information

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

{
    "id": 1049125,
    "revision": {
        "id": 476744,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "42f6c1ae97301de6d50fe01b02883c80d3fbe785",
        "head_changeset": "07411f8555d196c07378c930384c295364fd153b",
        "phabricator_id": 251690,
        "phabricator_phid": "PHID-DREV-kq6mzh34nf4qdg6n424w",
        "title": "Bug 1969155 - part 2 - Also send the country determining regional search suggestions in the fx-suggest ping r=#android-reviewers",
        "bugzilla_id": 1969155,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476744/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476744/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251690"
    },
    "phid": "PHID-DIFF-4a6wnj66jxjxhd23kcrd",
    "review_task_id": "dgAp828RQwegosqKlvbiuw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "07411f8555d196c07378c930384c295364fd153b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049125/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T11:28:45.933538Z"
}