This is an API for retrieving the definition of the Graph specified by <graphID> .
Properties and features
Graph has the following properties:
This is an identifier for uniquely identifying the Graph . You can’t create a Graph that has the same id in a certain User . This is also used as part of the URL when you display a Pixela graph. Additionally, you can’t change this property after.
When pointing to this property in the API document, this is often referred to as <graphID> .
By setting true to this property, you can make optionalData recorded in each Pixel viewable on the HTML page which GET - /v1/users/<username>/graphs/<graphID>.html returns, and you can have it added as an attribute to a graph’s SVG information.
When a Pixela graph is embedded on GitHub, the image is cached in GitHub automatically. If you want to clear the cache every updating the graph, you can do it by setting the cached image URL to this property.