Merge pull request #1816 from l0ll098/patch-1

Some fixes in secrets_api docs
This commit is contained in:
Ori Zohar 2021-09-28 09:23:06 -07:00 committed by GitHub
commit 9f52c73250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -95,14 +95,14 @@ Code | Description
### Examples ### Examples
```shell ```shell
curl http://localhost:3500/v1.0/secrets/vault/db-secret \ curl http://localhost:3500/v1.0/secrets/vault/db-secret
``` ```
```shell ```shell
curl http://localhost:3500/v1.0/secrets/vault/db-secret?metadata.version_id=15&metadata.version_stage=AAA \ curl http://localhost:3500/v1.0/secrets/vault/db-secret?metadata.version_id=15&metadata.version_stage=AAA
``` ```
> Note, in case of deploying into namespace other than default`, the above query will also have to include the namespace metadata (e.g. `production` below) > Note, in case of deploying into namespace other than default, the above query will also have to include the namespace metadata (e.g. `production` below)
```shell ```shell
curl http://localhost:3500/v1.0/secrets/vault/db-secret?metadata.version_id=15&?metadata.namespace=production curl http://localhost:3500/v1.0/secrets/vault/db-secret?metadata.version_id=15&?metadata.namespace=production
@ -165,7 +165,7 @@ Code | Description
### Examples ### Examples
```shell ```shell
curl http://localhost:3500/v1.0/secrets/vault/bulk \ curl http://localhost:3500/v1.0/secrets/vault/bulk
``` ```
```json ```json