Bugzilla:BzAPI:Objects: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
====Notes====
====Notes====


* Fields marked Read Only may be returned by GET calls, but will be ignored in POST or PUT.
* Fields marked Read Only are set automatically by Bugzilla. They may be returned by GET calls, but will be ignored in POST or PUT.
* Fields marked No Mod can be set when the object is created, but are Read Only thereafter.
* Fields marked Optional may be missing entirely. Other fields are guaranteed to be present but may be blank. XXX_make_it_so.
* Fields marked Optional may be missing entirely. Other fields are guaranteed to be present but may be blank. XXX_make_it_so.
* For fields of type Boolean, "0", 0 and "" are false; everything else is true.  
* For fields of type Boolean, "0", 0 and "" are false; everything else is true.  
Line 28: Line 29:
|-
|-
|classification||String||Name of classification (categorization above product)||
|classification||String||Name of classification (categorization above product)||
|-
|comment||Array of Comment||Things people have said about the bug||long_desc
|-
|-
|component||String||Bug's component (sub-product)||
|component||String||Bug's component (sub-product)||
Line 38: Line 41:
|-
|-
|id||Integer, Read Only||Unique reference for bug||bug_id
|id||Integer, Read Only||Unique reference for bug||bug_id
|-
|keyword||Array of String||Tags (from a limited set) describing the bug||
|-
|-
|last_change_time||Timestamp String, Read Only||Last change||delta_ts, changeddate
|last_change_time||Timestamp String, Read Only||Last change||delta_ts, changeddate
Line 75: Line 80:


XXX flags, groups
XXX flags, groups
==Comment==
{| border="1"
!Name!!Type!!Description!!Other Names
|-
|author||User, Read Only||User who wrote the comment||
|-
|bug_id||Integer, Read Only||ID if bug to which this is an attachment
|-
|bug_ref||String, Read Only||URL of associated bug in API||
|-
|id||Integer, Read Only||Unique identifier of comment in Bugzilla||
|-
|is_private||Boolean||Whether comment is private||
|-
|text||String, No Mod||Text of comment (plain text)||
|-
|time||Timestamp String, Read Only||Time comment was added||
|}


==User==
==User==
Line 101: Line 126:
|id||Integer, Read Only||Unique reference for attachment||attach_id
|id||Integer, Read Only||Unique reference for attachment||attach_id
|-
|-
|is_obsolete||Boolean||Whether file is marked
|is_obsolete||Boolean||Whether file is marked obsolete||isobsolete
|-
|-
|is_patch||Boolean||Whether bug is a patch||ispatch
|is_patch||Boolean||Whether bug is a patch||ispatch
|-
|-
|is_private||Boolean||Whether bug is private||isprivate
|is_private||Boolean||Whether bug is private||isprivate
obsolete||isobsolete
|-
|-
|ref||String, Read Only||URL of attachment in API||
|ref||String, Read Only||URL of attachment in API||
Line 116: Line 140:
|when||Timestamp String, Read Only||When attachment was submitted||
|when||Timestamp String, Read Only||When attachment was submitted||
|}
|}
data (No Mod)
Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits