Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dialog flow V2 API Get URL https://dialogflow.googleapis.com/v2/{parent=projects/projId}/agentName 404

Am trying to update dialogflow version for my existing chatbot, but when I am framing url like above, it gives me 404 error. Help me to build the URL.

like image 444
Rajeev Uppala Avatar asked Aug 09 '18 07:08

Rajeev Uppala


1 Answers

The {} notation is the Google API HTTP annotation syntax used by Google to indicate that the {} should be replaced by a parameter. In this case, that parameter is named parent, so you can reference it in the documentation below, and it should have the form projects/* where the * should be replaced with your project ID.

So the actual URL you want to use is something more like

GET https://dialogflow.googleapis.com/v2/projects/your-project-id-here/agent
like image 173
Prisoner Avatar answered Oct 09 '22 05:10

Prisoner