{"id":19224047,"url":"https://github.com/simbiose/peabiru","last_synced_at":"2025-04-20T23:31:55.887Z","repository":{"id":74280488,"uuid":"69295356","full_name":"simbiose/peabiru","owner":"simbiose","description":"identify and monitor broken routes in OpenStreetMap.","archived":false,"fork":false,"pushed_at":"2019-03-07T17:46:29.000Z","size":186,"stargazers_count":5,"open_issues_count":15,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-01T06:51:20.146Z","etag":null,"topics":["docker","geo","php7","riotjs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simbiose.png","metadata":{"files":{"readme":"README.mkd","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":"2016-09-26T21:43:26.000Z","updated_at":"2018-04-19T08:51:51.000Z","dependencies_parsed_at":"2023-03-02T09:31:02.007Z","dependency_job_id":null,"html_url":"https://github.com/simbiose/peabiru","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/simbiose%2Fpeabiru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbiose%2Fpeabiru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbiose%2Fpeabiru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbiose%2Fpeabiru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simbiose","download_url":"https://codeload.github.com/simbiose/peabiru/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249977433,"owners_count":21354859,"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":["docker","geo","php7","riotjs"],"created_at":"2024-11-09T15:10:19.299Z","updated_at":"2025-04-20T23:31:55.867Z","avatar_url":"https://github.com/simbiose.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# peabiru\n\nidentify and monitor broken routes.\n\n# meaning\n\n*[peabiru](https://pt.wikipedia.org/wiki/Caminho_do_Peabiru)* (*pe* way, *abiru* crumpled lawn) are ancient paths used by South American Indians long before the discovery by Europeans, linking the coast to the inland.\n\n# license\n\n[LGPL version 3](https://www.gnu.org/licenses/lgpl-3.0-standalone.html), see LICENSE and source\n\n# api\n\n## users\nusers endpoint.\n\n### list\n```bash\n$ curl http://peabiru.dev/users.json -v\n```\n\n### show\n```bash\n$ curl http://peabiru.dev/users/xxleite.json -v\n```\nwith more information ...\n```bash\n$ curl http://peabiru.dev/users/xxleite.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" -v\n```\n\n### create (login)\nauthenticate using Oauth (twitter or osm) or Oauth2 (facebook, google or github):\n```bash\n$ curl -X POST http://peabiru.dev/login/osm.json\n  -H \"Content-Type: application/json\" -v\n```\nor\n```bash\n$ curl http://peabiru.dev/login/osm -v\n```\n\n### update\n```bash\n$ curl -X PUT http://peabiru.dev/users/naoliv.json -d @user.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" \\\n  -H \"Content-Type: application/json\" -v\n```\n\n### logout\n```bash\n$ curl -X DELETE http://peabiru.dev/logout.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" -v\n```\n\n### delete\n```bash\n$ curl -X DELETE http://peabiru.dev/users/skippern.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" -v\n```\n\n## places\nplaces endpoint.\n\n### list\n```bash\n$ curl http://peabiru.dev/places.json -v\n```\nrelated to some user:\n```bash\n$ curl http://peabiru.dev/users/boneca/places.json -v\n```\nplaces within a range (using geohash, 3 to 5 characters):\n```bash\n$ curl http://peabiru.dev/places/g/6gy9r.json -v\n```\nor\n```bash\n$ curl http://peabiru.dev/places/g/6u4-gx.json -v\n```\n### show\n\n```bash\n$ curl http://peabiru.dev/places/1.json -v\n```\nshow place with version ```1366286774```.\n```bash\n$ curl http://peabiru.dev/places/1/1366286774.json -v\n```\n### create\n```bash\n$ curl -X POST http://peabiru.dev/places.json -d @place.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" \\\n  -H \"Content-Type: application/json\" -v\n```\n\n### update\n```bash\n$ curl -X PUT http://peabiru.dev/places/1.json -d @place2.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" \\\n  -H \"Content-Type: application/json\" -v\n```\n\n### delete\n```bash\n$ curl -X DELETE http://peabiru.dev/places/1.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" -v\n```\n\n## paths\npaths endpoint.\n\n### list\n```bash\n$ curl http://peabiru.dev/paths.json -v\n```\npaths relate to some user:\n```bash\n$ curl http://peabiru.dev/users/boneco/paths.json -v\n```\n\npaths within a range (using geohash, 3 to 5 characters):\n```bash\n$ curl http://peabiru.dev/paths/g/6gy9r.json -v\n```\nor\n```\n$ curl http://peabiru.dev/paths/g/6u4-gx.json -v\n```\n\n### show\n```bash\n$ curl http://peabiru.dev/paths/1.json -v\n```\nshow path version ```1366290813```\n```bash\n$ curl http://peabiru.dev/paths/1/1366290813.json -v\n```\n\n### create\n```bash\n$ curl -X POST http://peabiru.dev/paths.json -d @path.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" \\\n  -H \"Content-Type: application/json\" -v\n```\n\n### update\n```bash\n$ curl -X PUT http://peabiru.dev/paths/1.json -d @path2.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" \\\n  -H \"Content-Type: application/json\" -v\n```\n\n### delete\n```bash\n$ curl -X DELETE http://peabiru.dev/paths/1.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" -v\n```\n\n## reports\nreports endpoint.\n\n### list\nall reports:\n```bash\n$ curl http://peabiru.dev/reports.json -v\n```\nreports includind any user:\n```bash\n$ curl http://peabiru.dev/users/boneco/reports.json\n```\nreports by path(s) or place(s):\n```bash\n$ curl http://peabiru.dev/reports.json?path[]=9\u0026place[]=8\u0026place[]=22 -v\n```\n\n\n### show\n\n### create\n```bash\n$ curl -X POST http://peabiru.dev/reports.json -d @report.json \\\n  -H \"Cookie: peabiru=157e9991810db7\" \\\n  -H \"Content-Type: application/json\" -v\n```\n*note: only application user can create reports.*\n\n\n### update\n```bash\n\n```\n### \u003cdel\u003edelete\u003c/del\u003e\n\n## resolutions\n\n### \u003cdel\u003elist\u003c/del\u003e\n\n### \u003cdel\u003eshow\u003c/del\u003e\n\n### create\n\n### update\n\n### delete\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbiose%2Fpeabiru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimbiose%2Fpeabiru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbiose%2Fpeabiru/lists"}