Skip to content

Commit df3987a

Browse files
author
Brazda, Tessa M. (JSC-IO111)[EAST2]
committed
Removed APOD api outage banner point#3
1 parent 2576603 commit df3987a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

assets/json/apis.json

Lines changed: 13 additions & 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><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>",
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>",
1313
"configurations": {
1414
"overview": {
1515
"poc_name": "",
@@ -242,6 +242,18 @@
242242
"summary": "Mars Weather Service API",
243243
"html_template": "<h1 id=\"insight_weather\">InSight: Mars Weather Service API</h1><p>(Last Updated: 3/30/2021)</p><p><b>THIS SERVICE HAS SIGNIFICANT MISSING DATA DUE TO INSIGHT NEEDING TO MANAGE POWER USE</b>:Please check out the <a href='https://mars.nasa.gov/insight/weather/'> seasonal weather report plot</a> for an illustration of missing data and read <a href='https://mars.nasa.gov/news/8858/insight-is-meeting-the-challenge-of-winter-on-dusty-mars/?site=insight'>this article</a> about how dust and distance from the sun affect Insight's power situation. </p><p>NASA’s InSight Mars lander takes continuous weather measurements (temperature, wind, pressure) on the surface of Mars at Elysium Planitia, a flat, smooth plain near Mars’ equator. Please note that there are sometimes problems with the sensors on Mars that result in missing data! If you see a long gap, a search result may bring up more information on whether it is a long-lasting problem. Summaries of these data are available at <a href=\"https://mars.nasa.gov/insight/weather/\">https://mars.nasa.gov/insight/weather/</a>. </p><p>This API provides per-Sol summary data for each of the last seven available Sols (Martian Days). As more data from a particular Sol are downlinked from the spacecraft (sometimes several days later), these values are recalculated, and consequently may change as more data are received on Earth. Additionally, please note that wind and other sensor data may not exist for certain date ranges. You can check out https://mars.nasa.gov/insight/weather/ and scroll down to the 'seasonal weather report' you'll see the gaps where no data exists for some sensors.</p><p><strong>Example image:</strong></p><p><img src=\"assets/img/general/insight_photo.png\" /></p><p>This API is maintained and provided by NASA Jet Propulsion Laboratory and Cornell University. If you find bugs in this API, please use the contact form found at <a href=\"https://mars.nasa.gov/feedback/\">https://mars.nasa.gov/feedback/</a>. The rate limit for this API is every hour no more than 2000 hits for each individual IP.</p><h3>Defining the Data</h3><p>The summary data are provided as an object in a JSON stream, a formal definition of JSON is <a href=\"https://tools.ietf.org/html/rfc7159\">RFC 7159</a>. Appendix A contains an abridged, typical JSON stream for this API as an example.</p><h3 id=\"http-request\">HTTP Request</h3><p><code class=\"prettyprint\">GET https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0</code></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>version</td><td>float</td><td><em>1.0</em></td><td>The version of this API</td></tr><tr><td>feedtype</td><td>string</td><td>json</td><td>The format of what is returned. Currently the default is JSON and only JSON works.</td></tr><tr><td>api_key</td><td>string</td><td>DEMO_KEY</td><td>api.data.gov key for expanded usage</td></tr></tbody></table><h3 id=\"example-query\">Example query</h3><p><a href=\"https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0\"><code class=\"prettyprint\">https://api.nasa.gov/insight_weather/?api_key=DEMO_KEY&feedtype=json&ver=1.0</code></a></p><h5><a href=\"./assets/insight/InSight%20Weather%20API%20Documentation.pdf\">This document</a> describes the API in more detail.</h5><h5><a href=\"./assets/insight/insight_mars_wind_rose.html\">This self-contained HTML document</a> is an example that draws a wind rose using InSight Wind Direction frequency distribution data, which data are part of the JSON object returned by this API.</h5><p>Here is something like what that wind rose looks like:<br><img src=\"./assets/insight/insight_mars_wind_rose.png\" style=\"max-width: 50%;\" /></p>"
244244
},
245+
{
246+
"id": "1",
247+
"name": "Mars Rover Photos",
248+
"summary": "Image data gathered by NASA's Curiosity, Opportunity, and Spirit rovers on Mars",
249+
"tags": [
250+
"tags1",
251+
"tags2",
252+
"tags3",
253+
"tags4"
254+
],
255+
"html_template": "<h1 id=\"MarsPhotos\">Mars Rover Photos</h1> <p> This API is designed to collect image data gathered by NASA's Curiosity, Opportunity, and Spirit rovers on Mars and make it more easily available to other developers, educators, and citizen scientists. This API is maintained by <a href=\"https://github.com/chrisccerami/mars-photo-api\">Chris Cerami</a>. </p><p> Each rover has its own set of photos stored in the database, which can be queried separately. There are several possible queries that can be made against the API. Photos are organized by the sol (Martian rotation or day) on which they were taken, counting up from the rover's landing date. A photo taken on Curiosity's 1000th Martian sol exploring Mars, for example, will have a sol attribute of 1000. If instead you prefer to search by the Earth date on which a photo was taken, you can do that, too. </p><p> Along with querying by date, results can also be filtered by the camera with which it was taken and responses will be limited to 25 photos per call. Queries that should return more than 25 photos will be split onto several pages, which can be accessed by adding a 'page' param to the query. </p><p> Each camera has a unique function and perspective, and they are named as follows: </p><h3 id=\"query-parameters\">Rover Cameras</h3> <table> <thead> <tr> <th>Abbreviation</th> <th>Camera</th> <th class=\"markerBox\">Curiosity</th> <th class=\"markerBox\">Opportunity</th> <th class=\"markerBox\">Spirit</th> </tr></thead> <tbody> <tr> <td>FHAZ</td><td>Front Hazard Avoidance Camera</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td></tr><tr> <td>RHAZ</td><td>Rear Hazard Avoidance Camera</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td></tr><tr> <td>MAST</td><td>Mast Camera</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\"></td><td class=\"markerBox\"></td></tr><tr> <td>CHEMCAM</td><td>Chemistry and Camera Complex</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\"></td><td class=\"markerBox\"></td></tr><tr> <td>MAHLI</td><td>Mars Hand Lens Imager</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\"></td><td class=\"markerBox\"></td></tr><tr> <td>MARDI</td><td>Mars Descent Imager</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\"></td><td class=\"markerBox\"></td></tr><tr> <td>NAVCAM</td><td>Navigation Camera</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td></tr><tr> <td>PANCAM</td><td>Panoramic Camera</td><td class=\"markerBox\"></td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td></tr><tr> <td>MINITES</td><td>Miniature Thermal Emission Spectrometer (Mini-TES)</td><td class=\"markerBox\"></td><td class=\"markerBox\">&#10004;</td><td class=\"markerBox\">&#10004;</td></tr></tbody> </table> <h3 id=\"example-query\">Querying by Martian sol</h3> <table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr></thead> <tbody> <tr> <td>sol</td><td>int</td><td>none</td><td>sol (ranges from 0 to max found in endpoint)</td></tr><tr> <td>camera</td><td>string</td><td>all</td><td>see table above for abbreviations</td></tr><tr> <td>page</td><td>int</td><td>1</td><td>25 items per page returned</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 queries</h3> <p> <a href=\"https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1000&amp;api_key=DEMO_KEY\"> <code class=\"prettyprint\"> https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1000&amp;api_key=DEMO_KEY </code> </a> </p><p> <a href=\"https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1000&camera=fhaz&api_key=DEMO_KEY\"> <code class=\"prettyprint\"> https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1000&camera=fhaz&api_key=DEMO_KEY </code> </a> </p><p> <a href=\"https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1000&page=2&api_key=DEMO_KEY\"> <code class=\"prettyprint\"> https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?sol=1000&page=2&api_key=DEMO_KEY </code> </a> </p><h3 id=\"example-query\">Querying by Earth date</h3> <table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr></thead> <tbody> <tr> <td>earth_date</td><td>YYYY-MM-DD</td><td>none</td><td>corresponding date on earth for the given sol</td></tr><tr> <td>camera</td><td>string</td><td>all</td><td>see table above for abbreviations</td></tr><tr> <td>page</td><td>int</td><td>1</td><td>25 items per page returned</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/mars-photos/api/v1/rovers/curiosity/photos?earth_date=2015-6-3&amp;api_key=DEMO_KEY\"> <code class=\"prettyprint\"> https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?earth_date=2015-6-3&amp;api_key=DEMO_KEY </code> </a> </p><h3>Mission Manifest</h3> <p> A mission manifest is available for each Rover at /manifests/rover_name. This manifest will list details of the Rover's mission to help narrow down photo queries to the API. The information in the manifest includes: </p><table> <thead> <tr> <th>Key</th> <th>Description</th> </tr></thead> <tbody> <tr> <td>name</td><td>Name of the Rover</td></tr><tr> <td>landing_date</td><td>The Rover's landing date on Mars</td></tr><tr> <td>launch_date</td><td>The Rover's launch date from Earth</td></tr><tr> <td>status</td><td>The Rover's mission status</td></tr><tr> <td>max_sol</td><td>The most recent Martian sol from which photos exist</td></tr><tr> <td>max_date</td><td>The most recent Earth date from which photos exist</td></tr><tr> <td>total_photos</td><td>Number of photos taken by that Rover</td></tr><tr> <td></td><td></td></tr></tbody> </table> <p>It also includes a list of objects under the \"photos\" key which are grouped by sol, and each of which contains:</p><table> <thead> <tr> <th>Key</th> <th>Description</th> </tr></thead> <tbody> <tr> <td>sol</td><td>Martian sol of the Rover's mission</td></tr><tr> <td>total_photos</td><td>Number of photos taken by that Rover on that sol</td></tr><tr> <td>cameras</td><td>Cameras for which there are photos by that Rover on that sol</td></tr></tbody> </table> <p>An example entry from a sol at /manifests/Curiosity might look like:</p><p><code>{sol: 0, total_photos: 3702, cameras: [ \"CHEMCAM\", \"FHAZ\", \"MARDI\", \"RHAZ\"]}</code> </p><p>This would tell you that this rover, on sol 0, took 3702 photos, and those are from among the CHEMCAM, FHAZ, MARDI, and RHAZ cameras.</p>"
256+
},
245257
{
246258
"id": "1",
247259
"name": "NASA Image and Video Library",

0 commit comments

Comments
 (0)