-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Welcome!
- Yes, I have searched for similar issues on GitHub and found none.
What did you do?
When run the container can not access to /docs, says a 404 error:
{"status":404,"error":"Not Found","response":{"message":["Cannot GET /docs"]}}
But the documentation says the api swagger ui is located on /docs :
https://doc.evolution-api.com/v1/en/get-started/introduction
{
"status":200,
"message":"Welcome to the Evolution API, it is working!",
"version":"1.x.x",
"swagger":"http://localhost:8080/docs",
"manager":"http://localhost:8080/manager",
"documentation":"https://doc.evolution-api.com"
}When try get the root path says other status:
{
"status":200,"message":"Welcome to the Evolution API, it is working!",
"version":"2.2.3",
"clientName":"evolution_exchange",
"manager":"http://127.0.0.1:8080/manager",
"documentation":"https://doc.evolution-api.com"
}The online documentation is probably outdated. I need to find the API routes because when I try to make an HTTP query to /message/sendText, I get a 404 error.
Other example is https://doc.evolution-api.com/v1/api-reference/message-controller/send-text the api function can not says the url path or params, the documentation is ambiguos. I can not found the sendText api function:
$ curl -X POST -d '{}' 'http://127.0.0.1:8080/message/sendText'
{"status":404,"error":"Not Found","response":{"message":["Cannot POST /message/sendText"]}}
$ curl -X POST -d '{}' 'http://127.0.0.1:8080/sendText'
{"status":404,"error":"Not Found","response":{"message":["Cannot POST /sendText"]}}
$ curl -X POST -d '{}' 'http://127.0.0.1:8080/send-text'
{"status":404,"error":"Not Found","response":{"message":["Cannot POST /send-text"]}}What did you expect?
Working fine or show the swagger.
What did you observe instead of what you expected?
Show a 404 error.
Screenshots/Videos
No response
Which version of the API are you using?
2.2.3
What is your environment?
Windows
Other environment specifications
GNU/Linux Container.
If applicable, paste the log output
No response
Additional Notes
No response