Gists

github4s.algebras.Gists
trait Gists[F[_]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def editGist(gistId: String, description: String, files: Map[String, Option[EditGistFile]], headers: Map[String, String]): F[GHResponse[Gist]]

Edit a gist

Edit a gist

Attributes

files

map describing the filenames of the Gist and its contents and/or new filenames

gistId

of the gist

headers

optional user headers to include in the request

def getGist(gistId: String, sha: Option[String], headers: Map[String, String]): F[GHResponse[Gist]]

Get a single gist or a specific revision of a gist

Get a single gist or a specific revision of a gist

Attributes

gistId

of the gist

headers

optional user headers to include in the request

sha

optional sha of a revision

def newGist(description: String, public: Boolean, files: Map[String, GistFile], headers: Map[String, String]): F[GHResponse[Gist]]

Create a new gist

Create a new gist

Attributes

description

of the gist

files

map describing the filenames of the Gist and its contents

headers

optional user headers to include in the request

public

boolean value that describes if the Gist should be public or not