List and retrieve diffs with detailed revision information

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

{
    "id": 1039338,
    "revision": {
        "id": 475804,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5188568592521c519c38ea4ed68bd547606dea47",
        "head_changeset": "70c8bc3ca001f56dbc4ee11eadc7934054286490",
        "phabricator_id": 250370,
        "phabricator_phid": "PHID-DREV-kiwq7tq26v5vfqwng7jb",
        "title": "Bug 1967626: Introduce yelpServiceResultDistinction Nimbus variable to enable service type title",
        "bugzilla_id": 1967626,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475804/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475804/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250370"
    },
    "phid": "PHID-DIFF-teyq4fdiet2o477nd672",
    "review_task_id": "bKMT1DerTcOhLeOtEQAKeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "70c8bc3ca001f56dbc4ee11eadc7934054286490",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039338/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T00:39:00.561014Z"
}