From 2199f730a519076f0eb231c166c9fd48289b2873 Mon Sep 17 00:00:00 2001 From: bjhaid Date: Thu, 17 Dec 2020 14:03:18 -0600 Subject: [PATCH] Add an entry for `DELETE` on a collection of resources. This adds an entry that matches the `GET` on a list of resources. --- contributors/devel/sig-architecture/api-conventions.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contributors/devel/sig-architecture/api-conventions.md b/contributors/devel/sig-architecture/api-conventions.md index 3784f78eb..27b357cb3 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.