List and retrieve diffs with detailed revision information

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

{
    "id": 1112471,
    "revision": {
        "id": 517921,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef4c9d7ea848d5bf769ec81eb1a1c98291e7df53",
        "head_changeset": "946d1ab9f77cf4835e0d1429f3142d331636a973",
        "phabricator_id": 262093,
        "phabricator_phid": "PHID-DREV-darkldmxvxxrwrdcnizc",
        "title": "Bug 1286945 - Move GetResizeMode to MediaConstraintsHelper and use Nothing() to denote when it's disabled by pref. r?jib",
        "bugzilla_id": 1286945,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517921/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517921/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262093"
    },
    "phid": "PHID-DIFF-qvjuenir3houohegjz4p",
    "review_task_id": "ADcUqfJjQxan3Q4OnmnL1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "558ea7c39fb10133a129a2885b20f838b15e5d3f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112471/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T00:55:23.217971Z"
}