From d9720f57e261eed19dacb5d916ccc5a60ec66ed0 Mon Sep 17 00:00:00 2001 From: Valerie Coffman <2015436+valerierose@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:46:02 -0700 Subject: [PATCH] doc: members_only flag for channel feeds (#207) --- src/v2/spec.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/v2/spec.yaml b/src/v2/spec.yaml index 9777f9a..23cbf5b 100644 --- a/src/v2/spec.yaml +++ b/src/v2/spec.yaml @@ -4419,7 +4419,13 @@ paths: in: query schema: type: string - description: Used when filter_type=channel_id can be used to fetch all casts under a channel. Requires feed_type and filter_type + description: Used when filter_type=channel_id can be used to fetch casts under a channel. Requires feed_type and filter_type. + - name: members_only + in: query + description: Used when filter_type=channel_id. Only include casts from members of the channel. True by default. + schema: + type: boolean + default: true - name: embed_url in: query schema: @@ -4732,6 +4738,12 @@ paths: schema: type: boolean default: false + - name: members_only + in: query + description: Only include casts from members of the channel. True by default. + schema: + type: boolean + default: true - name: limit in: query description: Number of results to retrieve (default 25, max 100) @@ -4748,6 +4760,7 @@ paths: - name: should_moderate in: query description: If true, only casts that have been liked by the moderator (if one exists) will be returned. + deprecated: true schema: type: boolean default: false