Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllAttachments ¶
https://bugzilla.readthedocs.io/en/latest/api/core/v1/attachment.html#get-attachment
func (*AllAttachments) Resource ¶
func (a *AllAttachments) Resource() string
type Create ¶
type Create struct { BugId int `json:"-"` Ids []int `json:"ids"` Data []byte `json:"data"` FileName string `json:"file_name"` Summary string `json:"summary"` ContentType string `json:"content_type"` Comment string `json:"comment,omitempty"` IsPatch bool `json:"is_patch,omitempty"` IsPrivate bool `json:"is_private,omitempty"` IsMarkdown bool `json:"is_markdown,omitempty"` Flags []Flag `json:"flags,omitempty"` api.Post api.Created }
https://bugzilla.readthedocs.io/en/latest/api/core/v1/attachment.html#create-attachment
type CreateResponse ¶
type CreateResponse struct {
Ids []int `json:"ids"`
}
type GetResponse ¶
type GetResponse struct { Data string `json:"data"` Size int `json:"size"` CreationTime string `json:"creation_time"` LastChangeTime string `json:"last_change_time"` Id int `json:"id"` BugId int `json:"bug_id"` FileName string `json:"file_name"` Summary string `json:"summary"` ContentType string `json:"content_type"` IsPrivate bool `json:"is_private"` IsObsolete bool `json:"is_obsolete"` IsPatch bool `json:"is_patch"` Creator string `json:"creator"` Flags []Flag `json:"flags"` }
Click to show internal directories.
Click to hide internal directories.