Add panel with HTTP API

api
#1

I want to add panel to my dashboard through http api.

I get dashboard by uid and edit the json to add panel. When I make new dashboard with this, its folder changes. Please help me

#2

Are you trying to edit an existing dashboard or create a modified copy of an existing dashboard?

Can you explain this more - what does the folder change to?

#3

Thanks for your interest.

I figured it out. I have to assign folderId into the dashboard data.