Skip to content

Commit e8628b3

Browse files
dsinghvisahil485
andauthored
Update fern definition (#1209)
Co-authored-by: sahil485 <[email protected]>
1 parent d59bd27 commit e8628b3

File tree

1 file changed

+159
-0
lines changed

1 file changed

+159
-0
lines changed

fern/apis/fai/openapi.json

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,6 +2067,16 @@
20672067
"type": "string",
20682068
"title": "Org Name"
20692069
}
2070+
},
2071+
{
2072+
"name": "preview",
2073+
"in": "query",
2074+
"required": false,
2075+
"schema": {
2076+
"type": "boolean",
2077+
"default": false,
2078+
"title": "Preview"
2079+
}
20702080
}
20712081
],
20722082
"responses": {
@@ -2202,6 +2212,45 @@
22022212
]
22032213
}
22042214
},
2215+
"/settings/reindex-preview-callback": {
2216+
"post": {
2217+
"tags": ["Settings"],
2218+
"summary": "Reindex Preview Callback",
2219+
"description": "Handle callback from Upstash QStash when preview reindex completes.",
2220+
"operationId": "reindex_preview_callback",
2221+
"requestBody": {
2222+
"content": {
2223+
"application/json": {
2224+
"schema": {
2225+
"$ref": "#/components/schemas/UpstashCallbackRequest"
2226+
}
2227+
}
2228+
},
2229+
"required": true
2230+
},
2231+
"responses": {
2232+
"200": {
2233+
"description": "Successful Response",
2234+
"content": {
2235+
"application/json": {
2236+
"schema": {}
2237+
}
2238+
}
2239+
},
2240+
"422": {
2241+
"description": "Validation Error",
2242+
"content": {
2243+
"application/json": {
2244+
"schema": {
2245+
"$ref": "#/components/schemas/HTTPValidationError"
2246+
}
2247+
}
2248+
}
2249+
}
2250+
},
2251+
"x-fern-audiences": ["internal"]
2252+
}
2253+
},
22052254
"/slack/integrations": {
22062255
"post": {
22072256
"tags": ["Slack"],
@@ -3880,6 +3929,116 @@
38803929
"required": ["guidance"],
38813930
"title": "UpdateGuidanceResponse"
38823931
},
3932+
"UpstashCallbackRequest": {
3933+
"properties": {
3934+
"status": {
3935+
"type": "integer",
3936+
"title": "Status"
3937+
},
3938+
"sourceMessageId": {
3939+
"type": "string",
3940+
"title": "Sourcemessageid"
3941+
},
3942+
"url": {
3943+
"anyOf": [
3944+
{
3945+
"type": "string"
3946+
},
3947+
{
3948+
"type": "null"
3949+
}
3950+
],
3951+
"title": "Url"
3952+
},
3953+
"method": {
3954+
"anyOf": [
3955+
{
3956+
"type": "string"
3957+
},
3958+
{
3959+
"type": "null"
3960+
}
3961+
],
3962+
"title": "Method"
3963+
},
3964+
"sourceHeader": {
3965+
"anyOf": [
3966+
{
3967+
"additionalProperties": {
3968+
"items": {
3969+
"type": "string"
3970+
},
3971+
"type": "array"
3972+
},
3973+
"type": "object"
3974+
},
3975+
{
3976+
"type": "null"
3977+
}
3978+
],
3979+
"title": "Sourceheader"
3980+
},
3981+
"sourceBody": {
3982+
"anyOf": [
3983+
{
3984+
"type": "string"
3985+
},
3986+
{
3987+
"type": "null"
3988+
}
3989+
],
3990+
"title": "Sourcebody"
3991+
},
3992+
"notBefore": {
3993+
"anyOf": [
3994+
{
3995+
"type": "integer"
3996+
},
3997+
{
3998+
"type": "null"
3999+
}
4000+
],
4001+
"title": "Notbefore"
4002+
},
4003+
"createdAt": {
4004+
"anyOf": [
4005+
{
4006+
"type": "integer"
4007+
},
4008+
{
4009+
"type": "null"
4010+
}
4011+
],
4012+
"title": "Createdat"
4013+
},
4014+
"scheduleId": {
4015+
"anyOf": [
4016+
{
4017+
"type": "string"
4018+
},
4019+
{
4020+
"type": "null"
4021+
}
4022+
],
4023+
"title": "Scheduleid"
4024+
},
4025+
"callerIP": {
4026+
"anyOf": [
4027+
{
4028+
"type": "string"
4029+
},
4030+
{
4031+
"type": "null"
4032+
}
4033+
],
4034+
"title": "Callerip"
4035+
}
4036+
},
4037+
"type": "object",
4038+
"required": ["status", "sourceMessageId"],
4039+
"title": "UpstashCallbackRequest",
4040+
"description": "Callback payload from Upstash QStash when a queued job completes."
4041+
},
38834042
"ValidationError": {
38844043
"properties": {
38854044
"loc": {

0 commit comments

Comments
 (0)