✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML, CSV and more, into interactive graphs.
I have a use case where I would like to use this cool-ass tool programmatically. I would like to be able to POST a JSON payload and receive a URL to my cracked out JSON.
For this feature to be useful, there would need to be a way to to view a "crack" by ID.
I'm calling the resource cracks because that's what you called em.
This would be super simple to implement. Store the JSON in DynamoDB and return the ID.
I suppose a workaround is to just link to or embed a giant query string with ?json=<huge document> but that seems unwieldy. Who wants to share a 5000 character url? Browsers do have limits on url length, also.
Other context
This could be an opt-in feature. It could be a feature for logged-in users only. Hell, it could be a premium feature. I'd pay a few bucks a month for this tool, especially if it had an API.
Feature
I have a use case where I would like to use this cool-ass tool programmatically. I would like to be able to POST a JSON payload and receive a URL to my cracked out JSON.
For this feature to be useful, there would need to be a way to to view a "crack" by ID.
I'm calling the resource
cracks
because that's what you called em.This would be super simple to implement. Store the JSON in DynamoDB and return the ID.
Example
Request
Response
Alternative solutions or implementations
I suppose a workaround is to just link to or embed a giant query string with
?json=<huge document>
but that seems unwieldy. Who wants to share a 5000 character url? Browsers do have limits on url length, also.Other context
This could be an opt-in feature. It could be a feature for logged-in users only. Hell, it could be a premium feature. I'd pay a few bucks a month for this tool, especially if it had an API.