Skip to content

Commit

Permalink
spec for /feed/user (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishavmukherji authored Jan 9, 2024
1 parent d4a4091 commit 8fa29d5
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fa29d5

Please sign in to comment.