{ "opencollection": "1.0.0", "info": { "name": "GitHub Code Conduct API", "version": "1.1.4" }, "items": [ { "info": { "name": "Conduct", "type": "folder" }, "items": [ { "info": { "name": "GitHub Get All Codes of Conduct", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/codes_of_conduct" }, "docs": "The GitHub Code of Conduct API endpoint `/codes_of_conduct` with the GET method retrieves all available codes of conduct that can be applied to repositories on GitHub. This operation returns a list of codes of conduct templates that organizations and repository owners can use to establish community guidelines and behavioral expectations for their projects. Each code of conduct in the response typically includes metadata such as a unique key identifier, name, and URL where the full text can be ac" }, { "info": { "name": "GitHub Get Code of Conduct", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/codes_of_conduct/:key", "params": [ { "name": "key", "value": "example_value", "type": "path" } ] }, "docs": "The GitHub Code of Conduct API endpoint `/codes_of_conduct/{key}` using the GET method retrieves detailed information about a specific code of conduct available on GitHub. By providing a unique key identifier in the path parameter, this operation returns comprehensive details about the selected code of conduct, including its name, full text content, URL, and other relevant metadata. This endpoint is useful for developers who want to programmatically access and display code of conduct information" } ] } ], "bundled": true }