Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925
edits
(→Flag) |
No edit summary |
||
Line 3: | Line 3: | ||
====Notes==== | ====Notes==== | ||
* A general API principle is that if you don't submit a field or object to a change function, it's unchanged. This means you can send simple changes without having to send the entire bug. | |||
* Fields marked Read Only are set automatically by Bugzilla, based on other information or fields. They may be returned by GET calls, but will be ignored in POST or PUT. (So you don't have to remove them before sending an object back.) | * Fields marked Read Only are set automatically by Bugzilla, based on other information or fields. They may be returned by GET calls, but will be ignored in POST or PUT. (So you don't have to remove them before sending an object back.) | ||
* Fields marked No Mod can be set when the object is created, but are Read Only thereafter. | * Fields marked No Mod can be set when the object is created, but are Read Only thereafter. | ||
Line 133: | Line 134: | ||
|setter||User, Read Only||User who set the flag|| | |setter||User, Read Only||User who set the flag|| | ||
|- | |- | ||
|status||String||Flag value - '?', '+', '-' or ''|| | |status||String||Flag value - '?', '+', '-' or 'X'|| | ||
|- | |- | ||
|type_id||Integer||Unique numeric identifier for flag type|| | |type_id||Integer||Unique numeric identifier for flag type|| | ||
|} | |} | ||
====Notes==== | |||
* To remove a flag, pass it to an update function with a status of "X". | |||
==ChangeSet== | ==ChangeSet== |