Bugzilla:REST API: Difference between revisions

Line 86: Line 86:
  >>> r = requests.get('https://bugzilla.mozilla.org/rest/bug', params={'id': '1214433', 'token': 'the-api-key-from-the-bugzilla-userprefs-page'})
  >>> r = requests.get('https://bugzilla.mozilla.org/rest/bug', params={'id': '1214433', 'token': 'the-api-key-from-the-bugzilla-userprefs-page'})
  >>> print res.json()['bugs'][0]['id']
  >>> print res.json()['bugs'][0]['id']
1214433


[[category:Bugzilla]]
[[category:Bugzilla]]
Confirmed users
1,158

edits