diff options
author | Alex <alex@adnab.me> | 2023-11-29 15:42:46 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-11-29 15:42:46 +0000 |
commit | a8b0e01f88b947bc34c05d818d51860b4d171967 (patch) | |
tree | 874f7a7c85901b96d1d8b725a3abf2ddb65c9d64 /doc/book/build/javascript.md | |
parent | ffa659433d45d5186acc618134c5561bf9b21f37 (diff) | |
parent | 80886906507ba12586874ec66ef683139108cbcf (diff) | |
download | garage-a8b0e01f88b947bc34c05d818d51860b4d171967.tar.gz garage-a8b0e01f88b947bc34c05d818d51860b4d171967.zip |
Merge pull request 'OpenAPI specification of admin APIv1' (#672) from api-v1 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/672
Diffstat (limited to 'doc/book/build/javascript.md')
-rw-r--r-- | doc/book/build/javascript.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/book/build/javascript.md b/doc/book/build/javascript.md index ff009ffe..a065c595 100644 --- a/doc/book/build/javascript.md +++ b/doc/book/build/javascript.md @@ -31,9 +31,9 @@ npm install --save git+https://git.deuxfleurs.fr/garage-sdk/garage-admin-sdk-js. A short example: ```javascript -const garage = require('garage_administration_api_v0garage_v0_8_0'); +const garage = require('garage_administration_api_v1garage_v0_9_0'); -const api = new garage.ApiClient("http://127.0.0.1:3903/v0"); +const api = new garage.ApiClient("http://127.0.0.1:3903/v1"); api.authentications['bearerAuth'].accessToken = "s3cr3t"; const [node, layout, key, bucket] = [ |