Enums§
- Licenses
Slash GetAll Commonly Used Error - struct for typed errors of method
licenses_slash_get_all_commonly_used
- Licenses
Slash GetError - struct for typed errors of method
licenses_slash_get
- Licenses
Slash GetFor Repo Error - struct for typed errors of method
licenses_slash_get_for_repo
Functions§
- licenses_
slash_ get - Gets information about a specific license. For more information, see "Licensing a repository ."
- licenses_
slash_ get_ all_ commonly_ used - Lists the most commonly used licenses on GitHub. For more information, see "Licensing a repository ."
- licenses_
slash_ get_ for_ repo - This method returns the contents of the repository’s license file, if one is detected. This endpoint supports the following custom media types. For more information, see "Media types." -
application/vnd.github.raw+json
: Returns the raw contents of the license. -application/vnd.github.html+json
: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub’s open-source Markup library.