diff options
| author | bjhaid <abejideayodele@gmail.com> | 2020-12-17 14:03:18 -0600 |
|---|---|---|
| committer | bjhaid <abejideayodele@gmail.com> | 2020-12-17 14:03:18 -0600 |
| commit | 2199f730a519076f0eb231c166c9fd48289b2873 (patch) | |
| tree | d5de2d1790d8bf1c8ecff2b7fe82d28c6215a1ed | |
| parent | ecbc73a875f2c410c51a293bfa183c4ea777ed79 (diff) | |
Add an entry for `DELETE` on a collection of resources.
This adds an entry that matches the `GET` on a list of resources.
| -rw-r--r-- | contributors/devel/sig-architecture/api-conventions.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contributors/devel/sig-architecture/api-conventions.md b/contributors/devel/sig-architecture/api-conventions.md index 3784f78e..27b357cb 100644 --- a/contributors/devel/sig-architecture/api-conventions.md +++ b/contributors/devel/sig-architecture/api-conventions.md @@ -630,11 +630,13 @@ duration in seconds before the object should be deleted. Individual kinds may declare fields which provide a default grace period, and different kinds may have differing kind-wide default grace periods. A user provided grace period overrides a default grace period, including the zero grace period ("now"). +* DELETE /<resourceNamePlural> - Deletes a list of type +<resourceName>, e.g. DELETE /pods a list of Pods. * PUT /<resourceNamePlural>/<name> - Update or create the resource with the given name with the JSON object provided by the client. * PATCH /<resourceNamePlural>/<name> - Selectively modify the specified fields of the resource. See more information [below](#patch-operations). -* GET /<resourceNamePlural>&watch=true - Receive a stream of JSON +* GET /<resourceNamePlural>?watch=true - Receive a stream of JSON objects corresponding to changes made to any resource of the given kind over time. |
