provider codes-of-conduct GET /codes_of_conduct/{key}
@utdk/github /codes_of_conduct/{key}
Get a code of conduct
Returns information about the specified GitHub code of conduct.
key path required
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

codesOfConduct.getConductCode
GET/codes_of_conduct/{key}
Returns information about the specified GitHub code of conduct.

Parameters

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.codesOfConduct.getConductCode()