{"id":20512709,"url":"https://github.com/seggan/errorreporter","last_synced_at":"2026-05-27T21:32:14.522Z","repository":{"id":112486457,"uuid":"406176522","full_name":"Seggan/ErrorReporter","owner":"Seggan","description":"The worker for my ErrorReporter API","archived":false,"fork":false,"pushed_at":"2021-09-14T16:43:49.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T22:48:11.859Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Seggan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-09-14T00:57:38.000Z","updated_at":"2021-09-14T16:43:52.000Z","dependencies_parsed_at":"2023-05-15T07:30:57.061Z","dependency_job_id":null,"html_url":"https://github.com/Seggan/ErrorReporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Seggan/ErrorReporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seggan%2FErrorReporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seggan%2FErrorReporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seggan%2FErrorReporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seggan%2FErrorReporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seggan","download_url":"https://codeload.github.com/Seggan/ErrorReporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seggan%2FErrorReporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33585203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T20:42:24.026Z","updated_at":"2026-05-27T21:32:14.503Z","avatar_url":"https://github.com/Seggan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ErrorReporter\n\nA script running in Clouflare Workers that makes automatic error reports.\n\n## Request\nThe request **must** be a `POST` request\n### Headers\n`User`: The GitHub username of the repository to make the issue to\n\n`Repo`: The GitHub repository to make the issue to\n\n`Version`: Currently not required, but will be used in the future when there is actually more \nthan one version\n\n`Content-Type`: must be `application/json`\n### Body\nThe body of the request is a JSON object containing the issue. The keys are headers, and the values are the\ncontent. For example, the object \n```json\n{\n    \"Test\": \"Another test\"\n}\n```\n\nwill be transformed into \n```md\n# Test\nAnother test\n```\n\nThere is one key that **must** be included, and that is `Hashcode`. That key is used to identify\nduplicate issues. Reporting an error that has the same hashcode as an existing (open) issue will be ingored\nand simply return `200 OK`. The hashcode itself can be anything, but must uniquely identify the error. For\nexample, the [Java API](https://githuub.com/Seggan/ErrorReporter-Java) uses a combination of the Java hashcode\n(hence the name \"hashcode\") of the error and the application version.\n### Codes\n`404`: The User/Repository was not found\n\n`410`: The repository has issues disabled\n\n`503`: The GitHub service is down\n\n`400`: Bad Request; either the request was not a `POST` request, or the `Hashcode` key was not included\n\n`201`: The error was reported and an issue was created. The response body has the JSON of the issue\n\n`200`: The error is already reported, i.e. a duplicate","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseggan%2Ferrorreporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseggan%2Ferrorreporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseggan%2Ferrorreporter/lists"}