List and retrieve diffs with detailed revision information

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

{
    "id": 1078763,
    "revision": {
        "id": 491466,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8a6610a07f82b172d1425890fa639205baa9fa17",
        "head_changeset": "0927d5c1468a115254c1dc10af1843f7307eef68",
        "phabricator_id": 256284,
        "phabricator_phid": "PHID-DREV-exmpbqb46eddzp66osll",
        "title": "Bug 1975980 - clear observed prefs when uninitializing SelectableProfileService to avoid uncaught exception when some observed prefs are automatically reset at the end of tests, r=#profiles-reviewers.",
        "bugzilla_id": 1975980,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491466/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491466/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256284"
    },
    "phid": "PHID-DIFF-ched5j7jf4yqbzmygqnn",
    "review_task_id": "A1y8pkMHTa-mXyTeKLNcmg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0927d5c1468a115254c1dc10af1843f7307eef68",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078763/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T14:20:01.905868Z"
}