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
Copy file name to clipboardExpand all lines: docs/useCases.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -567,6 +567,37 @@ The `datasetId` parameter can be a string, for persistent identifiers, or a numb
567
567
568
568
There is an optional third parameter called `includeDeaccessioned`, which indicates whether to consider deaccessioned versions or not in the dataset search. If not set, the default value is `false`.
569
569
570
+
#### Get Dataset Citation In Other Formats
571
+
572
+
Retrieves the citation for a dataset in a specified bibliographic format.
Supported formats include 'EndNote' (XML), 'RIS' (plain text), 'BibTeX' (plain text), 'CSLJson' (JSON), and 'Internal' (HTML). The response contains the raw citation content in the requested format, the format type, and the content type (MIME type).
596
+
597
+
The `datasetId` parameter can be a string, for persistent identifiers, or a number, for numeric identifiers.
598
+
599
+
There is an optional third parameter called `includeDeaccessioned`, which indicates whether to consider deaccessioned versions or not in the dataset search. If not set, the default value is `false`.
600
+
570
601
#### Get Dataset Citation Text By Private URL Token
571
602
572
603
Returns the Dataset citation text, given an associated Private URL Token.
* Returns the dataset citation in the specified format.
16
+
*
17
+
* @param {number | string} datasetId - The dataset identifier.
18
+
* @param {string | DatasetNotNumberedVersion} [datasetVersionId=DatasetNotNumberedVersion.LATEST] - The dataset version identifier, which can be a version-specific string (e.g., '1.0') or a DatasetNotNumberedVersion enum value. Defaults to LATEST.
19
+
* @param {CitationFormat} format - The citation format to return. One of: 'EndNote', 'RIS', 'BibTeX', 'CSLJson', 'Internal'.
20
+
* @param {boolean} [includeDeaccessioned=false] - Whether to include deaccessioned versions in the search. Defaults to false.
21
+
* @returns {Promise<FormattedCitation>} The citation content, format, and content type.
0 commit comments