dev.knotless.createGist
Writes a dev.knotless.repo record whose kind is gist, named by a new TID, in the account logged in to this appview's web pages, and commits the files given to its main branch in one commit, as `knotless gist create` does. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record and push themselves.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Commit rev | 3n2mx2cots5by |
| Indexed |
Procedure
procedure · POSTInput
application/jsondescription
stringWhat the gist is, shown above its files.
maxLength: 3000maxGraphemes: 300
Output
application/jsonschema
refErrors
InvalidRequest
No files, a file with no name or a name with a /, or two files of one name.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
#file
objectA text file of a gist.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.editGist
procedureChanges a gist of the account logged in to this appview's pages.
-
dev.knotless.createRepo
procedureCreates a repository in the account logged in to this appview's pages.
-
dev.knotless.createComment
procedureComments on a pull, an issue or a gist, or on lines of a pull's diff, or answers a comment, or reviews a pull, as the account logged in to this appview's pages.
-
dev.knotless.createIssue
procedureOpens an issue on a repository, as the account logged in to this appview's pages.
-
dev.knotless.forkRepo
procedureForks a repository into the account logged in to this appview's pages.