Function github_rest::methods::create_gist
source · pub async fn create_gist<T>(
client: &T,
body: &CreateGistBody
) -> Result<Gist, GithubRestError>where
T: Requester,
Expand description
- tags gists
- post
/gists
- docs https://docs.github.com/rest/reference/gists#create-a-gist
Create a gist Allows you to add a new gist with one or more files.
Note: Don’t name your files “gistfile” with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.