This is a hobby project written using jsonapi-resources gem that using JSON api specification. A demo of project is current hosted on heroku here. This project main includes two main api endpoints.
There are two api calls available.
Create a new page, accepts url variable as parameter:
curl -i -H "Accept: application/vnd.api+json" -H 'Content-Type:application/vnd.api+json' -X POST -d '{"data": {"type":"pages", "attributes":{"url":"https://www.assetuganda.org/"}}}' https://jsonapihtmlparser.herokuapp.com/pages
List all previous pages:
curl -i -H "Accept: application/vnd.api+json" "https://jsonapihtmlparser.herokuapp.com/pages"
There are other endpoints that can be used to get more details on other resources given below:
curl -i -H "Accept: application/vnd.api+json" "https://jsonapihtmlparser.herokuapp.com/links"
curl -i -H "Accept: application/vnd.api+json" "https://jsonapihtmlparser.herokuapp.com/header-tags"