diff --git a/app/classes/ReleaseInsights/Request.php b/app/classes/ReleaseInsights/Request.php index b924225..79d524f 100644 --- a/app/classes/ReleaseInsights/Request.php +++ b/app/classes/ReleaseInsights/Request.php @@ -65,6 +65,7 @@ public function getController(): string '/about/' => 'about', '/nightly/' => 'nightly', '/release/' => 'release', + '/api/external/' => 'api/external', '/api/nightly/' => 'api/nightly', '/api/release/schedule/' => 'api/release_schedule', '/api/esr/releases/' => 'api/esr_releases', diff --git a/app/controllers/api/external.php b/app/controllers/api/external.php new file mode 100644 index 0000000..bff2801 --- /dev/null +++ b/app/controllers/api/external.php @@ -0,0 +1,7 @@ +api/nightly/?date={$yesterday} Provides the list of nightly build IDs for a day and the changeset they were built from (data from buildhub) + + api/external/ + Gives the list of external APIs this site depends on to build data. + api/nightly/crashes/?buildid=20190927094817 Gives the crashes for a buildID (data from Socorro) diff --git a/app/models/api/external.php b/app/models/api/external.php new file mode 100644 index 0000000..1977646 --- /dev/null +++ b/app/models/api/external.php @@ -0,0 +1,5 @@ +