Create embed
POST {{baseUrl}}/api/v1/graph/embed
Creates a new embeddable graph.
Note: If an embed already exists for the exact same query in a given organization, the older embed is returned instead of creating a new embed.
If you are interested in using template variables, see Embeddable Graphs with Template Variables.
Request Body
{"graph_json"=>"", "legend"=>"no", "size"=>"medium", "timeframe"=>"1_hour", "title"=>"Embed created through API"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"dash_name":"nostrud consequat","dash_url":"labore commodo","embed_id":"officia dolor deserunt ipsum","graph_title":"qui eu aliqua et","html":"eu","revoked":false,"shared_by":-79332285}