Dogapi::V1::EmbedService
Inherits Dogapi::APIService < Reference < Object
================ EMBED API
Instance methods
Create an embeddable graph
:graph_json => JSON: graph definition :timeframe => String: representing the interval of the graph. Default is "1_hour" :size => String: representing the size of the graph. Default is "medium". :legend => String: flag representing whether a legend is displayed. Default is "no". :title => String: represents title of the graph. Default is "Embed created through API."
Enable a specific embed
:embed_id => String: embed token for a specific embed
Get a specific embed
:embed_id => String: embed token for a specific embed :size => String: "small", "medium"(defualt), "large", or "xlarge". :legend => String: "yes" or "no"(default) :template_vars => String: variable name => variable value (any number of template vars)
Revoke a specific embed
:embed_id => String: embed token for a specific embed