You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added spice documentation
* replaced dev api endoints in docs with prod api endoints
* Update docs/source/data-access/openapi.yml
---------
Co-authored-by: Tim Plummer <timothy.plummer@lasp.colorado.edu>
Copy file name to clipboardExpand all lines: docs/source/data-access/index.rst
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,15 @@ interacting with the API programmatically. It is the preferred way to use the AP
11
11
:maxdepth:1
12
12
13
13
imap-data-access
14
+
spice-files
14
15
15
16
Users may also download, upload, and query via the REST API directly through the browser, or via `curl` commands.
16
17
The `REST API Specification`_ section describes the various endpoints that are supported, and how to use them.
17
18
18
19
*Note: Several sections and links begin with* [WIP]. *As development on the API is ongoing, this indicates
19
20
that the full implementation of the functionality is yet to be completed.*
20
21
21
-
The API can be accessed from the following URL [WIP]: https://api.dev.imap-mission.com
22
+
The API can be accessed from the following URL [WIP]: https://api.imap-mission.com
22
23
23
24
Command Line Utility
24
25
--------------------
@@ -162,7 +163,7 @@ for example, with ``IMAP_DATA_DIR=/data:``
162
163
Data Access URL
163
164
^^^^^^^^^^^^^^^
164
165
165
-
To change the default URL that the package accesses, you can set the environment variable ``IMAP_DATA_ACCESS_URL`` or within the package ``imap_data_access.config["DATA_ACCESS_URL"]``. The default is the development server (``https://api.dev.imap-mission.com``).
166
+
To change the default URL that the package accesses, you can set the environment variable ``IMAP_DATA_ACCESS_URL`` or within the package ``imap_data_access.config["DATA_ACCESS_URL"]``. The default is the production server (``https://api.imap-mission.com``).
166
167
167
168
File Validation
168
169
---------------
@@ -227,7 +228,7 @@ REST API Specification
227
228
228
229
.. code-block:: bash
229
230
230
-
curl -X GET -H "Accept: application/json" https://api.dev.imap-mission.com/upload/imap/swe/l0/2024/01/imap_swe_l0_sci_20240105_20240105_v00-01.pkts
231
+
curl -X GET -H "Accept: application/json" https://api.imap-mission.com/upload/imap/swe/l0/2024/01/imap_swe_l0_sci_20240105_20240105_v00-01.pkts
231
232
232
233
**Possible Responses:**
233
234
@@ -252,7 +253,7 @@ REST API Specification
252
253
253
254
.. code-block:: bash
254
255
255
-
curl -X GET -H "Accept: application/json" https://api.dev.imap-mission.com/download/imap/swe/l0/2024/01/imap_swe_l0_sci_20240105_20240105_v00-01.pkts
256
+
curl -X GET -H "Accept: application/json" https://api.imap-mission.com/download/imap/swe/l0/2024/01/imap_swe_l0_sci_20240105_20240105_v00-01.pkts
256
257
257
258
**Possible Responses:**
258
259
@@ -270,7 +271,7 @@ REST API Specification
270
271
271
272
.. code-block:: bash
272
273
273
-
curl -X GET -H "Accept: application/json" https://api.dev.imap-mission.com/query?instrument=swe&data_level=l0&descriptor=sci&start_date=20240105&end_date=20240105&extension=pkts
274
+
curl -X GET -H "Accept: application/json" https://api.imap-mission.com/query?instrument=swe&data_level=l0&descriptor=sci&start_date=20240105&end_date=20240105&extension=pkts
0 commit comments