{"id":16195343,"url":"https://github.com/furritos/echo-chamber","last_synced_at":"2026-04-29T17:04:19.388Z","repository":{"id":138903652,"uuid":"174904886","full_name":"furritos/echo-chamber","owner":"furritos","description":"Spring-Boot REST Server using Spring Data Key-Value repository to capture POST messages","archived":false,"fork":false,"pushed_at":"2019-04-05T17:40:43.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T18:39:01.253Z","etag":null,"topics":["post","spring-boot","spring-data","spring-data-keyvalue","webhooks"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/furritos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-11T01:35:51.000Z","updated_at":"2019-03-12T19:13:57.000Z","dependencies_parsed_at":"2024-06-28T12:33:31.220Z","dependency_job_id":null,"html_url":"https://github.com/furritos/echo-chamber","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/furritos%2Fecho-chamber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furritos%2Fecho-chamber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furritos%2Fecho-chamber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furritos%2Fecho-chamber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/furritos","download_url":"https://codeload.github.com/furritos/echo-chamber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247685626,"owners_count":20979085,"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":["post","spring-boot","spring-data","spring-data-keyvalue","webhooks"],"created_at":"2024-10-10T08:27:22.756Z","updated_at":"2026-04-29T17:04:14.338Z","avatar_url":"https://github.com/furritos.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# {{ echo chamber }}\n## Spring Boot Map-Based Repository\n\nPurpose-built REST server Maven project that can be used to capture POST requests and webhooks.  Built in a lightweight manner by utilizing Java `Map` objects instead of a full blown database backend via [`spring-data-keyvalue`](https://github.com/spring-projects/spring-data-keyvalue) module\n\nFeatures include: \n\n * Key-based repository using [`spring-data-keyvalue`](https://github.com/spring-projects/spring-data-keyvalue) module.\n * Configured to support [`init.d`](https://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html)  system services.\n * API that allows the capture of `POST` events; Payloads can be then read via `GET` calls.\n\nFeatures to be worked on:\n\n * Expired API requests are not cleared out after a fixed amount of time (even though the payload accomodates an `expires` value).  Currently, the only way to clear out expired requests is to restart the application.\n * UI to complement the API-access only functionality currently available.\n * More functional features...\n\n### Usage\n\n**NOTE**: This project is built with Java JDK 1.8.\n\nClone the project\n\n * `git clone https://github.com/furritos/echo-chamber`\n\nRun the project\t\n\n * `mvn spring-boot:run`\n\n## API\n\n * GET `UUID` Key: `http://localhost:8080/api/uuid`\n\n * POST JSON Payload: `http://localhost:8080/api/webhook/{uuid}`\n   * `POST` any `JSON` payload you want in this endpoint.  See examples below for further details.\n\n * GET Payloads for given `UUID`: `http://localhost:8080/webhook/{uuid}`\n   *  `GET` a list of all `JSON` payloads that were submitted through the `POST` endpoint.\n\n### Example\n\nFirst thing you'll want to do is get an API key:\n\n`curl -H \"Accept: application/json\" http://localhost:8080/api/uuid`\n\n```\n{\n\t\"apikey\": \"9e601ff3-60f8-4c1f-86d7-c94d0d9c6a5a\",\n\t\"expires\": \"2019-03-11T04:10:51.285\",\n\t\"message\": \"SUCCESS | OK\",\n\t\"payloads\": []\n}\n```\n- - -\n\nFrom there, `POST` any `JSON` payload you want:\n\n`curl -X POST -H \"Content-type: application/json\" -d '{\"name\":\"bob\",\"role\":{\"thing\":\"thing2\"}}' http://localhost:8080/api/webhook/9e601ff3-60f8-4c1f-86d7-c94d0d9c6a5a`\n\n- - -\n\nFinally, `GET` a list of payloads for your `UUID`:\n\n`curl -H \"Accept: application/json\" http://localhost:8080/api/webhook/9e601ff3-60f8-4c1f-86d7-c94d0d9c6a5a`\n\n```\n{\n\t\"apikey\": \"9e601ff3-60f8-4c1f-86d7-c94d0d9c6a5a\",\n\t\"expires\": \"2019-03-11T04:10:51.285\",\n\t\"message\": \"SUCCESS | OK\",\n\t\"payloads\": [{\n\t\t\"name\": \"bob\",\n\t\t\"role\": {\n\t\t\t\"thing\": \"thing2\"\n\t\t}\n\t}]\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurritos%2Fecho-chamber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffurritos%2Fecho-chamber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurritos%2Fecho-chamber/lists"}