Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925
edits
No edit summary |
|||
| Line 283: | Line 283: | ||
'''Arguments''' | '''Arguments''' | ||
* | * The flags=0 parameter removes flag-related information from the config; because flags can be enabled or disabled per-component, there is a lot of flag-related info and so this cuts down the size significantly. However, you will not be able to add new flags to bugs or attachments without this info. | ||
* The cached_ok=1 parameter allows BzAPI to return cached data. BzAPI caches the output every time someone calls /configuration (or the noflags variant) and will pass the data back to you without contacting Bugzilla if you say that it's OK to send cached data. If the data was returned from the cache (which is not guaranteed), the JSON hash will have a "last_updated" value which is a unix time_t defining when the data was refreshed. It's your responsibility to see if that's recent enough and, if not, call the call again without "cached_ok=1". | |||
'''Response''' | '''Response''' | ||
[[Bugzilla:REST_API:Objects:Configuration|Configuration]] | |||
'''Notes''' | '''Notes''' | ||
* Example: [https://api-dev.bugzilla.mozilla.org/latest/configuration b.m.o. configuration]. | * Example: [https://api-dev.bugzilla.mozilla.org/latest/configuration b.m.o. configuration]. | ||