Skip to content

Commit

Permalink
adding channel search to OAS
Browse files Browse the repository at this point in the history
  • Loading branch information
rishavmukherji committed Dec 19, 2023
1 parent ce79f26 commit f00d290
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,31 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ChannelListResponse"
/farcaster/channel/search:
get:
tags:
- Channel
summary: Search for channels based on id or name
description: Returns a list of channels based on id or name
externalDocs:
url: https://docs.neynar.com/reference/search-channels
operationId: search-channels
parameters:
- $ref: "#/components/parameters/ApiKey"
- name: q
in: query
required: true
schema:
type: string
example: "neynar"
description: Channel ID or name for the channel being queried
responses:
"200":
description: Successful response
content:
application/json:
schema:
$ref: "#/components/schemas/ChannelListResponse"
/farcaster/channel:
get:
tags:
Expand Down

0 comments on commit f00d290

Please sign in to comment.