Skip to content

Commit

Permalink
feat: add experimental header param to endpoints that return user lis…
Browse files Browse the repository at this point in the history
…ts (#253)
  • Loading branch information
valerierose authored Nov 7, 2024
1 parent b051c77 commit 7f5df01
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3983,9 +3983,6 @@ tags:
description: Operations related to a ban

paths:
/{path}:
parameters:
- $ref: "#/components/parameters/NeynarExperimentalHeader"
/farcaster/user/fid:
get:
tags:
Expand All @@ -3995,6 +3992,8 @@ paths:
externalDocs:
url: https://docs.neynar.com/reference/get-fresh-account-fid
operationId: get-fresh-account-FID
parameters:
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -4185,6 +4184,7 @@ paths:
description: Pagination cursor.
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -4219,6 +4219,7 @@ paths:
example: 3
schema:
$ref: "#/components/schemas/Fid"
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -4261,6 +4262,7 @@ paths:
description: Pagination cursor.
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand All @@ -4279,6 +4281,8 @@ paths:
externalDocs:
url: https://docs.neynar.com/reference/fetch-power-users-lite
operationId: fetch-power-users-lite
parameters:
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -4333,6 +4337,7 @@ paths:
example: 3
schema:
$ref: "#/components/schemas/Fid"
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -6004,6 +6009,7 @@ paths:
example: 3
schema:
$ref: "#/components/schemas/Fid"
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -6065,6 +6071,7 @@ paths:
schema:
type: string
description: Pagination cursor
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -6564,6 +6571,7 @@ paths:
required: false
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful response
Expand Down Expand Up @@ -6903,6 +6911,7 @@ paths:
minimum: 1
maximum: 1000
x-is-limit-param: true
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful response
Expand Down Expand Up @@ -6936,6 +6945,7 @@ paths:
example: 3
schema:
$ref: "#/components/schemas/Fid"
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
200:
description: Successful response
Expand Down Expand Up @@ -7082,6 +7092,7 @@ paths:
description: Pagination cursor.
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful response
Expand Down Expand Up @@ -7115,6 +7126,7 @@ paths:
description: The FID of the user to customize this response for. Providing this will also return a list of followers that respects this user's mutes and blocks and includes `viewer_context`.
schema:
$ref: "#/components/schemas/Fid"
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
200:
description: Successful response
Expand Down Expand Up @@ -7169,6 +7181,7 @@ paths:
description: Pagination cursor.
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -7215,6 +7228,7 @@ paths:
maximum: 100
example: 25
x-is-limit-param: true
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: Successful operation.
Expand Down Expand Up @@ -7608,6 +7622,7 @@ paths:
required: false
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: successful operation
Expand Down Expand Up @@ -7717,6 +7732,7 @@ paths:
required: false
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: successful operation
Expand Down Expand Up @@ -7812,6 +7828,7 @@ paths:
required: false
schema:
type: string
- $ref: "#/components/parameters/NeynarExperimentalHeader"
responses:
"200":
description: successful operation
Expand Down

0 comments on commit 7f5df01

Please sign in to comment.