From e131d95dd3d03322669060bd0b25778c5c5e9614 Mon Sep 17 00:00:00 2001 From: Rafael Gutkowski Date: Tue, 7 Jan 2025 18:17:45 -0600 Subject: [PATCH 1/3] Include disabled tokens in response [NEYN-3985] --- src/v2/spec.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/v2/spec.yaml b/src/v2/spec.yaml index 76b0868..990f07f 100644 --- a/src/v2/spec.yaml +++ b/src/v2/spec.yaml @@ -1,7 +1,7 @@ openapi: 3.1.0 info: title: Farcaster API V2 - version: "2.7.1" + version: "2.8.0" description: > The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details. @@ -3325,11 +3325,16 @@ components: type: object required: - notification_deliveries + - disabled_fids properties: notification_deliveries: type: array items: $ref: "#/components/schemas/NotificationDelivery" + disabled_fids: + type: array + items: + $ref: "#/components/schemas/Fid" NotificationDelivery: type: object required: From 520e042931d4390c695567926de0ccd9e358601c Mon Sep 17 00:00:00 2001 From: Rafael Gutkowski Date: Thu, 9 Jan 2025 11:29:37 -0600 Subject: [PATCH 2/3] Update NotificationDelivery --- src/v2/spec.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/v2/spec.yaml b/src/v2/spec.yaml index 990f07f..12da450 100644 --- a/src/v2/spec.yaml +++ b/src/v2/spec.yaml @@ -1,7 +1,7 @@ openapi: 3.1.0 info: title: Farcaster API V2 - version: "2.8.0" + version: "2.8.1" description: > The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details. @@ -3325,16 +3325,11 @@ components: type: object required: - notification_deliveries - - disabled_fids properties: notification_deliveries: type: array items: $ref: "#/components/schemas/NotificationDelivery" - disabled_fids: - type: array - items: - $ref: "#/components/schemas/Fid" NotificationDelivery: type: object required: @@ -3353,6 +3348,7 @@ components: enum: - success - token_not_found + - token_disabled - failed ValidateFrameActionResponse: type: object From d0c474a69dd8c0a77744d9bd0d09d8c3b5cccd87 Mon Sep 17 00:00:00 2001 From: Rafael Gutkowski Date: Thu, 9 Jan 2025 17:18:20 -0600 Subject: [PATCH 3/3] Remove old field --- src/v2/spec.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/v2/spec.yaml b/src/v2/spec.yaml index 28898eb..786a3a1 100644 --- a/src/v2/spec.yaml +++ b/src/v2/spec.yaml @@ -3326,16 +3326,11 @@ components: type: object required: - notification_deliveries - - disabled_fids properties: notification_deliveries: type: array items: $ref: "#/components/schemas/NotificationDelivery" - disabled_fids: - type: array - items: - $ref: "#/components/schemas/Fid" NotificationDelivery: type: object required: