Skip to content

Commit 865a1a3

Browse files
authored
Merge pull request #241 from nasa/apod-outage-notification point#3
added APOD api outage notification point#3
2 parents a66c6b0 + 186801d commit 865a1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/json/apis.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"tags3",
1010
"tags4"
1111
],
12-
"html_template": "<h1 id=\"astronomyPicture\">APOD</h1><p>One of the most popular websites at NASA is the <a href=\"http://apod.nasa.gov/apod/astropix.html\">Astronomy Picture of the Day</a>. In fact, this website is one of the <a href=\"https://analytics.usa.gov\">most popular websites</a> across all federal agencies. It has the popular appeal of a Justin Bieber video. This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. In addition, if the <code class=\"prettyprint\">concept_tags</code> parameter is set to <code class=\"prettyprint\">True</code>, then keywords derived from the image explanation are returned. These keywords could be used as auto-generated hashtags for twitter or instagram feeds; but generally help with discoverability of relevant imagery.</p><p>The full documentation for this API can be found in the <a href=\"https://github.com/nasa/apod-api\">APOD API Github repository</a>.</p><p><strong>Example image:</strong></p><p><img src=\"assets/img/general/apod.jpg\"/></p><h3 id=\"http-request\">HTTP Request</h3><p><code class=\"prettyprint\"> GET https://api.nasa.gov/planetary/apod </code></p><p><b>concept_tags are now disabled in this service. Also, an optional return parameter <i>copyright</i> is returned if the image is not public domain.</b></p><h3 id=\"query-parameters\">Query Parameters</h3><table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The date of the APOD image to retrieve</td> </tr> <tr> <td>start_date</td> <td>YYYY-MM-DD</td> <td>none</td> <td>The start of a date range, when requesting date for a range of dates. Cannot be used with <code class=\"prettyprint\">date</code>.</td> </tr> <tr> <td>end_date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The end of the date range, when used with <code class=\"prettyprint\">start_date</code>.</td> </tr> <tr> <td>count</td> <td>int</td> <td>none</td> <td>If this is specified then <code class=\"prettyprint\">count</code> randomly chosen images will be returned. Cannot be used with <code class=\"prettyprint\">date</code> or <code class=\"prettyprint\">start_date</code> and <code class=\"prettyprint\">end_date</code>.</td> </tr> <!-- <tr> <td><del>concept_tags</del></td><td>bool</td><td>False</td><td>Return an ordered dictionary of concepts from the APOD explanation</td></tr>--><!-- <tr><td>hd</td><td>bool</td><td>False</td><td>Retrieve the URL for the high resolution image</td></tr> --> <tr> <td>thumbs</td> <td>bool</td> <td>False</td> <td>Return the URL of video thumbnail. If an APOD is not a video, this parameter is ignored.</td> </tr> <tr> <td>api_key</td> <td>string</td> <td>DEMO_KEY</td> <td>api.nasa.gov key for expanded usage</td> </tr> </tbody> </table><h3 id=\"example-query\">Example query</h3><p><a href=\"https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY\"> <code class=\"prettyprint\">https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY </code></a></p>",
12+
"html_template": "<h1 id=\"astronomyPicture\">APOD</h1><section class=\"alert-error\"><strong>⚠ Service Outage Notice:</strong> This API is currently experiencing an unscheduled outage. We are working to resolve the issue as quickly as possible. We apologize for any inconvenience.</section><p>One of the most popular websites at NASA is the <a href=\"http://apod.nasa.gov/apod/astropix.html\">Astronomy Picture of the Day</a>. In fact, this website is one of the <a href=\"https://analytics.usa.gov\">most popular websites</a> across all federal agencies. It has the popular appeal of a Justin Bieber video. This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. In addition, if the <code class=\"prettyprint\">concept_tags</code> parameter is set to <code class=\"prettyprint\">True</code>, then keywords derived from the image explanation are returned. These keywords could be used as auto-generated hashtags for twitter or instagram feeds; but generally help with discoverability of relevant imagery.</p><p>The full documentation for this API can be found in the <a href=\"https://github.com/nasa/apod-api\">APOD API Github repository</a>.</p><p><strong>Example image:</strong></p><p><img src=\"assets/img/general/apod.jpg\"/></p><h3 id=\"http-request\">HTTP Request</h3><p><code class=\"prettyprint\"> GET https://api.nasa.gov/planetary/apod </code></p><p><b>concept_tags are now disabled in this service. Also, an optional return parameter <i>copyright</i> is returned if the image is not public domain.</b></p><h3 id=\"query-parameters\">Query Parameters</h3><table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The date of the APOD image to retrieve</td> </tr> <tr> <td>start_date</td> <td>YYYY-MM-DD</td> <td>none</td> <td>The start of a date range, when requesting date for a range of dates. Cannot be used with <code class=\"prettyprint\">date</code>.</td> </tr> <tr> <td>end_date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The end of the date range, when used with <code class=\"prettyprint\">start_date</code>.</td> </tr> <tr> <td>count</td> <td>int</td> <td>none</td> <td>If this is specified then <code class=\"prettyprint\">count</code> randomly chosen images will be returned. Cannot be used with <code class=\"prettyprint\">date</code> or <code class=\"prettyprint\">start_date</code> and <code class=\"prettyprint\">end_date</code>.</td> </tr> <!-- <tr> <td><del>concept_tags</del></td><td>bool</td><td>False</td><td>Return an ordered dictionary of concepts from the APOD explanation</td></tr>--><!-- <tr><td>hd</td><td>bool</td><td>False</td><td>Retrieve the URL for the high resolution image</td></tr> --> <tr> <td>thumbs</td> <td>bool</td> <td>False</td> <td>Return the URL of video thumbnail. If an APOD is not a video, this parameter is ignored.</td> </tr> <tr> <td>api_key</td> <td>string</td> <td>DEMO_KEY</td> <td>api.nasa.gov key for expanded usage</td> </tr> </tbody> </table><h3 id=\"example-query\">Example query</h3><p><a href=\"https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY\"> <code class=\"prettyprint\">https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY </code></a></p>",
1313
"configurations": {
1414
"overview": {
1515
"poc_name": "",

0 commit comments

Comments
 (0)