You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, there appears to be no way to update the Public property of an existing Gist. You can of course set this when you create a new gist, but is there no way to update an existing one form the API? I'm likely missing something really obvious?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi folks. I'm using the .net Octokit.
I can't find any way to update a Gist's visibility (i.e. between Public and Private). The relevant classes seem to be:
GistFileUpdate
: Content, NewFilenameGistUpdate
: Description, Files(DICT: string(orig filename), GistFileUpdate)GistClient.Edit
: GistId, GistUpdateHowever, there appears to be no way to update the Public property of an existing Gist. You can of course set this when you create a new gist, but is there no way to update an existing one form the API? I'm likely missing something really obvious?
Beta Was this translation helpful? Give feedback.
All reactions