Jurisprudência do STJ by LexGPT
Jurisprudência do STJ by LexGPT · GPT-Aktionen
Query for STJ processes
Query for STJ processes related to the keywords on the search
POST /api/extensionRetrieve TXTs of relevant STJ processesThis endpoint returns a list of STJ processes as a txt file
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "Query for STJ processes",
"description": "Query for STJ processes related to the keywords on the search",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://lexgpt.vercel.app"
}
],
"paths": {
"/api/extension": {
"post": {
"operationId": "pesquisaStj",
"summary": "Retrieve TXTs of relevant STJ processes",
"description": "This endpoint returns a list of STJ processes as a txt file",
"x-openai-isConsequential": false,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"namespace": {
"type": "string",
"description": "The keywords related to the search. What ever the user intended to search for in STJ."
}
},
"required": [
"namespace"
]
}
}
}
},
"responses": {
"200": {
"description": "TXT file with up to 50 processes",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"openaiFileResponse": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"content": {
"type": "string",
"description": "The content of the file in base64 encoding."
}
}
}
}
}
}
}
}
},
"400": {
"description": "Bad request"
},
"401": {
"description": "Unauthorized"
},
"500": {
"description": "Internal server error"
}
}
}
}
}
}