diff --git a/src/v2/spec.yaml b/src/v2/spec.yaml index c5b157b..3d98301 100644 --- a/src/v2/spec.yaml +++ b/src/v2/spec.yaml @@ -1333,6 +1333,57 @@ paths: $ref: "#/components/schemas/FeedResponse" "400": $ref: "#/components/responses/400Response" + /farcaster/feed/user: + get: + summary: Retrieve feed based on user fid + externalDocs: + url: https://docs.neynar.com/reference/feed-user + operationId: feed-user + tags: + - Feed + parameters: + - $ref: "#/components/parameters/ApiKey" + - name: fid + in: query + required: true + example: 3 + schema: + $ref: "#/components/schemas/Fid" + description: fid of user whose feed you want to create + - name: with_recasts + in: query + description: Include recasts in the response, true by default + schema: + type: boolean + default: true + - name: with_replies + in: query + description: Include replies in the response, false by default + schema: + type: boolean + default: false + - name: limit + in: query + description: Number of results to retrieve (default 25, max 100) + schema: + type: integer + default: 25 + minimum: 1 + maximum: 100 + - name: cursor + in: query + description: Pagination cursor. + schema: + type: string + responses: + "200": + description: Successful operation. + content: + application/json: + schema: + $ref: "#/components/schemas/FeedResponse" + "400": + $ref: "#/components/responses/400Response" /farcaster/feed/channels: get: summary: Retrieve feed based on channel ids