# Get all codes of conduct

From **GitHub v3 REST API**.

`GET /codes_of_conduct`

Get all codes of conduct

## Responses

### `200`

Response

### `application/json`

- Type: `array`

```json
[
  {
    "html_url": "http://citizencodeofconduct.org/",
    "key": "citizen_code_of_conduct",
    "name": "Citizen Code of Conduct",
    "url": "https://api.github.com/codes_of_conduct/citizen_code_of_conduct"
  },
  {
    "html_url": "https://www.contributor-covenant.org/version/2/0/code_of_conduct/",
    "key": "contributor_covenant",
    "name": "Contributor Covenant",
    "url": "https://api.github.com/codes_of_conduct/contributor_covenant"
  }
]
```

```json
{"items":{"$ref":"#/components/schemas/code-of-conduct"},"type":"array"}
```

### `304`

Not modified

## Request examples

### cURL

```shell
curl --request GET \
  --url {protocol}://{hostname}/api/v3/codes_of_conduct
```
