Skip to content

Commit a8b1e10

Browse files
committed
Improve the seismic doc more
1 parent 8884344 commit a8b1e10

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

articles/energy-data-services/tutorial-seismic-ddms.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ For more information about DDMS, see [DDMS concepts](concepts-ddms.md).
3535

3636
To proceed, gather the following details from your [Azure Data Manager for Energy instance](quickstart-create-microsoft-energy-data-services-instance.md) via the [Azure portal](https://portal.azure.com/?microsoft_azure_marketplace_ItemHideKey=Microsoft_Azure_OpenEnergyPlatformHidden):
3737

38-
| Parameter | Description | Example |
39-
| ------------------ | -------------------------- |-------------------------------------- |
40-
| `client_id` | Application (client) ID | `00001111-aaaa-2222-bbbb-3333cccc4444`|
41-
| `client_secret` | Client secret | `_fl******************` |
42-
| `tenant_id` | Directory (tenant) ID | `72f988bf-86f1-41af-91ab-xxxxxxxxxxxx`|
43-
| `base_url` | Instance URL | `https://<instance>.energy.azure.com` |
44-
| `data_partition_id`| Data partition name | `opendes` |
38+
| Parameter | Description | Example | Where to find this value |
39+
| ------------------ | -------------------------- |-------------------------------------- |-------------------------------------- |
40+
| `client_id` | Application (client) ID | `00001111-aaaa-2222-bbbb-3333cccc4444`| You use this app or client ID when registering the application with the Microsoft identity platform. See [Register an application](../active-directory/develop/quickstart-register-app.md#register-an-application)|
41+
| `client_secret` | Client secret | `_fl******************` |Sometimes called an *application password*, a client secret is a string value that your app can use in place of a certificate to identity itself. See [Add a client secret](../active-directory/develop/quickstart-register-app.md#add-a-client-secret).|
42+
| `tenant_id` | Directory (tenant) ID | `72f988bf-86f1-41af-91ab-xxxxxxxxxxxx`|Hover over your account name in the Azure portal to get the directory or tenant ID. Alternately, search for and select **Microsoft Entra ID** > **Properties** > **Tenant ID** in the Azure portal. |
43+
| `base_url` | Instance URL | `https://<instance>.energy.azure.com` |Find this value on the overview page of the Azure Data Manager for Energy instance.|
44+
| `data_partition_id`| Data partition name | `opendes` |Find this value on the overview page of the Azure Data Manager for Energy instance.|
45+
| `access_token` | Access token value | `0.ATcA01-XWHdJ0ES-qDevC6r...........`|Follow [How to generate auth token](how-to-generate-auth-token.md) to create a access token and save it.|
4546

4647
## Use Seismic DDMS APIs to store and retrieve seismic data
4748

@@ -54,7 +55,7 @@ API: **Setup** > **Create Legal Tag for SDMS**
5455
```bash
5556
curl --request POST \
5657
--url https://{base_url}/api/legal/v1/legaltags \
57-
--header 'Authorization: Bearer {access-token}' \
58+
--header 'Authorization: Bearer {access_token}' \
5859
--header 'Content-Type: application/json' \
5960
--header 'Data-Partition-Id: {data_partition_id}' \
6061
--data '{
@@ -113,7 +114,7 @@ curl --request GET \
113114
```
114115

115116
**Sample Response:**
116-
```json
117+
```bash
117118
service OK
118119
```
119120

@@ -133,7 +134,7 @@ API: **Tenant** > **Register a seismic-dms tenant**
133134
curl --request POST \
134135
--url https://{base_url}/seistore-svc/api/v3/tenant/{data_partition_id} \
135136
--header 'Accept: application/json' \
136-
--header 'Authorization: Bearer {access-token}' \
137+
--header 'Authorization: Bearer {access_token}' \
137138
--header 'Content-Type: application/json' \
138139
--data '{
139140
"gcpid": "{data_partition_id}",
@@ -165,7 +166,7 @@ API: **Subproject** > **Create a new subproject**
165166
curl --request POST \
166167
--url https://{base_url}/seistore-svc/api/v3/subproject/tenant/{data_partition_id}/subproject/{sesimic_subproject} \
167168
--header 'Accept: application/json' \
168-
--header 'Authorization: Bearer {access-token}' \
169+
--header 'Authorization: Bearer {access_token}' \
169170
--header 'Content-Type: application/json' \
170171
--header 'ltag: opendes-Seismic-Legal-Tag-Test999943387766' \
171172
--data '{
@@ -207,7 +208,7 @@ API: **Dataset** > **Register a new dataset**
207208
curl --request POST \
208209
--url https://{base_url}/seistore-svc/api/v3/dataset/tenant/{data_partition_id}/subproject/{seismic_subproject}/dataset/{dataset_name} \
209210
--header 'Accept: application/json' \
210-
--header 'Authorization: Bearer {access-token}' \
211+
--header 'Authorization: Bearer {access_token}' \
211212
--header 'Content-Type: application/json' \
212213
--header 'ltag: {legal_tag}' \
213214
--data '{
@@ -268,10 +269,10 @@ API: **Applications** > **Register a new application**
268269
```bash
269270
curl --request POST \
270271
--url 'https://{base_url}/seistore-svc/api/v3/app?email={email}&sdpath={sdpath}' \
271-
--header 'Authorization: Bearer {access-token}'
272+
--header 'Authorization: Bearer {access_token}'
272273
```
273274
**Sample Response:**
274-
```json
275+
```bash
275276
Status Code: 200
276277
```
277278

0 commit comments

Comments
 (0)