forked from hashicorp/vault
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed unpublished:true for sys/internal/* endpoints (hashicorp#12713)
* removed unpublished:true for sys/internal/* endpoints * added changelog file * updated change log and added placeholder summary as these endpoints are not mentioned in docs. * added documentation for internal/ui/namspaces and resultant-acl * updated log configs
- Loading branch information
1 parent
2b3107f
commit 9eb9bed
Showing
5 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
http: removed unpublished true from logical_system path, making openapi spec consistent with documentation | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
website/content/api-docs/system/internal-ui-namespaces.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
layout: api | ||
page_title: /sys/internal/ui/namespaces - HTTP API | ||
description: >- | ||
The `/sys/internal/ui/namespaces` endpoint exposes namespaces to the UI. | ||
--- | ||
|
||
# `/sys/internal/ui/namespaces` | ||
|
||
The `/sys/internal/ui/namespaces` endpoint is used to expose namespaces | ||
to the UI so that it can change its behavior in response, even before a user logs in. | ||
|
||
This is currently only being used internally for the UI and is | ||
an unauthenticated endpoint. Due to the nature of its intended usage, there is no | ||
guarantee on backwards compatibility for this endpoint. | ||
|
||
## Get Namespaces | ||
|
||
This endpoint lists the namespaces relevant to the UI. | ||
|
||
| Method | Path | | ||
| :----- | :------------------------------- | | ||
| `GET` | `/sys/internal/ui/namespaces` | | ||
|
||
### Sample Request | ||
|
||
```shell-session | ||
$ curl \ | ||
http://127.0.0.1:8200/v1/sys/internal/ui/namespaces | ||
``` | ||
|
||
### Sample Response | ||
|
||
```json | ||
{ | ||
"namespaces": [] | ||
} | ||
``` |
38 changes: 38 additions & 0 deletions
38
website/content/api-docs/system/internal-ui-resultant-acl.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
layout: api | ||
page_title: /sys/internal/ui/resultant-acl - HTTP API | ||
description: >- | ||
The `/sys/internal/ui/resultant-acl` endpoint exposes resultant-acl to the UI. | ||
--- | ||
|
||
# `/sys/internal/ui/resultant-acl` | ||
|
||
The `/sys/internal/ui/resultant-acl` endpoint is used to expose resultant-acl | ||
to the UI so that it can change its behavior in response, even before a user logs in. | ||
|
||
This is currently only being used internally for the UI and is | ||
an unauthenticated endpoint. Due to the nature of its intended usage, there is no | ||
guarantee on backwards compatibility for this endpoint. | ||
|
||
## Get Resultant-acl | ||
|
||
This endpoint lists the resultant-acl relevant to the UI. | ||
|
||
| Method | Path | | ||
| :----- | :------------------------------- | | ||
| `GET` | `/sys/internal/ui/resultant-acl` | | ||
|
||
### Sample Request | ||
|
||
```shell-session | ||
$ curl \ | ||
http://127.0.0.1:8200/v1/sys/internal/ui/resultant-acl | ||
``` | ||
|
||
### Sample Response | ||
|
||
```json | ||
{ | ||
"resultant-acl": [] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters