Get all codes of conduct
GET
/codes_of_conduct
Returns array of all GitHub’s codes of conduct.
Responses
Section titled “ Responses ”Response
Media type application/json
Array<object>
Code Of Conduct Code Of Conduct
object
key
required
string
name
required
string
url
required
string format: uri
body
string
html_url
required
string format: uri
Examples
Example default
[ { "key": "citizen_code_of_conduct", "name": "Citizen Code of Conduct", "url": "https://api.github.com/codes_of_conduct/citizen_code_of_conduct", "html_url": "http://citizencodeofconduct.org/" }, { "key": "contributor_covenant", "name": "Contributor Covenant", "url": "https://api.github.com/codes_of_conduct/contributor_covenant", "html_url": "https://www.contributor-covenant.org/version/2/0/code_of_conduct/" }]Not modified