---
title: "Changes to Aggregate search across every code property"
method: GET
path: "/countries/v5/code"
---

# Changes to Aggregate search across every code property

`GET /countries/v5/code`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 3 revisions.

- **2026-11-12** `c3d3a3e5f440`: 12 info
- **2026-08-01** `87a86bdd79f6`: 2 breaking, 5 warning

## Changes

- **2026-11-12** `c3d3a3e5f440`: 12 info
  - the response property `errors/items/code` became required for the status `400`
  - the response property `errors/items/code` became required for the status `401`
  - the response property `errors/items/code` became required for the status `403`
  - the response property `errors/items/code` became required for the status `404`
  - the response property `errors/items/code` became required for the status `405`
  - the response property `errors/items/code` became required for the status `410`
  - the `errors/items/code` response's property pattern `^[a-z_]+\.[a-z0-9_]+$` was added for the status `400`
  - the `errors/items/code` response's property pattern `^[a-z_]+\.[a-z0-9_]+$` was added for the status `401`
  - the `errors/items/code` response's property pattern `^[a-z_]+\.[a-z0-9_]+$` was added for the status `403`
  - the `errors/items/code` response's property pattern `^[a-z_]+\.[a-z0-9_]+$` was added for the status `404`
  - the `errors/items/code` response's property pattern `^[a-z_]+\.[a-z0-9_]+$` was added for the status `405`
  - the `errors/items/code` response's property pattern `^[a-z_]+\.[a-z0-9_]+$` was added for the status `410`
- **2026-08-01** `87a86bdd79f6`: 2 breaking, 5 warning
  - added `#/components/schemas/Leader, #/components/schemas/LeadersNotice` to the `data/objects/items/leaders/items/` response property `oneOf` list for the response status `200`
  - the `data/objects/items/leaders/items/` response's property type changed from `object` to no type for status `200`
  - removed the optional property `data/objects/items/leaders/items/assets` from the response with the `200` status
  - removed the optional property `data/objects/items/leaders/items/attributes` from the response with the `200` status
  - removed the optional property `data/objects/items/leaders/items/links` from the response with the `200` status
  - removed the optional property `data/objects/items/leaders/items/name` from the response with the `200` status
  - removed the optional property `data/objects/items/leaders/items/title` from the response with the `200` status

---

[Operation](https://skmtc.dev/restcountries/apis/rest-countries/docs/countries/v5/code/get.md) - [API](https://skmtc.dev/restcountries/apis/rest-countries.md) - [Page](https://skmtc.dev/restcountries/apis/rest-countries/changes/countries/v5/code/get)
