Skip to content

Commit df33a12

Browse files
committed
docs
1 parent 849df99 commit df33a12

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/useCases.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ The different use cases currently available in the package are classified below,
7575
- [Get Dataverse Backend Version](#get-dataverse-backend-version)
7676
- [Get Maximum Embargo Duration In Months](#get-maximum-embargo-duration-in-months)
7777
- [Get ZIP Download Limit](#get-zip-download-limit)
78+
- [Get Application Terms of Use](#get-application-terms-of-use)
7879
- [Contact](#Contact)
7980
- [Send Feedback to Object Contacts](#send-feedback-to-object-contacts)
8081

@@ -1781,6 +1782,26 @@ getZipDownloadLimit.execute().then((downloadLimit: number) => {
17811782

17821783
_See [use case](../src/info/domain/useCases/GetZipDownloadLimit.ts) implementation_.
17831784

1785+
#### Get Application Terms of Use
1786+
1787+
Returns the Application Terms of Use. If you have enabled Internationalization you can pass a two-character language code (e.g. “en”) as the lang parameter.
1788+
1789+
##### Example call:
1790+
1791+
```typescript
1792+
import { getApplicationTermsOfUse } from '@iqss/dataverse-client-javascript'
1793+
1794+
/* ... */
1795+
1796+
getApplicationTermsOfUse.execute().then((termsOfUse: string) => {
1797+
/* ... */
1798+
})
1799+
1800+
/* ... */
1801+
```
1802+
1803+
_See [use case](../src/info/domain/useCases/GetApplicationTermsOfUse.ts) implementation_.
1804+
17841805
## Contact
17851806

17861807
#### Send Feedback to Object Contacts

0 commit comments

Comments
 (0)