{"id":15443631,"url":"https://github.com/namuan/print-rider","last_synced_at":"2025-07-10T19:35:46.124Z","repository":{"id":45618243,"uuid":"229388452","full_name":"namuan/print-rider","owner":"namuan","description":"A simple API to publish API exchanges from HttpRider","archived":false,"fork":false,"pushed_at":"2023-04-10T21:12:13.000Z","size":100,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T08:28:15.017Z","etag":null,"topics":["http-rider","micronaut","micronaut-java-application","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/namuan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-21T06:41:36.000Z","updated_at":"2021-12-04T14:17:25.000Z","dependencies_parsed_at":"2025-02-02T08:35:35.350Z","dependency_job_id":null,"html_url":"https://github.com/namuan/print-rider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namuan","download_url":"https://codeload.github.com/namuan/print-rider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245991561,"owners_count":20706125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http-rider","micronaut","micronaut-java-application","rest-api"],"created_at":"2024-10-01T19:35:54.662Z","updated_at":"2025-03-28T07:41:48.226Z","avatar_url":"https://github.com/namuan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## API Print Service\n\nA simple API to save API exchange and render as HTML.\n\n### API Description\n\nIt consists of two endpoints.\n\n#### Save API Print\nSaves the `base64` encoded document and returns the location to retrieve the HTML.\n\n##### Request\n```\nPOST /prints\n```\n*Headers*\n```\nContent-Type: application/json\n```\n*Body*\n```\n{\n    \"document\": \"IyMjIEhlYWRpbmc=\"\n}\n\n```    \n\n##### Response\n```\nHTTP 201\n```\n\n*Headers*\n```\nlocation: http://localhost:8080/prints/3f7d252e-5e4f-4232-ac48-e67b08ffffc0\n```\n\n*Sample Call*\n```\ncurl -X 'POST' -H 'Content-Type: application/json' -d '{\"document\": \"IyMjIEhlYWRpbmc=\"}' 'http://127.0.0.1:8080/prints'\n``` \n\n#### Get API Print\n\nRenders the print as HTML.\n\n##### Request\n```\nGET /prints/3f7d252e-5e4f-4232-ac48-e67b08ffffc0\n```\n*Headers*\n```\nAccept: */*\n```\n\n##### Response\n```\nHTTP 200\n```\n\n*Headers*\n```\ncontent-type: text/html\n```\n\n*Body*\n```\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003ctitle\u003eDeskriders :: API Print\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cdiv\u003e\u003ch3\u003eHeading\u003c/h3\u003e\n\u003c/div\u003e\n\u003cfooter\u003e\n    Layout footer\n\u003c/footer\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\n```\n\n*Sample Call*\n```\ncurl -X 'GET' -H 'Accept: */*' 'http://localhost:8080/prints/3f7d252e-5e4f-4232-ac48-e67b08ffffc0'\n``` \n\n### Development\n\n```\ngit clone ...\n```\n\nTo run application\n\n```\n./gradlew run\n```\n\nTo run tests\n\n```\n./gradlew test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamuan%2Fprint-rider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamuan%2Fprint-rider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamuan%2Fprint-rider/lists"}