mirror of
https://github.com/openai/codex.git
synced 2026-04-29 17:06:51 +00:00
codex: make create-api-key app-server backed
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"threadId"
|
||||
],
|
||||
"title": "ThreadCreateApiKeyFinishParams",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"defaultProjectId": {
|
||||
"type": "string"
|
||||
},
|
||||
"defaultProjectTitle": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"organizationId": {
|
||||
"type": "string"
|
||||
},
|
||||
"organizationTitle": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"projectApiKey": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"defaultProjectId",
|
||||
"organizationId",
|
||||
"projectApiKey"
|
||||
],
|
||||
"title": "ThreadCreateApiKeyFinishResponse",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"threadId"
|
||||
],
|
||||
"title": "ThreadCreateApiKeyStartParams",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"status": {
|
||||
"enum": [
|
||||
"alreadySet"
|
||||
],
|
||||
"title": "AlreadySetv2::ThreadCreateApiKeyStartResponseStatus",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"status"
|
||||
],
|
||||
"title": "AlreadySetv2::ThreadCreateApiKeyStartResponse",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"auth_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"callback_port": {
|
||||
"format": "uint16",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"started"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"auth_url",
|
||||
"callback_port",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
],
|
||||
"title": "ThreadCreateApiKeyStartResponse"
|
||||
}
|
||||
Reference in New Issue
Block a user