The Codes of conduct API lets you retrieve information about a repository's code of conduct.
fpt
ghes
ghae
ghec
*
*
*
*
API
3
/rest/reference/codes-of-conduct
About the Codes of conduct API
You can use the Codes of Conduct API to retrieve information about a repository's code of conduct. To get a code of conduct for a repository, use the "Get a repository" endpoint.