From d67f43d19fc4dc3d3ba380036fe7afb67ba5ed30 Mon Sep 17 00:00:00 2001 From: Shreyaschorge Date: Thu, 12 Dec 2024 00:20:40 +0530 Subject: [PATCH] Update RegisterUserResponse schema --- src/v2/spec.yaml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/src/v2/spec.yaml b/src/v2/spec.yaml index 0012e27..9b96879 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.2.0" + version: "2.2.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. @@ -2166,6 +2166,24 @@ components: $ref: "#/components/schemas/CastWithInteractions" next: $ref: "#/components/schemas/NextCursor" + SharedSignerPermission: + type: string + enum: + - WRITE_ALL + - READ_ONLY + - NONE + - PUBLISH_CAST + - DELETE_CAST + - PUBLISH_REACTION + - DELETE_REACTION + - UPDATE_PROFILE + - FOLLOW_USER + - UNFOLLOW_USER + - FOLLOW_CHANNEL + - UNFOLLOW_CHANNEL + - ADD_VERIFICATION + - REMOVE_VERIFICATION + - WRITE_FRAME_ACTION Signer: type: object required: @@ -2188,6 +2206,10 @@ components: type: string fid: $ref: "#/components/schemas/Fid" + permissions: + type: array + items: + $ref: "#/components/schemas/SharedSignerPermission" DeveloperManagedSigner: type: object required: @@ -3316,6 +3338,8 @@ components: type: string signer: $ref: "#/components/schemas/Signer" + user: + $ref: "#/components/schemas/User" MuteRecord: type: object required: