Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 156 additions & 1 deletion fern/apis/fai/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@
"Editing_Sessions"
],
"summary": "Interrupt Editing Session",
"description": "Interrupt a running editing session.",
"description": "Interrupt a running editing session by sending INTERRUPT message to SQS.",
"operationId": "interrupt_editing_session",
"parameters": [
{
Expand Down Expand Up @@ -1264,6 +1264,50 @@
]
}
},
"/editing-sessions/{editing_id}/queue": {
"delete": {
"tags": [
"Editing_Sessions"
],
"summary": "Cleanup Session Queue",
"description": "Delete the SQS queue for an editing session.",
"operationId": "cleanup_session_queue",
"parameters": [
{
"name": "editing_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"title": "Editing Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"x-fern-audiences": [
"internal"
]
}
},
"/feedback/{domain}": {
"post": {
"tags": [
Expand Down Expand Up @@ -3276,6 +3320,51 @@
"internal"
]
}
},
"/upstash/qstash/failure-callback": {
"post": {
"tags": [
"Upstash"
],
"summary": "Qstash Failure Callback",
"description": "Callback endpoint for Upstash QStash to notify about failed requests.\nLogs the failure details and posts to Slack #search-notifs channel.",
"operationId": "qstash_failure_callback",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/QStashFailureCallback"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/QStashFailureCallbackResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"x-fern-audiences": [
"internal"
]
}
}
},
"components": {
Expand Down Expand Up @@ -3894,6 +3983,17 @@
],
"title": "Pr Url"
},
"queue_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Queue Url"
},
"status": {
"$ref": "#/components/schemas/EditingSessionStatus"
},
Expand All @@ -3916,6 +4016,7 @@
"base_branch",
"working_branch",
"pr_url",
"queue_url",
"status",
"created_at",
"updated_at"
Expand All @@ -3925,6 +4026,7 @@
"EditingSessionStatus": {
"type": "string",
"enum": [
"startup",
"waiting",
"active",
"interrupted",
Expand Down Expand Up @@ -4735,6 +4837,59 @@
],
"title": "PostChatCompletionResponse"
},
"QStashFailureCallback": {
"properties": {
"dlqId": {
"type": "string",
"title": "Dlqid"
},
"url": {
"type": "string",
"title": "Url"
},
"status": {
"type": "integer",
"title": "Status"
},
"sourceHeader": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"type": "object",
"title": "Sourceheader"
}
},
"type": "object",
"required": [
"dlqId",
"url",
"status"
],
"title": "QStashFailureCallback"
},
"QStashFailureCallbackResponse": {
"properties": {
"success": {
"type": "boolean",
"title": "Success"
}
},
"type": "object",
"required": [
"success"
],
"title": "QStashFailureCallbackResponse"
},
"Query": {
"properties": {
"query_id": {
Expand Down