pastemyst.paste

Undocumented in source.

Members

Enums

EditType
enum EditType

type of paste edit

Functions

createPaste
Paste createPaste(PasteCreateInfo createInfo, string token)

creates a paste and returns the full paste info

deletePaste
void deletePaste(string id, string token)

deletes a paste

editPaste
Paste editPaste(Paste paste, string token)

edits a paste

getPaste
Nullable!Paste getPaste(string id, string token)

returns a paste if it can find it by its id

Structs

Edit
struct Edit

holds information about a single paste edit

Paste
struct Paste

struct representing a paste.

PasteCreateInfo
struct PasteCreateInfo

struct containing info needed to create a paste

Pasty
struct Pasty

struct for a single pasty. a pasty is a part of a paste and represents a single "file", contains a title, language and code.

PastyCreateInfo
struct PastyCreateInfo

struct containing info needed to create a pasty

Meta