added note about core resources using /api and added path examples
This commit is contained in:
parent
68aa2e12bd
commit
12098cf842
|
|
@ -83,6 +83,16 @@ namespace (`/apis/GROUP/VERSION/namespaces/NAMESPACE/*`). A namespace-scoped res
|
|||
type will be deleted when its namespace is deleted and access to that resource type
|
||||
is controlled by authorization checks on the namespace scope.
|
||||
|
||||
Note: core resources use `/api` instead of `/apis` and omit the GROUP path segment.
|
||||
|
||||
Examples:
|
||||
* `/api/v1/namespaces`
|
||||
* `/api/v1/pods`
|
||||
* `/api/v1/namespaces/my-namespace/pods`
|
||||
* `/apis/apps/v1/deployments`
|
||||
* `/apis/apps/v1/namespaces/my-namespace/deployments`
|
||||
* `/apis/apps/v1/namespaces/my-namespace/deployments/my-deployment`
|
||||
|
||||
You can also access collections of resources (for example: listing all Nodes).
|
||||
The following paths are used to retrieve collections and resources:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue