Skip to content

Commit 4b532b5

Browse files
committed
replaced dev api endoints in docs with prod api endoints
1 parent 2874f94 commit 4b532b5

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/source/data-access/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The `REST API Specification`_ section describes the various endpoints that are s
1919
*Note: Several sections and links begin with* [WIP]. *As development on the API is ongoing, this indicates
2020
that the full implementation of the functionality is yet to be completed.*
2121

22-
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
2323

2424
Command Line Utility
2525
--------------------
@@ -163,7 +163,7 @@ for example, with ``IMAP_DATA_DIR=/data:``
163163
Data Access URL
164164
^^^^^^^^^^^^^^^
165165

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 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``).
167167

168168
File Validation
169169
---------------
@@ -228,7 +228,7 @@ REST API Specification
228228

229229
.. code-block:: bash
230230
231-
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
232232
233233
**Possible Responses:**
234234

@@ -253,7 +253,7 @@ REST API Specification
253253

254254
.. code-block:: bash
255255
256-
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
257257
258258
**Possible Responses:**
259259

@@ -271,7 +271,7 @@ REST API Specification
271271

272272
.. code-block:: bash
273273
274-
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
275275
276276
**Possible Responses:**
277277

docs/source/data-access/openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.0
22
servers:
33
- description: Development IMAP SDC Server
4-
host: https://api.dev.imap-mission.com/
4+
host: https://api.imap-mission.com/
55
info:
66
version: "0.1.0"
77
title: IMAP SDC API

docs/source/data-access/spice-files.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The IMAP SDC provides two REST API endpoints for accessing SPICE kernel data:
66
a ready-to-use metakernel (or a list of kernel filenames) that covers a
77
requested time range.
88

9-
Both endpoints are accessible from the base URL: ``https://api.dev.imap-mission.com``
9+
Both endpoints are accessible from the base URL: ``https://api.imap-mission.com``
1010

1111
.. _spice-query-endpoint:
1212

@@ -27,15 +27,15 @@ date, or filename.
2727
2828
# Query for all attitude_history kernels covering a time range
2929
curl -X GET -H "Accept: application/json" \
30-
"https://api.dev.imap-mission.com/spice-query?start_time=315576066&end_time=4575787269&type=attitude_history"
30+
"https://api.imap-mission.com/spice-query?start_time=315576066&end_time=4575787269&type=attitude_history"
3131
3232
# Query for a specific kernel by filename
3333
curl -X GET -H "Accept: application/json" \
34-
"https://api.dev.imap-mission.com/spice-query?file_name=naif0012.tls"
34+
"https://api.imap-mission.com/spice-query?file_name=naif0012.tls"
3535
3636
# Query for the latest version of the spacecraft_clock kernel
3737
curl -X GET -H "Accept: application/json" \
38-
"https://api.dev.imap-mission.com/spice-query?type=spacecraft_clock&latest=True"
38+
"https://api.imap-mission.com/spice-query?type=spacecraft_clock&latest=True"
3939
4040
**Possible Responses:**
4141

@@ -102,15 +102,15 @@ returns a JSON list of kernel filenames instead.
102102
103103
# Retrieve a metakernel covering a time range for selected kernel types
104104
curl -X GET -H "Accept: application/json" \
105-
"https://api.dev.imap-mission.com/metakernel?start_time=797949057&end_time=798035454&file_types=leapseconds,attitude_history"
105+
"https://api.imap-mission.com/metakernel?start_time=797949057&end_time=798035454&file_types=leapseconds,attitude_history"
106106
107107
# Get only a list of kernel filenames (no metakernel wrapper)
108108
curl -X GET -H "Accept: application/json" \
109-
"https://api.dev.imap-mission.com/metakernel?start_time=797949057&end_time=798035454&file_types=leapseconds,spacecraft_clock&list_files=True"
109+
"https://api.imap-mission.com/metakernel?start_time=797949057&end_time=798035454&file_types=leapseconds,spacecraft_clock&list_files=True"
110110
111111
# Retrieve a metakernel with a custom spice_path prefix in the output
112112
curl -X GET -H "Accept: application/json" \
113-
"https://api.dev.imap-mission.com/metakernel?start_time=797949057&end_time=798035454&spice_path=/my/path/imap"
113+
"https://api.imap-mission.com/metakernel?start_time=797949057&end_time=798035454&spice_path=/my/path/imap"
114114
115115
**Possible Responses:**
116116

0 commit comments

Comments
 (0)