From 128a075f4c91be7f43480e8460490c4939f678a2 Mon Sep 17 00:00:00 2001 From: Nick Snyder Date: Fri, 31 May 2024 13:33:51 -0700 Subject: [PATCH] Clarify that filters are additive --- buf/registry/module/v1/commit_service.proto | 2 +- buf/registry/module/v1/label_service.proto | 2 +- buf/registry/module/v1beta1/commit_service.proto | 2 +- buf/registry/module/v1beta1/label_service.proto | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buf/registry/module/v1/commit_service.proto b/buf/registry/module/v1/commit_service.proto index 4090f2ee..9cdced97 100644 --- a/buf/registry/module/v1/commit_service.proto +++ b/buf/registry/module/v1/commit_service.proto @@ -75,7 +75,7 @@ message ListCommitsRequest { // // See the documentation on Ref for resource resolution details. // - // Once the resource is resolved, the following Commits are listed: + // Once the resource is resolved, the following Commits are listed (subject to any additional filters in the request): // - If a Module is referenced, all Commits for the Module are returned. // - If a Label is referenced, the Commit the Label points to is returned. // Use ListLabelHistory to get the history of Commits for a Label. diff --git a/buf/registry/module/v1/label_service.proto b/buf/registry/module/v1/label_service.proto index 7035eb44..32aa5c6c 100644 --- a/buf/registry/module/v1/label_service.proto +++ b/buf/registry/module/v1/label_service.proto @@ -108,7 +108,7 @@ message ListLabelsRequest { // // See the documentation on Ref for resource resolution details. // - // Once the resource is resolved, the following Labels are listed: + // Once the resource is resolved, the following Labels are listed (subject to any additional filters in the request): // - If a Module is referenced, all Labels for the Module are returned. // - If a Label is referenced, this Label is returned. // - If a Commit is referenced, all Labels that currently point to the Commit are returned. Note that diff --git a/buf/registry/module/v1beta1/commit_service.proto b/buf/registry/module/v1beta1/commit_service.proto index b26a0479..58c627ff 100644 --- a/buf/registry/module/v1beta1/commit_service.proto +++ b/buf/registry/module/v1beta1/commit_service.proto @@ -83,7 +83,7 @@ message ListCommitsRequest { // // See the documentation on Ref for resource resolution details. // - // Once the resource is resolved, the following Commits are listed: + // Once the resource is resolved, the following Commits are listed (subject to any additional filters in the request): // - If a Module is referenced, all Commits for the Module are returned. // - If a Label is referenced, the Commit the Label points to is returned. // Use ListLabelHistory to get the history of Commits for a Label. diff --git a/buf/registry/module/v1beta1/label_service.proto b/buf/registry/module/v1beta1/label_service.proto index bf37e20c..2cbc0864 100644 --- a/buf/registry/module/v1beta1/label_service.proto +++ b/buf/registry/module/v1beta1/label_service.proto @@ -109,7 +109,7 @@ message ListLabelsRequest { // // See the documentation on Ref for resource resolution details. // - // Once the resource is resolved, the following Labels are listed: + // Once the resource is resolved, the following Labels are listed (subject to any additional filters in the request): // - If a Module is referenced, all Labels for the Module are returned. // - If a Label is referenced, this Label is returned. // - If a Commit is referenced, all Labels that currently point to the Commit are returned. Note that