750 lines
19 KiB
JSON
750 lines
19 KiB
JSON
{
|
|
"info": {
|
|
"_postman_id": "a2a-saas-api",
|
|
"name": "Evo AI API",
|
|
"description": "API para execução de agentes de IA",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "Chat",
|
|
"item": [
|
|
{
|
|
"name": "Enviar Mensagem",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"agent_id\": \"uuid-do-agente\",\n \"contact_id\": \"uuid-do-contato\",\n \"message\": \"Olá, como posso ajudar?\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/chat",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "chat"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Clientes",
|
|
"item": [
|
|
{
|
|
"name": "Criar Cliente",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Nome do Cliente\",\n \"email\": \"cliente@exemplo.com\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/clients/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "clients", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Listar Clientes",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/clients/?skip=0&limit=100",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "clients", ""],
|
|
"query": [
|
|
{
|
|
"key": "skip",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "limit",
|
|
"value": "100"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Buscar Cliente",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/clients/{{client_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "clients", "{{client_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Atualizar Cliente",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Novo Nome do Cliente\",\n \"email\": \"novo-email@exemplo.com\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/clients/{{client_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "clients", "{{client_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Remover Cliente",
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/clients/{{client_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "clients", "{{client_id}}"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Contatos",
|
|
"item": [
|
|
{
|
|
"name": "Criar Contato",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"client_id\": \"uuid-do-cliente\",\n \"name\": \"Nome do Contato\",\n \"email\": \"contato@exemplo.com\",\n \"phone\": \"(11) 99999-9999\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/contacts/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "contacts", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Listar Contatos",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/contacts/{{client_id}}?skip=0&limit=100",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "contacts", "{{client_id}}"],
|
|
"query": [
|
|
{
|
|
"key": "skip",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "limit",
|
|
"value": "100"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Buscar Contato",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/contact/{{contact_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "contact", "{{contact_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Atualizar Contato",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"client_id\": \"uuid-do-cliente\",\n \"name\": \"Novo Nome do Contato\",\n \"email\": \"novo-email@exemplo.com\",\n \"phone\": \"(11) 99999-9999\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/contact/{{contact_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "contact", "{{contact_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Remover Contato",
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/contact/{{contact_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "contact", "{{contact_id}}"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Agentes",
|
|
"item": [
|
|
{
|
|
"name": "Criar Agente LLM",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"client_id\": \"uuid-do-cliente\",\n \"name\": \"meu_agente_llm\",\n \"type\": \"llm\",\n \"model\": \"gpt-4\",\n \"api_key\": \"chave-api-do-modelo\",\n \"instruction\": \"Instruções para o agente\",\n \"config\": {\n \"tools\": [\n {\n \"id\": \"uuid-da-ferramenta\",\n \"envs\": {\n \"API_KEY\": \"chave-api-da-ferramenta\",\n \"ENDPOINT\": \"http://localhost:8000\"\n }\n }\n ],\n \"mcp_servers\": [\n {\n \"id\": \"uuid-do-servidor\",\n \"envs\": {\n \"API_KEY\": \"chave-api-do-servidor\",\n \"ENDPOINT\": \"http://localhost:8001\"\n }\n }\n ],\n \"custom_tools\": {\n \"http_tools\": [\n {\n \"name\": \"list_all_knowledge_base\",\n \"method\": \"GET\",\n \"values\": {\n \"tenant_id\": \"45cffb85-51c8-41ed-aa8d-710970a7ce50\"\n },\n \"headers\": {\n \"x-api-key\": \"79405047-7a5e-4b18-b25a-4af149d747dc\"\n },\n \"endpoint\": \"http://localhost:5540/api/v1/knowledge\",\n \"parameters\": {\n \"query_params\": {\n \"include\": [\"tenant_id\"]\n }\n },\n \"description\": \"List all knowledge base.\",\n \"error_handling\": {\n \"timeout\": 5000,\n \"retry_count\": 3,\n \"fallback_response\": {\n \"error\": \"list_knowledge_error\",\n \"message\": \"Erro ao listar knowledges\"\n }\n }\n }\n ]\n },\n \"sub_agents\": [\"uuid-do-sub-agente\"]\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agents/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agents", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Criar Agente Sequential",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"client_id\": \"uuid-do-cliente\",\n \"name\": \"meu_agente_sequential\",\n \"type\": \"sequential\",\n \"model\": \"gpt-4\",\n \"api_key\": \"chave-api-do-modelo\",\n \"instruction\": \"Instruções para o agente\",\n \"config\": {\n \"sub_agents\": [\"uuid-do-sub-agente-1\", \"uuid-do-sub-agente-2\"]\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agents/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agents", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Criar Agente Parallel",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"client_id\": \"uuid-do-cliente\",\n \"name\": \"meu_agente_parallel\",\n \"type\": \"parallel\",\n \"model\": \"gpt-4\",\n \"api_key\": \"chave-api-do-modelo\",\n \"instruction\": \"Instruções para o agente\",\n \"config\": {\n \"sub_agents\": [\"uuid-do-sub-agente-1\", \"uuid-do-sub-agente-2\"]\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agents/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agents", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Criar Agente Loop",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"client_id\": \"uuid-do-cliente\",\n \"name\": \"meu_agente_loop\",\n \"type\": \"loop\",\n \"model\": \"gpt-4\",\n \"api_key\": \"chave-api-do-modelo\",\n \"instruction\": \"Instruções para o agente\",\n \"config\": {\n \"sub_agents\": [\"uuid-do-sub-agente\"],\n \"max_iterations\": 5,\n \"condition\": \"condição_para_parar\"\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agents/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agents", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Listar Agentes",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agents/{{client_id}}?skip=0&limit=100",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agents", "{{client_id}}"],
|
|
"query": [
|
|
{
|
|
"key": "skip",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "limit",
|
|
"value": "100"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Buscar Agente",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agent/{{agent_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agent", "{{agent_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Atualizar Agente",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"client_id\": \"uuid-do-cliente\",\n \"name\": \"Novo Nome do Agente\",\n \"description\": \"Nova descrição do agente\",\n \"model\": \"gpt-4\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agent/{{agent_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agent", "{{agent_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Remover Agente",
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/agent/{{agent_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "agent", "{{agent_id}}"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Servidores MCP",
|
|
"item": [
|
|
{
|
|
"name": "Criar Servidor MCP",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Nome do Servidor\",\n \"url\": \"http://localhost:8000\",\n \"api_key\": \"chave-api-do-servidor\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/mcp-servers/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "mcp-servers", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Listar Servidores MCP",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/mcp-servers/?skip=0&limit=100",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "mcp-servers", ""],
|
|
"query": [
|
|
{
|
|
"key": "skip",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "limit",
|
|
"value": "100"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Buscar Servidor MCP",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/mcp-servers/{{server_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "mcp-servers", "{{server_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Atualizar Servidor MCP",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Novo Nome do Servidor\",\n \"url\": \"http://novo-servidor:8000\",\n \"api_key\": \"nova-chave-api\"\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/mcp-servers/{{server_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "mcp-servers", "{{server_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Remover Servidor MCP",
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/mcp-servers/{{server_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "mcp-servers", "{{server_id}}"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Ferramentas",
|
|
"item": [
|
|
{
|
|
"name": "Criar Ferramenta",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Nome da Ferramenta\",\n \"description\": \"Descrição da ferramenta\",\n \"type\": \"tipo-da-ferramenta\",\n \"config\": {\n \"key\": \"value\"\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/tools/",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "tools", ""]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Listar Ferramentas",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/tools/?skip=0&limit=100",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "tools", ""],
|
|
"query": [
|
|
{
|
|
"key": "skip",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "limit",
|
|
"value": "100"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Buscar Ferramenta",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/tools/{{tool_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "tools", "{{tool_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Atualizar Ferramenta",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Novo Nome da Ferramenta\",\n \"description\": \"Nova descrição da ferramenta\",\n \"type\": \"novo-tipo\",\n \"config\": {\n \"new_key\": \"new_value\"\n }\n}"
|
|
},
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/tools/{{tool_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "tools", "{{tool_id}}"]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Remover Ferramenta",
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-API-Key",
|
|
"value": "{{api_key}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{base_url}}/api/v1/tools/{{tool_id}}",
|
|
"host": ["{{base_url}}"],
|
|
"path": ["api", "v1", "tools", "{{tool_id}}"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"variable": [
|
|
{
|
|
"key": "base_url",
|
|
"value": "http://localhost:8000",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "api_key",
|
|
"value": "sua-api-key-aqui",
|
|
"type": "string"
|
|
}
|
|
]
|
|
} |