Confirmed users
1,364
edits
|  (Updated links from staging -> production) |  (defer to live docs for all needing authentication.) | ||
| Line 61: | Line 61: | ||
| = API methods = | = API methods = | ||
| Below  | Below is a summary of the 3 unauthenticated API methods currently usable, together with example urls from the production environment. | ||
| For fuller details, and endpoints requiring authentication, the in process documentation is authoritative: [https://api.pub.build.mozilla.org/docs/usage/mapper/ production] or [https://api-pub-build.allizom.org/docs/usage/mapper/ staging] instances. | |||
| == GET Routes == | == GET Routes == | ||
| Line 80: | Line 80: | ||
| * Example: https://api.pub.build.mozilla.org/mapper/build-mozharness/mapfile/since/29.05.2014%2017:02:09%20CEST | * Example: https://api.pub.build.mozilla.org/mapper/build-mozharness/mapfile/since/29.05.2014%2017:02:09%20CEST | ||
| ==  | === Returns list of projects === | ||
| ''Not yet live, follow progress in {{bug|1174215}}'' | |||
| ===  | * GET:  /projects | ||
| * Example: https://api.pub.build.mozilla.org/mapper/projects | |||
| *  | |||
| * Example: https://api.pub.build.mozilla.org/mapper/ | |||
| = Staging = | = Staging = | ||
| The staging environment is available under https://api-pub-build.allizom.org/mapper | The staging environment is available under https://api-pub-build.allizom.org/mapper | ||