Skip to content

Commit 23a4d9b

Browse files
authored
Merge pull request #10587 from IQSS/10580-pid
fix API Guide typo, add $ to env var
2 parents 34ed8d8 + 44d9daf commit 23a4d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/sphinx-guides/source/api/native-api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ See also :ref:`batch-exports-through-the-api` and the note below:
11791179
export PERSISTENT_IDENTIFIER=doi:10.5072/FK2/J8SJZB
11801180
export METADATA_FORMAT=ddi
11811181
1182-
curl "$SERVER_URL/api/datasets/export?exporter=$METADATA_FORMAT&persistentId=PERSISTENT_IDENTIFIER"
1182+
curl "$SERVER_URL/api/datasets/export?exporter=$METADATA_FORMAT&persistentId=$PERSISTENT_IDENTIFIER"
11831183
11841184
The fully expanded example above (without environment variables) looks like this:
11851185

0 commit comments

Comments
 (0)