diff --git a/.gitignore b/.gitignore
index 9a6fa45b1..513e8a388 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,3 +73,4 @@ docroot/status.xml
py_env
py_venv_local_sunpy
vendor
+docroot/playground
diff --git a/docs/src/Makefile b/docs/src/Makefile
index b542bc9c0..34c5b7b13 100644
--- a/docs/src/Makefile
+++ b/docs/src/Makefile
@@ -10,6 +10,7 @@ BUILDDIR = build
# Since sphinx forces an "html" folder with the documentation, we're going to
# move all that content into the docs/v2 folder
TARGET_DIR = ../../docroot/docs/v2
+PLAYGROUND_TARGET_DIR = $(TARGET_DIR)/playground
# Put it first so that "make" without argument is like "make help".
help:
@@ -20,6 +21,9 @@ help:
docs: html
mkdir -p ${TARGET_DIR}
cp -r ${BUILDDIR}/html/* ${TARGET_DIR}
+ cp openapi.yaml ${TARGET_DIR}
+ mkdir -p ${PLAYGROUND_TARGET_DIR}
+ cp -r playground/* ${PLAYGROUND_TARGET_DIR}
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
diff --git a/docs/src/openapi.yaml b/docs/src/openapi.yaml
new file mode 100644
index 000000000..e887c8be1
--- /dev/null
+++ b/docs/src/openapi.yaml
@@ -0,0 +1,2408 @@
+openapi: 3.0.3
+info:
+ title: Helioviewer API
+ description: >
+ The Helioviewer API provides access to solar image data, JPEG2000 images,
+ movies, screenshots, and solar feature/event information from various
+ space observatories.
+ version: "2"
+ contact:
+ name: Helioviewer Project
+ url: https://helioviewer.org
+ email: webmaster@helioviewer.org
+servers:
+ - url: https://api.helioviewer.org/v2
+ description: Production server
+ - url: https://api.beta.helioviewer.org/v2
+ description: Beta server
+ - url: https://helioviewer-api.ias.u-psud.fr/v2
+ description: IAS Mirror
+
+tags:
+ - name: JPEG2000
+ description: Access and download JPEG2000 solar image data
+ - name: Movies
+ description: Generate, queue, and download custom solar movies
+ - name: Screenshots
+ description: Generate and download custom solar screenshots
+ - name: Official Clients
+ description: Endpoints intended for use by official Helioviewer clients
+ - name: Solar Features & Events
+ description: Solar feature and event data from HEK and DONKI
+ - name: YouTube
+ description: Share movies to YouTube
+ - name: Website
+ description: Website utility endpoints
+
+paths:
+
+ # ── JPEG2000 ─────────────────────────────────────────────────────────────
+
+ /downloadImage/:
+ get:
+ tags: [JPEG2000]
+ summary: Download a colorized image
+ description: |
+ Download a specific JP2 image colorized and converted to PNG, JPG, or
+ WebP. If the requested size is larger than the source image, no
+ upscaling is performed.
+
+ **Example Request**
+
+ .. parsed-literal::
+
+ `https://api.helioviewer.org/v2/downloadImage/?id=189536650
-
-
-
diff --git a/docs/src/source/api/api_groups/movies/postMovie.rst b/docs/src/source/api/api_groups/movies/postMovie.rst
deleted file mode 100644
index 48565410f..000000000
--- a/docs/src/source/api/api_groups/movies/postMovie.rst
+++ /dev/null
@@ -1,265 +0,0 @@
-postMovie
-^^^^^^^^^
-
-**URL:** ``/v2/postMovie/``
-
-**Method:** ``POST``
-
-**Content-Type:** ``application/json``
-
-Create a custom movie with a POST request by submitting JSON to the movie generation queue.
-The response returned will provide you with a unique Movie ID that can be used
-to check the status of your movie (via `getMovieStatus <#getmoviestatus>`_)
-and to download your movie (via `downloadMovie <#downloadmovie>`_).
-
-Request Format
-~~~~~~~~~~~~~~
-
-The request must be a JSON object with the following structure:
-
-.. code-block:: json
-
- {
- "date" : "2014-01-01T23:59:59Z",
- "imageScale" : 2.4204409,
- "layers" : "[3,1,100]"
- }
-
-Parameters
-~~~~~~~~~~
-
-Request JSON object consist of following parameters
-
-.. list-table:: JSON Request Parameters:
- :header-rows: 1
-
- * - Parameter
- - Required
- - Type
- - Example
- - Description
- * - ``startTime``
- - Required
- - string
- - 2010-03-01T12:12:12Z
- - Desired date and time of the first frame of the movie. ISO 8601 combined UTC date and time UTC format.
- * - ``endTime``
- - Required
- - string
- - 2010-03-04T12:12:12Z
- - Desired date and time of the final frame of the movie. ISO 8601 combined UTC date and time UTC format.
- * - ``layers``
- - Required
- - string
- - | [3,1,100]
- | or
- | [3,1,100,2,60,1,2010-03-01T12:12:12.000Z]
- - Image datasource layer(s) to include in the movie.
- * - ``eventsState``
- - Optional
- - object
- - | {
- | "tree_HEK": {
- | "labels_visible": true,
- | "layers": [
- | {
- | "event_type": "flare",
- | "frms": ["frm10", "frm20"],
- | "event_instances": ["flare--frm1--event1", "flare--frm2--event2"]
- | }
- | ]
- | },
- | ....
- | }
- - | Optional list of feature/event types to use to annotate the movie.
- | To get more information about this structure, please see document : :ref:`events-state-page`
- * - ``imageScale``
- - Required
- - number
- - 21.04
- - Image scale in arcseconds per pixel.
- * - ``format``
- - Optional
- - string
- - mp4
- - Movie format (`mp4`, `webm`). Default value is `mp4`.
- * - ``frameRate``
- - Optional
- - string
- - 15
- - Movie frames per second. 15 frames per second by default.
- * - ``maxFrames``
- - Optional
- - string
- - 300
- - Maximum number of frames in the movie. May be capped by the server.
- * - ``scale``
- - Optional
- - boolean
- - false
- - Optionally overlay an image scale indicator.
- * - ``scaleType``
- - Optional
- - string
- - earth
- - Image scale indicator.
- * - ``scaleX``
- - Optional
- - number
- - -1000
- - Horizontal offset of the image scale indicator in arcseconds with respect to the center of the Sun.
- * - ``scaleY``
- - Optional
- - number
- - -500
- - Vertical offset of the image scale indicator in arcseconds with respect to the center of the Sun.
- * - ``movieLength``
- - Optional
- - number
- - 4.3333
- - Movie length in seconds.
- * - ``watermark``
- - Optional
- - boolean
- - true
- - Optionally overlay a Helioviewer.org watermark image. Enabled by default.
- * - ``width``
- - Optional
- - string
- - 1920
- - Width of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `height`).
- * - ``height``
- - Optional
- - string
- - 1200
- - Height of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `width`).
- * - ``x0``
- - Optional
- - string
- - 0
- - The horizontal offset of the center of the field of view from the center of the Sun. Used in conjunction with `y0`, `width`, and `height`.
- * - ``y0``
- - Optional
- - string
- - 0
- - The vertical offset of the center of the field of view from the center of the Sun. Used in conjunction with `x0`, `width`, and `height`.
- * - ``x1``
- - Optional
- - string
- - -5000
- - The horizontal offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `y1`, `x2`, and `y2`.
- * - ``y1``
- - Optional
- - string
- - -5000
- - The vertical offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `x2`, and `y2`.
- * - ``x2``
- - Optional
- - string
- - 5000
- - The horizontal offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `y2`.
- * - ``y2``
- - Optional
- - string
- - 5000
- - The vertical offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `x2`.
- * - ``callback``
- - Optional
- - string
- -
- - Wrap the response object in a function call of your choosing.
- * - ``size``
- - Optional
- - number
- - 0
- - | Scale video to preset size
- | 0 - Original size
- | 1 - 720p (1280 x 720, HD Ready);
- | 2 - 1080p (1920 x 1080, Full HD);
- | 3 - 1440p (2560 x 1440, Quad HD);
- | 4 - 2160p (3840 x 2160, 4K or Ultra HD).
- * - ``movieIcons``
- - Optional
- - number
- - 0
- - Display other user generated movies on the video.
- * - ``followViewport``
- - Optional
- - number
- - 0
- - Rotate field of view of movie with Sun.
- * - ``reqObservationDate``
- - Optional
- - string
- - 2017-08-30T14:45:53.000Z
- - Viewport time. Used when 'followViewport' enabled to shift viewport area to correct coordinates.
-
-Example: Queued Movie (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-JSON response to "postMovie" API requests.
-
-.. code-block:: http
- :caption: Example Request:
-
- POST /v2/postMovie/ HTTP/1.1
- Host: api.helioviewer.org
-
- Content-Type: application/json
- {
- "startTime" : "2010-03-01T12:12:12Z",
- "endTime" : "2010-03-04T12:12:12Z",
- "imageScale" : 21.04,
- "layers" : "[3,1,100]",
- "eventsState" : {
- "tree_HEK": {
- "labels_visible": true,
- "layers": [
- {
- "event_type": "flare",
- "frms": ["frm10", "frm20"],
- "event_instances": ["flare--frm1--event1", "flare--frm2--event2"]
- }
- ]
- },
- },
- "x1" : -5000,
- "y1" : -5000,
- "x2" : 5000,
- "y2" : 5000,
- }
-
-.. code-block:: json
- :caption: Example Response:
-
- {
- "id": "z6vX5",
- "eta": 376,
- "queue": 0,
- "token": "50e0d98f645b42d159ec1c8a1e15de3e"
- }
-
-.. list-table:: JSON Response Parameters:
- :header-rows: 1
-
- * - Parameter
- - Required
- - Type
- - Description
- * - ``id``
- - Required
- - string
- - Unique movie identifier (e.g. "z6vX5")
- * - ``eta``
- - Required
- - number
- - Estimated time until movie generation will be completed in seconds
- * - ``queue``
- - Required
- - number
- - Position in movie generation queue
- * - ``token``
- - Required
- - string
- - Handle to job in the movie builder queue
-
diff --git a/docs/src/source/api/api_groups/movies/queueMovie.rst b/docs/src/source/api/api_groups/movies/queueMovie.rst
deleted file mode 100644
index cc39ec3ab..000000000
--- a/docs/src/source/api/api_groups/movies/queueMovie.rst
+++ /dev/null
@@ -1,111 +0,0 @@
-queueMovie
-^^^^^^^^^^
-GET /v2/queueMovie/
-
-Create a custom movie by submitting a request to the movie generation queue.
-The response returned will provide you with a unique Movie ID that can be used
-to check on the status of your movie (via `getMovieStatus <#getmoviestatus>`_)
-and to download your movie (via `downloadMovie <#downloadmovie>`_).
-
-.. table:: Request Parameters:
-
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +====================+==========+=========+==================================================================+==============================================================================================================================================================================================+
- | startTime | Required | string | 2010-03-01T12:12:12Z | Desired date and time of the first frame of the movie. ISO 8601 combined UTC date and time UTC format. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | endTime | Required | string | 2010-03-04T12:12:12Z | Desired date and time of the final frame of the movie. ISO 8601 combined UTC date and time UTC format. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | layers | Required | string | | [3,1,100],[4,1,100] | Image datasource layer(s) to include in the movie. |
- | | | | | or | |
- | | | | | [3,1,100,2,60,1,2010-03-01T12:12:12.000Z] | |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | events | Required | string | [AR,HMI_HARP;SPoCA,1],[CH,all,1] | List feature/event types and FRMs to use to annoate the movie. Use the empty string to indicate that no feature/event annotations should be shown. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | eventsLabels | Required | boolean | false | Optionally annotate each event marker with a text label. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | imageScale | Required | number | 21.04 | Image scale in arcseconds per pixel. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | format | Optional | string | mp4 | Movie format (`mp4`, `webm`). Default value is `mp4`. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | frameRate | Optional | string | 15 | Movie frames per second. 15 frames per second by default. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | maxFrames | Optional | string | 300 | Maximum number of frames in the movie. May be capped by the server. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scale | Optional | boolean | false | Optionally overlay an image scale indicator. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scaleType | Optional | string | earth | Image scale indicator. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scaleX | Optional | number | -1000 | Horizontal offset of the image scale indicator in arcseconds with respect to the center of the Sun. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scaleY | Optional | number | -500 | Vertical offset of the image scale indicator in arcseconds with respect to the center of the Sun. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | movieLength | Optional | number | 4.3333 | Movie length in seconds. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | watermark | Optional | boolean | true | Optionally overlay a Helioviewer.org watermark image. Enabled by default. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | width | Optional | string | 1920 | Width of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `height`). |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | height | Optional | string | 1200 | Height of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `width`). |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | x0 | Optional | string | 0 | The horizontal offset of the center of the field of view from the center of the Sun. Used in conjunction with `y0`, `width`, and `height`. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | y0 | Optional | string | 0 | The vertical offset of the center of the field of view from the center of the Sun. Used in conjunction with `x0`, `width`, and `height`. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | x1 | Optional | string | -5000 | The horizontal offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `y1`, `x2`, and `y2`. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | y1 | Optional | string | -5000 | The vertical offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `x2`, and `y2`. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | x2 | Optional | string | 5000 | The horizontal offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `y2`. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | y2 | Optional | string | 5000 | The vertical offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `x2`. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | callback | Optional | string | | Wrap the response object in a function call of your choosing. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | size | Optional | number | 0 | | Scale video to preset size: |
- | | | | | | 0 - Original size |
- | | | | | | 1 - 720p (1280 x 720, HD Ready); |
- | | | | | | 2 - 1080p (1920 x 1080, Full HD); |
- | | | | | | 3 - 1440p (2560 x 1440, Quad HD); |
- | | | | | | 4 - 2160p (3840 x 2160, 4K or Ultra HD). |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | movieIcons | Optional | number | 0 | Display other user generated movies on the video. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | followViewport | Optional | number | 0 | Rotate field of view of movie with Sun. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | reqObservationDate | Optional | string | 2017-08-30T14:45:53.000Z | Viewport time. Used when 'followViewport' enabled to shift viewport area to correct coordinates. |
- +--------------------+----------+---------+------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-Example: Queued Movie (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-JSON response to "`queueMovie <#queuemovie>`_" and "`reQueueMovie <#id2>`_" API requests.
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/queueMovie/?startTime=2010-03-01T12:12:12Z&endTime=2010-03-04T12:12:12Z&layers=[3,1,100],[4,1,100]&events=[AR,HMI_HARP;SPoCA,1],[CH,all,1]&eventsLabels=false&imageScale=21.04&x1=-5000&y1=-5000&x2=5000&y2=5000
-
-.. code-block::
- :caption: Example Response:
-
- {
- "id": "z6vX5",
- "eta": 376,
- "queue": 0,
- "token": "50e0d98f645b42d159ec1c8a1e15de3e"
- }
-
-.. table:: Response Description
-
- +-----------+----------+--------+--------------------------------------------------------------------+
- | Parameter | Required | Type | Description |
- +===========+==========+========+====================================================================+
- | eta | Required | number | Estimated time until movie generation will be completed in seconds |
- +-----------+----------+--------+--------------------------------------------------------------------+
- | id | Required | string | Unique movie identifier (e.g. "z6vX5") |
- +-----------+----------+--------+--------------------------------------------------------------------+
- | queue | Required | number | Position in movie generation queue |
- +-----------+----------+--------+--------------------------------------------------------------------+
- | token | Required | string | Handle to job in the movie builder queue |
- +-----------+----------+--------+--------------------------------------------------------------------+
diff --git a/docs/src/source/api/api_groups/movies/reQueueMovie.rst b/docs/src/source/api/api_groups/movies/reQueueMovie.rst
deleted file mode 100644
index 2158e9ec7..000000000
--- a/docs/src/source/api/api_groups/movies/reQueueMovie.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-reQueueMovie
-^^^^^^^^^^^^
-GET /v2/reQueueMovie/
-
-Re-generate a custom movie that is no longer cached on disk. Once the movie has
-been successfully queued for regeneration, the Movie ID can be used to check on
-the status of the movie (via `getMovieStatus <#getmoviestatus>`_) and to download the movie
-(via `downloadMovie <#downloadmovie>`_).
-
-
-.. table:: Request Parameters:
-
- +-----------+----------+--------+---------+-------------------------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +===========+==========+========+=========+===============================================================================+
- | id | Required | string | VXvX5 | Unique movie identifier (provided by the response to a `queueMovie` request). |
- +-----------+----------+--------+---------+-------------------------------------------------------------------------------+
- | force | Optional | bool | false | Forces rebuilding of a movie. Useful if new data has been added. |
- +-----------+----------+--------+---------+-------------------------------------------------------------------------------+
-
-Example: Queued Movie (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-JSON response to `queueMovie <#queuemovie>`_ and `reQueueMovie <#id2>`_ API requests.
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/reQueueMovie/?id=VXvX5
-
-.. code-block::
- :caption: Example Response:
-
- {
- "id": "VXvX5",
- "eta": 285,
- "queue": 0,
- "token": "4673d6db4e2a3365ab361267f2a9a112"
- }
-
-.. table:: Response Description
-
- +-----------+----------+--------+--------------------------------------------------------------------+
- | Parameter | Required | Type | Description |
- +===========+==========+========+====================================================================+
- | eta | Required | number | Estimated time until movie generation will be completed in seconds |
- +-----------+----------+--------+--------------------------------------------------------------------+
- | id | Required | string | Unique movie identifier (e.g. "z6vX5") |
- +-----------+----------+--------+--------------------------------------------------------------------+
- | queue | Required | number | Position in movie generation queue |
- +-----------+----------+--------+--------------------------------------------------------------------+
- | token | Required | string | |
- +-----------+----------+--------+--------------------------------------------------------------------+
diff --git a/docs/src/source/api/api_groups/official_clients.rst b/docs/src/source/api/api_groups/official_clients.rst
deleted file mode 100644
index 222765e25..000000000
--- a/docs/src/source/api/api_groups/official_clients.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-Official Clients
-----------------
-
-.. include:: official_clients/getClosestImage.rst
-.. include:: official_clients/getDataSources.rst
-.. include:: official_clients/getTile.rst
-.. include:: official_clients/shortenURL.rst
diff --git a/docs/src/source/api/api_groups/official_clients/getClosestImage.rst b/docs/src/source/api/api_groups/official_clients/getClosestImage.rst
deleted file mode 100644
index f29cce0f5..000000000
--- a/docs/src/source/api/api_groups/official_clients/getClosestImage.rst
+++ /dev/null
@@ -1,75 +0,0 @@
-getClosestImage
-^^^^^^^^^^^^^^^
-GET /v2/getClosestImage/
-
-Find the image data that is closest to the requested date/time. Return the
-associated metadata from the helioviewer database and the XML header of the
-JPEG2000 image file.
-
-.. table:: Request Parameters:
-
- +-----------+----------+--------+----------------------+---------------------------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +===========+==========+========+======================+=================================================================================+
- | date | Required | string | 2014-01-01T23:59:59Z | Desired date/time of the image. ISO 8601 combined UTC date and time UTC format. |
- +-----------+----------+--------+----------------------+---------------------------------------------------------------------------------+
- | callback | Optional | string | | Wrap the response object in a function call of your choosing. |
- +-----------+----------+--------+----------------------+---------------------------------------------------------------------------------+
- | sourceId | Required | number | 14 | Unique image datasource identifier. |
- +-----------+----------+--------+----------------------+---------------------------------------------------------------------------------+
-
-Example: Get Closest Image (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-A JSON object containing metadata related to the JPEG2000 image representing the
-closest temporal match for the specified datasource.
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/getClosestImage/?date=2014-01-01T23:59:59Z&sourceId=14
-
-.. code-block::
- :caption: Example Response:
-
- {
- "id": 34205701,
- "date": "2014-01-02 00:00:02",
- "scale": 0.58996068317702,
- "scaleCorrection": 1.01701692521,
- "width": 4096,
- "height": 4096,
- "refPixelX": 2048.5,
- "refPixelY": 2048.5,
- "rsun": 1600,
- "sunCenterOffsetParams": [],
- "layeringOrder": 1
- }
-
-.. table:: Response Description
-
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | Parameter | Required | Type | Description |
- +=======================+==========+========+=============================================================================================================+
- | id | Required | number | Unique image identifier (e.g. 34205701) |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | date | Required | string | Date/time of selected image. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | scale | Required | number | Normalized Image scale in arc-seconds per pixel. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | scaleCorrection | Required | number | Correction factor for the Normalized image scale. This value is Actual Image Scale / Normalized image scale |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | width | Required | number | Width in pixels of source JPEG2000 image data. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | height | Required | number | Height in pixels of source JPEG2000 image data. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | refPixelX | Required | number | X-coordinate of reference pixel. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | refPixelY | Required | number | Y-coordinate of reference pixel. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | rsun | Required | number | Solar radius in pixels. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | sunCenterOffsetParams | Required | string | FITS header positioning metadata. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
- | layeringOrder | Required | number | Relative order for image layer compositing. |
- +-----------------------+----------+--------+-------------------------------------------------------------------------------------------------------------+
diff --git a/docs/src/source/api/api_groups/official_clients/getDataSources.rst b/docs/src/source/api/api_groups/official_clients/getDataSources.rst
deleted file mode 100644
index e05aec61d..000000000
--- a/docs/src/source/api/api_groups/official_clients/getDataSources.rst
+++ /dev/null
@@ -1,2496 +0,0 @@
-getDataSources
-^^^^^^^^^^^^^^^
-GET /v2/getDataSources/
-
-Return a hierarchial list of the available datasources.
-
-Optional parameter `verbose` is exists for compatability with JHelioviewer. It
-outputs the hierarchical list in an alternative format and limits the list of
-available datasources to a known set (SDO and SOHO). JHelioviewer may not
-operate properly if new datasources appear in the feed without a client-side
-updgrade. To explicitly include new sources, use the optional `enable` parameter.
-
-.. table:: Request Parameters:
-
- +-----------+----------+---------+----------------------------+---------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +===========+==========+=========+============================+===============================================================+
- | verbose | Optional | boolean | false | |
- +-----------+----------+---------+----------------------------+---------------------------------------------------------------+
- | enable | Optional | string | [Yohkoh,STEREO_A,STEREO_B] | Comma-separated list of observatories to enable. |
- +-----------+----------+---------+----------------------------+---------------------------------------------------------------+
- | callback | Optional | string | | Wrap the response object in a function call of your choosing. |
- +-----------+----------+---------+----------------------------+---------------------------------------------------------------+
-
-Example: Get Data Sources (JSON)
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/getDataSources/?
-
-.. code-block::
- :caption: Example Response:
-
- {
- "Hinode": {
- "XRT": {
- "Al_med": {
- "Al_mesh": {
- "end": "2007-05-09 09:50:35",
- "layeringOrder": 1,
- "nickname": "XRT Al_med/Al_mesh",
- "sourceId": 38,
- "start": "2006-11-02 10:25:55",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_mesh"
- }
- ]
- },
- "Al_thick": {
- "end": "2013-04-12 22:30:11",
- "layeringOrder": 1,
- "nickname": "XRT Al_med/Al_thick",
- "sourceId": 39,
- "start": "2006-11-02 10:29:19",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_thick"
- }
- ]
- },
- "Be_thick": {
- "end": "2013-10-10 06:13:06",
- "layeringOrder": 1,
- "nickname": "XRT Al_med/Be_thick",
- "sourceId": 40,
- "start": "2006-11-02 10:30:27",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Be_thick"
- }
- ]
- },
- "Gband": {
- "end": "2007-04-12 09:21:51",
- "layeringOrder": 1,
- "nickname": "XRT Al_med/Gband",
- "sourceId": 41,
- "start": "2006-10-27 03:14:51",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Gband"
- }
- ]
- },
- "Open": {
- "end": "2013-10-16 15:14:57",
- "layeringOrder": 1,
- "nickname": "XRT Al_med/Open",
- "sourceId": 42,
- "start": "2006-11-02 10:25:05",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Open"
- }
- ]
- },
- "Ti_poly": {
- "end": "2010-11-18 14:09:50",
- "layeringOrder": 1,
- "nickname": "XRT Al_med/Ti_poly",
- "sourceId": 43,
- "start": "2006-11-02 10:27:03",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Ti_poly"
- }
- ]
- }
- },
- "Al_poly": {
- "Al_mesh": {
- "end": "2007-12-23 10:04:47",
- "layeringOrder": 1,
- "nickname": "XRT Al_poly/Al_mesh",
- "sourceId": 44,
- "start": "2006-11-02 10:20:35",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_mesh"
- }
- ]
- },
- "Al_thick": {
- "end": "2013-04-30 02:19:57",
- "layeringOrder": 1,
- "nickname": "XRT Al_poly/Al_thick",
- "sourceId": 45,
- "start": "2006-11-02 10:21:13",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_thick"
- }
- ]
- },
- "Be_thick": {
- "end": "2013-04-12 22:29:33",
- "layeringOrder": 1,
- "nickname": "XRT Al_poly/Be_thick",
- "sourceId": 46,
- "start": "2006-11-02 10:21:17",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Be_thick"
- }
- ]
- },
- "Gband": {
- "end": "2007-04-20 09:25:05",
- "layeringOrder": 1,
- "nickname": "XRT Al_poly/Gband",
- "sourceId": 47,
- "start": "2006-10-27 02:16:32",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Gband"
- }
- ]
- },
- "Open": {
- "end": "2013-10-22 08:28:16",
- "layeringOrder": 1,
- "nickname": "XRT Al_poly/Open",
- "sourceId": 48,
- "start": "2006-10-23 10:37:13",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Open"
- }
- ]
- },
- "Ti_poly": {
- "end": "2013-10-19 14:59:37",
- "layeringOrder": 1,
- "nickname": "XRT Al_poly/Ti_poly",
- "sourceId": 49,
- "start": "2006-11-02 10:21:04",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Al_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Ti_poly"
- }
- ]
- }
- },
- "Be_med": {
- "Al_mesh": {
- "end": "2007-05-09 09:50:19",
- "layeringOrder": 1,
- "nickname": "XRT Be_med/Al_mesh",
- "sourceId": 50,
- "start": "2006-11-02 10:23:14",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_mesh"
- }
- ]
- },
- "Al_thick": {
- "end": "2006-11-02 10:24:02",
- "layeringOrder": 1,
- "nickname": "XRT Be_med/Al_thick",
- "sourceId": 51,
- "start": "2006-11-02 10:24:02",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_thick"
- }
- ]
- },
- "Be_thick": {
- "end": "2006-11-02 10:24:28",
- "layeringOrder": 1,
- "nickname": "XRT Be_med/Be_thick",
- "sourceId": 52,
- "start": "2006-11-02 10:24:28",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Be_thick"
- }
- ]
- },
- "Gband": {
- "end": "2007-04-20 07:51:35",
- "layeringOrder": 1,
- "nickname": "XRT Be_med/Gband",
- "sourceId": 53,
- "start": "2006-10-27 03:03:11",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Gband"
- }
- ]
- },
- "Open": {
- "end": "2013-10-21 17:14:06",
- "layeringOrder": 1,
- "nickname": "XRT Be_med/Open",
- "sourceId": 54,
- "start": "2006-11-02 10:23:05",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Open"
- }
- ]
- },
- "Ti_poly": {
- "end": "2006-11-02 10:23:26",
- "layeringOrder": 1,
- "nickname": "XRT Be_med/Ti_poly",
- "sourceId": 55,
- "start": "2006-11-02 10:23:26",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_med"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Ti_poly"
- }
- ]
- }
- },
- "Be_thin": {
- "Al_mesh": {
- "end": "2007-05-09 09:50:03",
- "layeringOrder": 1,
- "nickname": "XRT Be_thin/Al_mesh",
- "sourceId": 56,
- "start": "2006-11-02 10:22:19",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_thin"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_mesh"
- }
- ]
- },
- "Al_thick": {
- "end": "2006-11-02 10:22:35",
- "layeringOrder": 1,
- "nickname": "XRT Be_thin/Al_thick",
- "sourceId": 57,
- "start": "2006-11-02 10:22:35",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_thin"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_thick"
- }
- ]
- },
- "Be_thick": {
- "end": "2006-11-02 10:22:42",
- "layeringOrder": 1,
- "nickname": "XRT Be_thin/Be_thick",
- "sourceId": 58,
- "start": "2006-11-02 10:22:42",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_thin"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Be_thick"
- }
- ]
- },
- "Gband": {
- "end": "2007-04-20 03:13:11",
- "layeringOrder": 1,
- "nickname": "XRT Be_thin/Gband",
- "sourceId": 59,
- "start": "2006-10-27 02:51:31",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_thin"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Gband"
- }
- ]
- },
- "Open": {
- "end": "2013-10-22 08:28:01",
- "layeringOrder": 1,
- "nickname": "XRT Be_thin/Open",
- "sourceId": 60,
- "start": "2006-11-02 10:22:14",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_thin"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Open"
- }
- ]
- },
- "Ti_poly": {
- "end": "2006-11-02 10:22:24",
- "layeringOrder": 1,
- "nickname": "XRT Be_thin/Ti_poly",
- "sourceId": 61,
- "start": "2006-11-02 10:22:24",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Be_thin"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Ti_poly"
- }
- ]
- }
- },
- "C_poly": {
- "Al_mesh": {
- "end": "2007-05-09 09:49:47",
- "layeringOrder": 1,
- "nickname": "XRT C_poly/Al_mesh",
- "sourceId": 62,
- "start": "2006-11-02 10:21:26",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "C_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_mesh"
- }
- ]
- },
- "Al_thick": {
- "end": "2013-04-12 22:29:49",
- "layeringOrder": 1,
- "nickname": "XRT C_poly/Al_thick",
- "sourceId": 63,
- "start": "2006-11-02 10:22:04",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "C_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_thick"
- }
- ]
- },
- "Be_thick": {
- "end": "2006-11-02 10:22:08",
- "layeringOrder": 1,
- "nickname": "XRT C_poly/Be_thick",
- "sourceId": 64,
- "start": "2006-11-02 10:22:08",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "C_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Be_thick"
- }
- ]
- },
- "Gband": {
- "end": "2006-11-02 10:21:34",
- "layeringOrder": 1,
- "nickname": "XRT C_poly/Gband",
- "sourceId": 65,
- "start": "2006-10-27 02:39:52",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "C_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Gband"
- }
- ]
- },
- "Open": {
- "end": "2013-10-19 14:59:17",
- "layeringOrder": 1,
- "nickname": "XRT C_poly/Open",
- "sourceId": 66,
- "start": "2006-11-02 10:21:22",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "C_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Open"
- }
- ]
- },
- "Ti_poly": {
- "end": "2012-11-03 19:30:16",
- "layeringOrder": 1,
- "nickname": "XRT C_poly/Ti_poly",
- "sourceId": 67,
- "start": "2006-11-02 10:21:30",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "C_poly"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Ti_poly"
- }
- ]
- }
- },
- "Mispositioned": {
- "Mispositioned": {
- "end": "2006-12-07 09:13:47",
- "layeringOrder": 1,
- "nickname": "XRT Mispositioned/Mispositioned",
- "sourceId": 68,
- "start": "2006-12-02 09:22:05",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Mispositioned"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Mispositioned"
- }
- ]
- }
- },
- "Open": {
- "Al_mesh": {
- "end": "2013-10-22 06:33:47",
- "layeringOrder": 1,
- "nickname": "XRT Open/Al_mesh",
- "sourceId": 69,
- "start": "2006-10-26 22:55:51",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Open"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_mesh"
- }
- ]
- },
- "Al_thick": {
- "end": "2013-10-22 08:03:58",
- "layeringOrder": 1,
- "nickname": "XRT Open/Al_thick",
- "sourceId": 70,
- "start": "2006-10-27 04:10:52",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Open"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Al_thick"
- }
- ]
- },
- "Be_thick": {
- "end": "2013-10-22 00:25:13",
- "layeringOrder": 1,
- "nickname": "XRT Open/Be_thick",
- "sourceId": 71,
- "start": "2006-10-27 04:22:32",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Open"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Be_thick"
- }
- ]
- },
- "Gband": {
- "end": "2013-10-22 08:00:58",
- "layeringOrder": 1,
- "nickname": "XRT Open/Gband",
- "sourceId": 72,
- "start": "2006-10-24 09:35:12",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Open"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Gband"
- }
- ]
- },
- "Open": {
- "end": "2012-06-19 11:52:20",
- "layeringOrder": 1,
- "nickname": "XRT Open/Open",
- "sourceId": 73,
- "start": "2006-12-05 08:04:05",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Open"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Open"
- }
- ]
- },
- "Ti_poly": {
- "end": "2013-10-22 08:28:11",
- "layeringOrder": 1,
- "nickname": "XRT Open/Ti_poly",
- "sourceId": 74,
- "start": "2006-10-26 22:56:37",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Hinode"
- },
- {
- "label": "Instrument",
- "name": "XRT"
- },
- {
- "label": "Filter Wheel 1",
- "name": "Open"
- },
- {
- "label": "Filter Wheel 2",
- "name": "Ti_poly"
- }
- ]
- }
- }
- }
- },
- "PROBA2": {
- "SWAP": {
- "174": {
- "end": "2013-12-05 10:56:16",
- "layeringOrder": 1,
- "nickname": "SWAP 174",
- "sourceId": 32,
- "start": "2010-01-04 17:00:50",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "PROBA2"
- },
- {
- "label": "Instrument",
- "name": "SWAP"
- },
- {
- "label": "Measurement",
- "name": "174"
- }
- ]
- }
- }
- },
- "SDO": {
- "AIA": {
- "131": {
- "end": "2013-12-05 13:43:44",
- "layeringOrder": 1,
- "nickname": "AIA 131",
- "sourceId": 9,
- "start": "2010-06-02 00:05:34",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "131"
- }
- ]
- },
- "1600": {
- "end": "2013-12-05 13:49:28",
- "layeringOrder": 1,
- "nickname": "AIA 1600",
- "sourceId": 15,
- "start": "2010-06-02 00:05:30",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "1600"
- }
- ]
- },
- "1700": {
- "end": "2013-12-05 13:50:30",
- "layeringOrder": 1,
- "nickname": "AIA 1700",
- "sourceId": 16,
- "start": "2010-06-23 00:00:31",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "1700"
- }
- ]
- },
- "171": {
- "end": "2013-12-05 13:44:47",
- "layeringOrder": 1,
- "nickname": "AIA 171",
- "sourceId": 10,
- "start": "2010-06-02 00:05:36",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "171"
- }
- ]
- },
- "193": {
- "end": "2013-12-05 13:45:42",
- "layeringOrder": 1,
- "nickname": "AIA 193",
- "sourceId": 11,
- "start": "2010-06-02 00:05:31",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "193"
- }
- ]
- },
- "211": {
- "end": "2013-12-05 13:46:35",
- "layeringOrder": 1,
- "nickname": "AIA 211",
- "sourceId": 12,
- "start": "2010-06-02 00:05:37",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "211"
- }
- ]
- },
- "304": {
- "end": "2013-12-05 13:48:43",
- "layeringOrder": 1,
- "nickname": "AIA 304",
- "sourceId": 13,
- "start": "2010-06-02 00:05:39",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "304"
- }
- ]
- },
- "335": {
- "end": "2013-12-05 13:49:38",
- "layeringOrder": 1,
- "nickname": "AIA 335",
- "sourceId": 14,
- "start": "2010-06-02 00:05:28",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "335"
- }
- ]
- },
- "4500": {
- "end": "2013-12-05 13:00:07",
- "layeringOrder": 1,
- "nickname": "AIA 4500",
- "sourceId": 17,
- "start": "2010-06-02 00:05:44",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "4500"
- }
- ]
- },
- "94": {
- "end": "2013-12-05 13:43:01",
- "layeringOrder": 1,
- "nickname": "AIA 94",
- "sourceId": 8,
- "start": "2010-06-02 00:05:33",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "AIA"
- },
- {
- "label": "Measurement",
- "name": "94"
- }
- ]
- }
- },
- "HMI": {
- "continuum": {
- "end": "2013-12-05 11:20:40",
- "layeringOrder": 1,
- "nickname": "HMI Int",
- "sourceId": 18,
- "start": "2010-12-06 06:53:41",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "HMI"
- },
- {
- "label": "Measurement",
- "name": "continuum"
- }
- ]
- },
- "magnetogram": {
- "end": "2013-12-05 12:18:25",
- "layeringOrder": 1,
- "nickname": "HMI Mag",
- "sourceId": 19,
- "start": "2010-12-06 06:53:41",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SDO"
- },
- {
- "label": "Instrument",
- "name": "HMI"
- },
- {
- "label": "Measurement",
- "name": "magnetogram"
- }
- ]
- }
- }
- },
- "SOHO": {
- "EIT": {
- "171": {
- "end": "2013-08-07 13:00:13",
- "layeringOrder": 1,
- "nickname": "EIT 171",
- "sourceId": 0,
- "start": "1996-01-15 21:39:21",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "EIT"
- },
- {
- "label": "Measurement",
- "name": "171"
- }
- ]
- },
- "195": {
- "end": "2013-08-07 01:13:50",
- "layeringOrder": 1,
- "nickname": "EIT 195",
- "sourceId": 1,
- "start": "1996-01-15 20:51:47",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "EIT"
- },
- {
- "label": "Measurement",
- "name": "195"
- }
- ]
- },
- "284": {
- "end": "2013-08-07 13:06:09",
- "layeringOrder": 1,
- "nickname": "EIT 284",
- "sourceId": 2,
- "start": "1996-01-15 21:04:17",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "EIT"
- },
- {
- "label": "Measurement",
- "name": "284"
- }
- ]
- },
- "304": {
- "end": "2013-08-07 01:19:42",
- "layeringOrder": 1,
- "nickname": "EIT 304",
- "sourceId": 3,
- "start": "1996-01-15 22:00:17",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "EIT"
- },
- {
- "label": "Measurement",
- "name": "304"
- }
- ]
- }
- },
- "LASCO": {
- "C2": {
- "white-light": {
- "end": "2013-12-05 07:12:05",
- "layeringOrder": 2,
- "nickname": "LASCO C2",
- "sourceId": 4,
- "start": "1996-04-01 01:12:15",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "LASCO"
- },
- {
- "label": "Detector",
- "name": "C2"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- },
- "C3": {
- "white-light": {
- "end": "2013-12-05 07:18:05",
- "layeringOrder": 3,
- "nickname": "LASCO C3",
- "sourceId": 5,
- "start": "1996-04-14 09:48:18",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "LASCO"
- },
- {
- "label": "Detector",
- "name": "C3"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- }
- },
- "MDI": {
- "continuum": {
- "end": "2011-01-11 22:39:00",
- "layeringOrder": 1,
- "nickname": "MDI Int",
- "sourceId": 7,
- "start": "1996-05-19 19:08:35",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "MDI"
- },
- {
- "label": "Measurement",
- "name": "continuum"
- }
- ]
- },
- "magnetogram": {
- "end": "2011-01-11 22:39:00",
- "layeringOrder": 1,
- "nickname": "MDI Mag",
- "sourceId": 6,
- "start": "1996-04-21 00:30:04",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "SOHO"
- },
- {
- "label": "Instrument",
- "name": "MDI"
- },
- {
- "label": "Measurement",
- "name": "magnetogram"
- }
- ]
- }
- }
- },
- "STEREO_A": {
- "SECCHI": {
- "COR1": {
- "white-light": {
- "end": "2013-12-01 09:50:00",
- "layeringOrder": 2,
- "nickname": "COR1-A",
- "sourceId": 28,
- "start": "2010-01-01 00:05:00",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_A"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "COR1"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- },
- "COR2": {
- "white-light": {
- "end": "2013-11-30 23:54:00",
- "layeringOrder": 3,
- "nickname": "COR2-A",
- "sourceId": 29,
- "start": "2010-01-01 00:24:00",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_A"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "COR2"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- },
- "EUVI": {
- "171": {
- "end": "2013-11-30 22:14:00",
- "layeringOrder": 1,
- "nickname": "EUVI-A 171",
- "sourceId": 20,
- "start": "2010-01-01 00:14:00",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_A"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "171"
- }
- ]
- },
- "195": {
- "end": "2013-11-30 23:55:30",
- "layeringOrder": 1,
- "nickname": "EUVI-A 195",
- "sourceId": 21,
- "start": "2010-01-01 00:05:30",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_A"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "195"
- }
- ]
- },
- "284": {
- "end": "2013-11-30 22:16:30",
- "layeringOrder": 1,
- "nickname": "EUVI-A 284",
- "sourceId": 22,
- "start": "2010-01-01 00:16:30",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_A"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "284"
- }
- ]
- },
- "304": {
- "end": "2013-11-30 23:56:15",
- "layeringOrder": 1,
- "nickname": "EUVI-A 304",
- "sourceId": 23,
- "start": "2010-01-01 00:06:15",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_A"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "304"
- }
- ]
- }
- }
- }
- },
- "STEREO_B": {
- "SECCHI": {
- "COR1": {
- "white-light": {
- "end": "2013-12-01 03:51:00",
- "layeringOrder": 2,
- "nickname": "COR1-B",
- "sourceId": 30,
- "start": "2010-01-01 00:05:37",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_B"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "COR1"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- },
- "COR2": {
- "white-light": {
- "end": "2013-11-30 23:55:00",
- "layeringOrder": 3,
- "nickname": "COR2-B",
- "sourceId": 31,
- "start": "2010-01-01 00:24:37",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_B"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "COR2"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- },
- "EUVI": {
- "171": {
- "end": "2013-11-30 22:15:00",
- "layeringOrder": 1,
- "nickname": "EUVI-B 171",
- "sourceId": 24,
- "start": "2010-01-01 00:07:52",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_B"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "171"
- }
- ]
- },
- "195": {
- "end": "2013-11-30 23:56:30",
- "layeringOrder": 1,
- "nickname": "EUVI-B 195",
- "sourceId": 25,
- "start": "2010-01-01 00:06:07",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_B"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "195"
- }
- ]
- },
- "284": {
- "end": "2013-11-30 22:17:30",
- "layeringOrder": 1,
- "nickname": "EUVI-B 284",
- "sourceId": 26,
- "start": "2010-01-01 00:07:07",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_B"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "284"
- }
- ]
- },
- "304": {
- "end": "2013-11-30 23:57:15",
- "layeringOrder": 1,
- "nickname": "EUVI-B 304",
- "sourceId": 27,
- "start": "2010-01-01 00:06:52",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "STEREO_B"
- },
- {
- "label": "Instrument",
- "name": "SECCHI"
- },
- {
- "label": "Detector",
- "name": "EUVI"
- },
- {
- "label": "Measurement",
- "name": "304"
- }
- ]
- }
- }
- }
- },
- "TRACE": {
- "1216": {
- "end": "2008-10-03 00:20:37",
- "layeringOrder": 1,
- "nickname": "TRACE 1216",
- "sourceId": 78,
- "start": "2008-09-19 01:04:32",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "1216"
- }
- ]
- },
- "1550": {
- "end": "2008-10-03 00:20:19",
- "layeringOrder": 1,
- "nickname": "TRACE 1550",
- "sourceId": 79,
- "start": "2008-09-18 00:45:30",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "1550"
- }
- ]
- },
- "1600": {
- "end": "2008-10-06 22:08:53",
- "layeringOrder": 1,
- "nickname": "TRACE 1600",
- "sourceId": 80,
- "start": "2008-09-18 10:52:31",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "1600"
- }
- ]
- },
- "1700": {
- "end": "2008-10-03 00:20:26",
- "layeringOrder": 1,
- "nickname": "TRACE 1700",
- "sourceId": 81,
- "start": "2008-09-19 01:04:21",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "1700"
- }
- ]
- },
- "171": {
- "end": "2008-10-06 22:55:32",
- "layeringOrder": 1,
- "nickname": "TRACE 171",
- "sourceId": 75,
- "start": "2008-09-18 00:00:54",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "171"
- }
- ]
- },
- "195": {
- "end": "2008-10-06 06:59:56",
- "layeringOrder": 1,
- "nickname": "TRACE 195",
- "sourceId": 76,
- "start": "2008-09-18 00:38:24",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "195"
- }
- ]
- },
- "284": {
- "end": "2008-09-24 19:25:02",
- "layeringOrder": 1,
- "nickname": "TRACE 284",
- "sourceId": 77,
- "start": "2008-09-18 10:51:36",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "284"
- }
- ]
- },
- "white-light": {
- "end": "2008-10-06 22:54:05",
- "layeringOrder": 1,
- "nickname": "TRACE white-light",
- "sourceId": 82,
- "start": "2008-09-19 01:04:24",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "TRACE"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- },
- "Yohkoh": {
- "SXT": {
- "AlMgMn": {
- "end": "2001-12-14 20:58:33",
- "layeringOrder": 1,
- "nickname": "SXT AlMgMn",
- "sourceId": 33,
- "start": "1991-09-13 21:53:40",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Yohkoh"
- },
- {
- "label": "Instrument",
- "name": "SXT"
- },
- {
- "label": "Filter",
- "name": "AlMgMn"
- }
- ]
- },
- "thin-Al": {
- "end": "2001-12-14 08:20:43",
- "layeringOrder": 1,
- "nickname": "SXT thin-Al",
- "sourceId": 34,
- "start": "1991-09-13 21:49:24",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Yohkoh"
- },
- {
- "label": "Instrument",
- "name": "SXT"
- },
- {
- "label": "Measurement",
- "name": "thin-Al"
- }
- ]
- },
- "white-light": {
- "end": "1992-11-13 17:05:32",
- "layeringOrder": 1,
- "nickname": "SXT white-light",
- "sourceId": 35,
- "start": "1991-09-11 23:02:54",
- "uiLabels": [
- {
- "label": "Observatory",
- "name": "Yohkoh"
- },
- {
- "label": "Instrument",
- "name": "SXT"
- },
- {
- "label": "Measurement",
- "name": "white-light"
- }
- ]
- }
- }
- }
- }
-
-
-Example: Get Data Sources Verbose (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Output the hierarchical list of available datasources in a format that is
-compatible with the JHelioviewer desktop client.
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/getDataSources/?verbose=true&enable=[Yohkoh,STEREO_A,STEREO_B]
-
-.. code-block::
- :caption: Example Response:
-
- {
- "SDO": {
- "children": {
- "AIA": {
- "children": {
- "131": {
- "description": "131 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:43:44",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "131 Å",
- "nickname": "AIA 131",
- "sourceId": 9,
- "start": "2010-06-02 00:05:34"
- },
- "1600": {
- "description": "1600 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:49:28",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "1600 Å",
- "nickname": "AIA 1600",
- "sourceId": 15,
- "start": "2010-06-02 00:05:30"
- },
- "1700": {
- "description": "1700 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:50:30",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "1700 Å",
- "nickname": "AIA 1700",
- "sourceId": 16,
- "start": "2010-06-23 00:00:31"
- },
- "171": {
- "default": true,
- "description": "171 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:44:47",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "171 Å",
- "nickname": "AIA 171",
- "sourceId": 10,
- "start": "2010-06-02 00:05:36"
- },
- "193": {
- "description": "193 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:45:42",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "193 Å",
- "nickname": "AIA 193",
- "sourceId": 11,
- "start": "2010-06-02 00:05:31"
- },
- "211": {
- "description": "211 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:46:35",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "211 Å",
- "nickname": "AIA 211",
- "sourceId": 12,
- "start": "2010-06-02 00:05:37"
- },
- "304": {
- "description": "304 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:48:43",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "304 Å",
- "nickname": "AIA 304",
- "sourceId": 13,
- "start": "2010-06-02 00:05:39"
- },
- "335": {
- "description": "335 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:49:38",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "335 Å",
- "nickname": "AIA 335",
- "sourceId": 14,
- "start": "2010-06-02 00:05:28"
- },
- "4500": {
- "description": "4500 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:00:07",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "4500 Å",
- "nickname": "AIA 4500",
- "sourceId": 17,
- "start": "2010-06-02 00:05:44"
- },
- "94": {
- "description": "94 Ångström extreme ultraviolet",
- "end": "2013-12-05 13:43:01",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "94 Å",
- "nickname": "AIA 94",
- "sourceId": 8,
- "start": "2010-06-02 00:05:33"
- }
- },
- "default": true,
- "description": "Atmospheric Imaging Assembly",
- "label": "Instrument",
- "name": "AIA"
- },
- "HMI": {
- "children": {
- "continuum": {
- "description": "Intensitygram",
- "end": "2013-12-05 11:20:40",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "Continuum",
- "nickname": "HMI Int",
- "sourceId": 18,
- "start": "2010-12-06 06:53:41"
- },
- "magnetogram": {
- "description": "Magnetogram",
- "end": "2013-12-05 12:18:25",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "Magnetogram",
- "nickname": "HMI Mag",
- "sourceId": 19,
- "start": "2010-12-06 06:53:41"
- }
- },
- "description": "Helioseismic and Magnetic Imager",
- "label": "Instrument",
- "name": "HMI"
- }
- },
- "default": true,
- "description": "Solar Dynamics Observatory",
- "label": "Observatory",
- "name": "SDO"
- },
- "SOHO": {
- "children": {
- "EIT": {
- "children": {
- "171": {
- "description": "171 Ångström extreme ultraviolet",
- "end": "2013-08-07 13:00:13",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "171 Å",
- "nickname": "EIT 171",
- "sourceId": 0,
- "start": "1996-01-15 21:39:21"
- },
- "195": {
- "description": "195 Ångström extreme ultraviolet",
- "end": "2013-08-07 01:13:50",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "195 Å",
- "nickname": "EIT 195",
- "sourceId": 1,
- "start": "1996-01-15 20:51:47"
- },
- "284": {
- "description": "284 Ångström extreme ultraviolet",
- "end": "2013-08-07 13:06:09",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "284 Å",
- "nickname": "EIT 284",
- "sourceId": 2,
- "start": "1996-01-15 21:04:17"
- },
- "304": {
- "description": "304 Ångström extreme ultraviolet",
- "end": "2013-08-07 01:19:42",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "304 Å",
- "nickname": "EIT 304",
- "sourceId": 3,
- "start": "1996-01-15 22:00:17"
- }
- },
- "description": "Extreme ultraviolet Imaging Telescope",
- "label": "Instrument",
- "name": "EIT"
- },
- "LASCO": {
- "children": {
- "C2": {
- "children": {
- "white-light": {
- "description": "White Light",
- "end": "2013-12-05 07:12:05",
- "label": "Measurement",
- "layeringOrder": 2,
- "name": "White Light",
- "nickname": "LASCO C2",
- "sourceId": 4,
- "start": "1996-04-01 01:12:15"
- }
- },
- "description": "Coronograph 2",
- "label": "Detector",
- "name": "C2"
- },
- "C3": {
- "children": {
- "white-light": {
- "description": "White Light",
- "end": "2013-12-05 07:18:05",
- "label": "Measurement",
- "layeringOrder": 3,
- "name": "White Light",
- "nickname": "LASCO C3",
- "sourceId": 5,
- "start": "1996-04-14 09:48:18"
- }
- },
- "description": "Coronograph 3",
- "label": "Detector",
- "name": "C3"
- }
- },
- "description": "The Large Angle Spectrometric Coronagraph",
- "label": "Instrument",
- "name": "LASCO"
- },
- "MDI": {
- "children": {
- "continuum": {
- "description": "Intensitygram",
- "end": "2011-01-11 22:39:00",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "Continuum",
- "nickname": "MDI Int",
- "sourceId": 7,
- "start": "1996-05-19 19:08:35"
- },
- "magnetogram": {
- "description": "Magnetogram",
- "end": "2011-01-11 22:39:00",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "Magnetogram",
- "nickname": "MDI Mag",
- "sourceId": 6,
- "start": "1996-04-21 00:30:04"
- }
- },
- "description": "Michelson Doppler Imager",
- "label": "Instrument",
- "name": "MDI"
- }
- },
- "description": "Solar and Heliospheric Observatory",
- "label": "Observatory",
- "name": "SOHO"
- },
- "STEREO_A": {
- "children": {
- "SECCHI": {
- "children": {
- "COR1": {
- "children": {
- "white-light": {
- "description": "White Light",
- "end": "2013-12-01 09:50:00",
- "label": "Measurement",
- "layeringOrder": 2,
- "name": "White Light",
- "nickname": "COR1-A",
- "sourceId": 28,
- "start": "2010-01-01 00:05:00"
- }
- },
- "description": "Coronograph 1",
- "label": "Detector",
- "name": "COR1"
- },
- "COR2": {
- "children": {
- "white-light": {
- "description": "White Light",
- "end": "2013-11-30 23:54:00",
- "label": "Measurement",
- "layeringOrder": 3,
- "name": "White Light",
- "nickname": "COR2-A",
- "sourceId": 29,
- "start": "2010-01-01 00:24:00"
- }
- },
- "description": "Coronograph 2",
- "label": "Detector",
- "name": "COR2"
- },
- "EUVI": {
- "children": {
- "171": {
- "description": "171 Ångström extreme ultraviolet",
- "end": "2013-11-30 22:14:00",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "171 Å",
- "nickname": "EUVI-A 171",
- "sourceId": 20,
- "start": "2010-01-01 00:14:00"
- },
- "195": {
- "description": "195 Ångström extreme ultraviolet",
- "end": "2013-11-30 23:55:30",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "195 Å",
- "nickname": "EUVI-A 195",
- "sourceId": 21,
- "start": "2010-01-01 00:05:30"
- },
- "284": {
- "description": "284 Ångström extreme ultraviolet",
- "end": "2013-11-30 22:16:30",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "284 Å",
- "nickname": "EUVI-A 284",
- "sourceId": 22,
- "start": "2010-01-01 00:16:30"
- },
- "304": {
- "description": "304 Ångström extreme ultraviolet",
- "end": "2013-11-30 23:56:15",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "304 Å",
- "nickname": "EUVI-A 304",
- "sourceId": 23,
- "start": "2010-01-01 00:06:15"
- }
- },
- "description": "Extreme Ultraviolet Imager",
- "label": "Detector",
- "name": "EUVI"
- }
- },
- "description": "Sun Earth Connection Coronal and Heliospheric Investigation",
- "label": "Instrument",
- "name": "SECCHI"
- }
- },
- "description": "Solar Terrestrial Relations Observatory Ahead",
- "label": "Observatory",
- "name": "STEREO_A"
- },
- "STEREO_B": {
- "children": {
- "SECCHI": {
- "children": {
- "COR1": {
- "children": {
- "white-light": {
- "description": "White Light",
- "end": "2013-12-01 03:51:00",
- "label": "Measurement",
- "layeringOrder": 2,
- "name": "White Light",
- "nickname": "COR1-B",
- "sourceId": 30,
- "start": "2010-01-01 00:05:37"
- }
- },
- "description": "Coronograph 1",
- "label": "Detector",
- "name": "COR1"
- },
- "COR2": {
- "children": {
- "white-light": {
- "description": "White Light",
- "end": "2013-11-30 23:55:00",
- "label": "Measurement",
- "layeringOrder": 3,
- "name": "White Light",
- "nickname": "COR2-B",
- "sourceId": 31,
- "start": "2010-01-01 00:24:37"
- }
- },
- "description": "Coronograph 2",
- "label": "Detector",
- "name": "COR2"
- },
- "EUVI": {
- "children": {
- "171": {
- "description": "171 Ångström extreme ultraviolet",
- "end": "2013-11-30 22:15:00",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "171 Å",
- "nickname": "EUVI-B 171",
- "sourceId": 24,
- "start": "2010-01-01 00:07:52"
- },
- "195": {
- "description": "195 Ångström extreme ultraviolet",
- "end": "2013-11-30 23:56:30",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "195 Å",
- "nickname": "EUVI-B 195",
- "sourceId": 25,
- "start": "2010-01-01 00:06:07"
- },
- "284": {
- "description": "284 Ångström extreme ultraviolet",
- "end": "2013-11-30 22:17:30",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "284 Å",
- "nickname": "EUVI-B 284",
- "sourceId": 26,
- "start": "2010-01-01 00:07:07"
- },
- "304": {
- "description": "304 Ångström extreme ultraviolet",
- "end": "2013-11-30 23:57:15",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "304 Å",
- "nickname": "EUVI-B 304",
- "sourceId": 27,
- "start": "2010-01-01 00:06:52"
- }
- },
- "description": "Extreme Ultraviolet Imager",
- "label": "Detector",
- "name": "EUVI"
- }
- },
- "description": "Sun Earth Connection Coronal and Heliospheric Investigation",
- "label": "Instrument",
- "name": "SECCHI"
- }
- },
- "description": "Solar Terrestrial Relations Observatory Behind",
- "label": "Observatory",
- "name": "STEREO_B"
- },
- "Yohkoh": {
- "children": {
- "SXT": {
- "children": {
- "AlMgMn": {
- "description": "Al/Mg/Mn filter (2.4 Å - 32 Å pass band)",
- "end": "2001-12-14 20:58:33",
- "label": "Filter",
- "layeringOrder": 1,
- "name": "AlMgMn",
- "nickname": "SXT AlMgMn",
- "sourceId": 33,
- "start": "1991-09-13 21:53:40"
- },
- "thin-Al": {
- "description": "11.6 μm Al filter (2.4 Å - 13 Å pass band)",
- "end": "2001-12-14 08:20:43",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "Thin Al",
- "nickname": "SXT thin-Al",
- "sourceId": 34,
- "start": "1991-09-13 21:49:24"
- },
- "white-light": {
- "description": "No filter",
- "end": "1992-11-13 17:05:32",
- "label": "Measurement",
- "layeringOrder": 1,
- "name": "White Light",
- "nickname": "SXT white-light",
- "sourceId": 35,
- "start": "1991-09-11 23:02:54"
- }
- },
- "description": "Soft X-ray Telescope",
- "label": "Instrument",
- "name": "SXT"
- }
- },
- "description": "Yohkoh (Solar-A)",
- "label": "Observatory",
- "name": "Yohkoh"
- }
- }
-
-Output the hierarchical list of available datasources in a format that is
-compatible with the JHelioviewer desktop client.
diff --git a/docs/src/source/api/api_groups/official_clients/getTile.rst b/docs/src/source/api/api_groups/official_clients/getTile.rst
deleted file mode 100644
index 2beb4a307..000000000
--- a/docs/src/source/api/api_groups/official_clients/getTile.rst
+++ /dev/null
@@ -1,49 +0,0 @@
-getTile
-^^^^^^^
-GET /v2/getTile/
-
-Request a single image tile to be used in the Helioviewer.org Viewport. Tiles
-are 512x512 pixel PNG images, generated for a given image scale from the
-intermediary JPEG2000 image files.
-
-Use the `getClosestImage` API endpoint to obtain the desired image identifier
-for the `id` parameter.
-
-.. table:: Request Parameters:
-
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +==============+=============+========+============+=======================================================================================================================+
- | id | Required | number | 36275490 | Unique image identifier. |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | x | Required | number | -1 | Tile position. |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | y | Required | number | -1 | Tile position. |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | imageScale | Required | number | 2.42044088 | Image scale in arcseconds per pixel. |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | difference | Optional | number | 0 | | Specify image type difference. |
- | | | | | | 0 - Display regular image. (default) |
- | | | | | | 1 - Running difference image. |
- | | | | | | 2 - Base difference image. |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | diffCount | Optional | number | 60 | Used to display Running difference image. Work with "diffTime" parameter and set amount of time to use in time period |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | diffTime | Optional | number | 1 | | Select Running difference time period: |
- | | | | | | 1 - Minutes; |
- | | | | | | 2 - Hours; |
- | | | | | | 3 - Days; |
- | | | | | | 4 - Weeks; |
- | | | | | | 5 - Month; |
- | | | | | | 6 - Years. |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
- | baseDiffTime | Conditional | number | string | Date/Time string for Base difference images. Required when difference is 1 or 2. |
- +--------------+-------------+--------+------------+-----------------------------------------------------------------------------------------------------------------------+
-
-Example: binary (PNG image data)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/getTile/?id=36275490&x=-1&y=-1&imageScale=2.42044088
diff --git a/docs/src/source/api/api_groups/official_clients/shortenURL.rst b/docs/src/source/api/api_groups/official_clients/shortenURL.rst
deleted file mode 100644
index 9d3eb56e3..000000000
--- a/docs/src/source/api/api_groups/official_clients/shortenURL.rst
+++ /dev/null
@@ -1,50 +0,0 @@
-shortenURL
-^^^^^^^^^^
-GET /v2/shortenURL/
-
-Shorten a Helioviewer.org URL with the bit.ly URL shortening web service.
-
-.. table:: Request Parameters:
-
- +-------------+----------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +=============+==========+========+=============================================================================================================================================================================================================================+===============================================================+
- | queryString | Required | string | date%3D2014-02-25T15%3A18%3A07.000Z%26imageScale%3D2.4204409%26centerX%3D-410.06307838566283%26centerY%3D-244.6662219973343%26imageLayers%3D%255BSDO%2CAIA%2CAIA%2C304%2C1%2C100%255D%26eventLayers%3D%26eventLabels%3Dtrue | URL-encoded link to shorten. (Not only the queryString) |
- +-------------+----------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------+
- | callback | Optional | string | | Wrap the response object in a function call of your choosing. |
- +-------------+----------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------+
-
-Example: Shortened URL (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/shortenURL/?queryString=http://helioviewer.org/?date%3D2014-02-25T15%3A18%3A07.000Z%26imageScale%3D2.4204409%26centerX%3D-410.06307838566283%26centerY%3D-244.6662219973343%26imageLayers%3D%255BSDO%2CAIA%2CAIA%2C304%2C1%2C100%255D%26eventLayers%3D%26eventLabels%3Dtrue
-
-.. code-block::
- :caption: Example Response:
-
- {
- "status_code": 200,
- "status_txt": "OK",
- "data": {
- "long_url": "http://helioviewer.org/?date=2014-02-25T15:18:07.000Z&imageScale=2.4204409¢erX=-410.06307838566283¢erY=-244.6662219973343&imageLayers=[SDO,AIA,AIA,304,1,100]&eventLayers=&eventLabels=true",
- "url": "http://bit.ly/1hbCHMq",
- "hash": "1hbCHMq",
- "global_hash": "1hbCHMr",
- "new_hash": 0
- }
- }
-
-.. table:: Response Description
-
- +-------------+----------+--------+------------------------+
- | Parameter | Required | Type | Description |
- +=============+==========+========+========================+
- | status | Required | string | Link shortener status |
- +-------------+----------+--------+------------------------+
- | status_txt | Required | string | Status text |
- +-------------+----------+--------+------------------------+
- | data | Required | string | Shortened link details |
- +-------------+----------+--------+------------------------+
diff --git a/docs/src/source/api/api_groups/screenshots.rst b/docs/src/source/api/api_groups/screenshots.rst
deleted file mode 100644
index e9918f114..000000000
--- a/docs/src/source/api/api_groups/screenshots.rst
+++ /dev/null
@@ -1,12 +0,0 @@
-Screenshots
------------
-
-The screenshot APIs can be used to generate custom videos of up to three image
-datasource layers composited together. Solar feature/event markers pins,
-extended region polygons, associated text labels, and a size-of-earth scale
-indicator can optionally be overlayed onto a movie.
-
-.. include:: screenshots/takeScreenshot.rst
-.. include:: screenshots/postScreenshot.rst
-.. include:: screenshots/downloadScreenshot.rst
-.. include:: screenshots/getEclipseImage.rst
diff --git a/docs/src/source/api/api_groups/screenshots/downloadScreenshot.rst b/docs/src/source/api/api_groups/screenshots/downloadScreenshot.rst
deleted file mode 100644
index 03bd9e35c..000000000
--- a/docs/src/source/api/api_groups/screenshots/downloadScreenshot.rst
+++ /dev/null
@@ -1,22 +0,0 @@
-downloadScreenshot
-^^^^^^^^^^^^^^^^^^
-GET /v2/downloadScreenshot/
-
-Download a custom screenshot (that was generated using the `takeScreenshot` API
-endpoint).
-
-.. table:: Request Parameters:
-
- +-----------+----------+--------+---------+----------------------------------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +===========+==========+========+=========+========================================================================================+
- | id | Required | number | 3240748 | Unique screenshot identifier (provided by the response to a `takeScreenshot` request). |
- +-----------+----------+--------+---------+----------------------------------------------------------------------------------------+
-
-Example: binary (PNG image data)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/downloadScreenshot/?id=3240748
diff --git a/docs/src/source/api/api_groups/screenshots/getEclipseImage.rst b/docs/src/source/api/api_groups/screenshots/getEclipseImage.rst
deleted file mode 100644
index 57e778019..000000000
--- a/docs/src/source/api/api_groups/screenshots/getEclipseImage.rst
+++ /dev/null
@@ -1,30 +0,0 @@
-getEclipseImage
-^^^^^^^^^^^^^^^
-GET /v2/getEclipseImage/
-
-Generates a grayscale image of LASCO C2 with a preset FOV and optional moon.
-
-.. table:: Request Parameters:
-
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +=============+==========+=========+========================================================+=============================================================================================================================================================================+
- | moon | Optional | boolean | "true" or "false" | Show a moon in the place where the sun would be |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
-Example:
-~~~~~~~~
-
-JSON response to "takeScreenshot" API requests. Assumes that the `display`
-parameter was omitted or set to `false`.
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/getEclipseImage/
-
-.. code-block::
- :caption: Example Response:
-
- Response is an image file.
diff --git a/docs/src/source/api/api_groups/screenshots/postScreenshot.rst b/docs/src/source/api/api_groups/screenshots/postScreenshot.rst
deleted file mode 100644
index 1bec34a03..000000000
--- a/docs/src/source/api/api_groups/screenshots/postScreenshot.rst
+++ /dev/null
@@ -1,215 +0,0 @@
-postScreenshot
-^^^^^^^^^^^^^^
-
-**URL:** ``/v2/postScreenshot/``
-
-**Method:** ``POST``
-
-**Content-Type:** ``application/json``
-
-Generate a custom screenshot with JSON POST request.
-
-You must specify values for either `x1`, `y1`, `x2`, and `y2`
-or `x0`, `y0`, `width` and `height` inside JSON.
-
-By default, the response is a JSON object containing a unique screenshot
-identifier (`id`) that can be used to with the `downloadScreenshot` API endpoint.
-
-Set the `display` parameter to `true` to directly return the screenshot as
-binary PNG image data in the response.
-
-Please note that each request causes the server to generate a screenshot from
-scratch and is resource intensive. For performance reasons, you should cache the
-response if you simply intend to serve exactly the same screenshot to multiple
-users.
-
-Request Format
-~~~~~~~~~~~~~~
-
-The request must be a JSON object with the following structure:
-
-.. code-block:: json
-
- {
- "date" : "2014-01-01T23:59:59Z",
- "imageScale" : 2.4204409,
- "layers" : "[3,1,100]"
- }
-
-Parameters
-~~~~~~~~~~
-
-Request JSON object consist of following parameters
-
-.. list-table:: JSON Request Parameters:
- :header-rows: 1
-
- * - Parameter
- - Required
- - Type
- - Example
- - Description
- * - ``date``
- - Required
- - string
- - 2014-01-01T23:59:59Z
- - Desired date/time of the image. ISO 8601 combined UTC date and time UTC format.
- * - ``imageScale``
- - Required
- - number
- - 2.4204409
- - Image scale in arcseconds per pixel.
- * - ``layers``
- - Required
- - string
- - | [3,1,100]
- | or
- | [3,1,100,2,60,1,2010-03-01T12:12:12.000Z]
- - Image datasource layer(s) to include in the screenshot.
- * - ``eventsState``
- - Optional
- - object
- - | {
- | "tree_HEK": {
- | "labels_visible": true,
- | "layers": [
- | {
- | "event_type": "flare",
- | "frms": ["frm10", "frm20"],
- | "event_instances": ["flare--frm1--event1", "flare--frm2--event2"]
- | }
- | ]
- | },
- | ....
- | }
- - | List feature/event types and FRMs to use to annotate the screenshot. Use the empty string to indicate that no feature/event annotations should be shown.
- | To get more information about this structure, please see document : :ref:`events-state-page`
- * - ``scale``
- - Optional
- - boolean
- - false
- - Optionally overlay an image scale indicator.
- * - ``scaleType``
- - Optional
- - string
- - earth
- - Image scale indicator.
- * - ``scaleX``
- - Optional
- - number
- - -1000
- - Horizontal offset of the image scale indicator in arcseconds with respect to the center of the Sun.
- * - ``scaleY``
- - Optional
- - number
- - -500
- - Vertical offset of the image scale indicator in arcseconds with respect to the center of the Sun.
- * - ``width``
- - Optional
- - string
- - 1920
- - Width of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `height`).
- * - ``height``
- - Optional
- - string
- - 1200
- - Height of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `width`).
- * - ``x0``
- - Optional
- - string
- - 0
- - The horizontal offset of the center of the field of view from the center of the Sun. Used in conjunction with `y0`, `width`, and `height`.
- * - ``y0``
- - Optional
- - string
- - 0
- - The vertical offset of the center of the field of view from the center of the Sun. Used in conjunction with `x0`, `width`, and `height`.
- * - ``x1``
- - Optional
- - string
- - -5000
- - The horizontal offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `y1`, `x2`, and `y2`.
- * - ``y1``
- - Optional
- - string
- - -5000
- - The vertical offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `x2`, and `y2`.
- * - ``x2``
- - Optional
- - string
- - 5000
- - The horizontal offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `y2`.
- * - ``y2``
- - Optional
- - string
- - 5000
- - The vertical offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `x2`.
- * - ``display``
- - Optional
- - boolean
- - false
- - Set to `true` to directly output binary PNG image data. Default is `false` (which outputs a JSON object).
- * - ``watermark``
- - Optional
- - boolean
- - true
- - Optionally overlay a watermark consisting of a Helioviewer logo and the datasource abbreviation(s) and timestamp(s) displayed in the screenshot.
- * - ``callback``
- - Optional
- - string
- -
- - Wrap the response object in a function call of your choosing.
-
-Example: Post Screenshot (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-JSON response to "postScreenshot" API requests. Assumes that the `display`
-parameter was omitted or set to `false`.
-
-.. code-block:: http
- :caption: Example Request:
-
- POST /v2/postScreenshot/ HTTP/1.1
- Host: api.helioviewer.org
-
- Content-Type: application/json
- {
- "date" : "2014-01-01T23:59:59Z",
- "imageScale" : 2.4204409,
- "layers" : "[3,1,100]"
- }
-
-.. code-block:: json
- :caption: Example Response:
-
- {
- "id": 3285980
- }
-
-.. table:: Response Description
-
- +-----------+----------+--------+-----------------------------------------------+
- | Parameter | Required | Type | Description |
- +===========+==========+========+===============================================+
- | id | Required | string | Unique screenshot identifier (e.g. "3285980") |
- +-----------+----------+--------+-----------------------------------------------+
-
-Example: binary (PNG image data)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Set the `display` parameter to `true` to directly return binary PNG image data
-in the response.
-
-.. code-block:: http
- :caption: Example Request:
-
- POST /v2/postScreenshot/ HTTP/1.1
- Host: api.Helioviewer.org
-
- Content-Type: application/json
- {
- "date" : "2014-01-01T23:59:59Z",
- "imageScale" : "2.4204409",
- "layers" : "[3,1,100]",
- "display" : true
- }
diff --git a/docs/src/source/api/api_groups/screenshots/takeScreenshot.rst b/docs/src/source/api/api_groups/screenshots/takeScreenshot.rst
deleted file mode 100644
index c879f2e0d..000000000
--- a/docs/src/source/api/api_groups/screenshots/takeScreenshot.rst
+++ /dev/null
@@ -1,105 +0,0 @@
-takeScreenshot
-^^^^^^^^^^^^^^
-GET /v2/takeScreenshot/
-
-Generate a custom screenshot.
-
-You must specify values for either `x1`, `y1`, `x2`, and `y2`
-or `x0`, `y0`, `width` and `height`.
-
-By default, the response is a JSON object containing a unique screenshot
-identifier (`id`) that can be used to with the `downloadScreenshot` API endpoint.
-
-Set the `display` parameter to `true` to directly return the screenshot as
-binary PNG image data in the response.
-
-Please note that each request causes the server to generate a screenshot from
-scratch and is resource intensive. For performance reasons, you should cache the
-response if you simply intend to serve exactly the same screenshot to multiple
-users.
-
-.. table:: Request Parameters:
-
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Parameter | Required | Type | Example | Description |
- +=============+==========+=========+========================================================+=============================================================================================================================================================================+
- | date | Required | string | 2014-01-01T23:59:59Z | Desired date/time of the image. ISO 8601 combined UTC date and time UTC format. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | imageScale | Required | number | 2.4204409 | Image scale in arcseconds per pixel. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | layers | Required | string | | [3,1,100] | |
- | | | | | or | |
- | | | | | [3,1,100,2,60,1,2010-03-01T12:12:12.000Z] | Image datasource layer(s) to include in the screenshot. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | events | Optional | string | [AR,HMI_HARP;SPoCA,1],[CH,all,1] | List feature/event types and FRMs to use to annoate the movie. Use the empty string to indicate that no feature/event annotations should be shown. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | eventLabels | Optional | boolean | false | Optionally annotate each event marker with a text label. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scale | Optional | boolean | false | Optionally overlay an image scale indicator. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scaleType | Optional | string | earth | Image scale indicator. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scaleX | Optional | number | -1000 | Horizontal offset of the image scale indicator in arcseconds with respect to the center of the Sun. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | scaleY | Optional | number | -500 | Vertical offset of the image scale indicator in arcseconds with respect to the center of the Sun. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | width | Optional | string | 1920 | Width of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `height`). |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | height | Optional | string | 1200 | Height of the field of view in pixels. (Used in conjunction width `x0`,`y0`, and `width`). |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | x0 | Optional | string | 0 | The horizontal offset of the center of the field of view from the center of the Sun. Used in conjunction with `y0`, `width`, and `height`. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | y0 | Optional | string | 0 | The vertical offset of the center of the field of view from the center of the Sun. Used in conjunction with `x0`, `width`, and `height`. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | x1 | Optional | string | -5000 | The horizontal offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `y1`, `x2`, and `y2`. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | y1 | Optional | string | -5000 | The vertical offset of the top-left corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `x2`, and `y2`. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | x2 | Optional | string | 5000 | The horizontal offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `y2`. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | y2 | Optional | string | 5000 | The vertical offset of the bottom-right corner of the field of view with respect to the center of the Sun (in arcseconds). Used in conjunction with `x1`, `y1`, and `x2`. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | display | Optional | boolean | false | Set to `true` to directly output binary PNG image data. Default is `false` (which outputs a JSON object). |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | watermark | Optional | boolean | true | Optionally overlay a watermark consisting of a Helioviewer logo and the datasource abbreviation(s) and timestamp(s) displayed in the screenshot. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | callback | Optional | string | | Wrap the response object in a function call of your choosing. |
- +-------------+----------+---------+--------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
-Example: Take Screenshot (JSON)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-JSON response to "takeScreenshot" API requests. Assumes that the `display`
-parameter was omitted or set to `false`.
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/takeScreenshot/?date=2014-01-01T23:59:59Z&imageScale=2.4204409&layers=[SDO,AIA,AIA,335,1,100]&events=[AR,HMI_HARP;SPoCA,1],[CH,all,1]&eventsLabels=false&x0=0&y0=0&width=1920&height=1200
-
-.. code-block::
- :caption: Example Response:
-
- {
- "id": 3285980
- }
-
-.. table:: Response Description
-
- +-----------+----------+--------+-----------------------------------------------+
- | Parameter | Required | Type | Description |
- +===========+==========+========+===============================================+
- | id | Required | string | Unique screenshot identifier (e.g. "3285980") |
- +-----------+----------+--------+-----------------------------------------------+
-
-Example: binary (PNG image data)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Set the `display` parameter to `true` to directly return binary PNG image data
-in the response.
-
-.. code-block::
- :caption: Example Request:
-
- https://api.helioviewer.org/v2/takeScreenshot/?imageScale=2.4204409&layers=[SDO,AIA,AIA,304,1,100]&events=&eventLabels=true&scale=true&scaleType=earth&scaleX=0&scaleY=0&date=2014-02-25T15:53:00.136Z&x1=-929.2475775696686&x2=106.70112763033143&y1=-970.7984919973343&y2=486.3069298026657&display=true&watermark=true&events=[CH,all,1]
diff --git a/docs/src/source/api/api_groups/solar_features_and_events.rst b/docs/src/source/api/api_groups/solar_features_and_events.rst
deleted file mode 100644
index 8f8751a4d..000000000
--- a/docs/src/source/api/api_groups/solar_features_and_events.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-Solar Features And Events
--------------------------
-
-Helioviewer.org's solar features and events annotation layer is powered by the
-`Heliophysics Events Knowledgebase (HEK)
Please follow us on Twitter for the latest solar and heliospheric news and movies, as well as new Helioviewer Project features.
- ]]> -