{"id":19552791,"url":"https://github.com/ruby-grape/grape-on-rails","last_synced_at":"2025-04-13T06:21:16.372Z","repository":{"id":6874463,"uuid":"8123532","full_name":"ruby-grape/grape-on-rails","owner":"ruby-grape","description":"Sample Grape API mounted on Rails.","archived":false,"fork":false,"pushed_at":"2025-03-22T15:16:35.000Z","size":184,"stargazers_count":174,"open_issues_count":1,"forks_count":56,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T04:59:46.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/ruby-grape.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":"2013-02-10T14:31:40.000Z","updated_at":"2025-03-24T06:51:33.000Z","dependencies_parsed_at":"2024-03-19T17:48:44.925Z","dependency_job_id":"98afac40-05f0-4ebd-8fe3-ce915309a6c1","html_url":"https://github.com/ruby-grape/grape-on-rails","commit_stats":{"total_commits":74,"total_committers":6,"mean_commits":"12.333333333333334","dds":0.3783783783783784,"last_synced_commit":"d1d04a27a897d6a0dfcd647f2f19a0c4b25f1747"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-on-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-on-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-on-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-grape%2Fgrape-on-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby-grape","download_url":"https://codeload.github.com/ruby-grape/grape-on-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665756,"owners_count":21142123,"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":[],"created_at":"2024-11-11T04:19:44.082Z","updated_at":"2025-04-13T06:21:16.346Z","avatar_url":"https://github.com/ruby-grape.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grape on Rails\n\n[![Test](https://github.com/ruby-grape/grape-on-rails/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/ruby-grape/grape-on-rails/actions/workflows/test.yml)\n[![Rubocop](https://github.com/ruby-grape/grape-on-rails/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/ruby-grape/grape-on-rails/actions/workflows/test.yml)\n[![Code Climate](https://codeclimate.com/github/ruby-grape/grape-on-rails.svg)](https://codeclimate.com/github/ruby-grape/grape-on-rails)\n\nA [Grape](http://github.com/ruby-grape/grape) API mounted on Rails.\n\n- [ping](app/api/acme/ping.rb): a hello world `GET` API\n- [post](app/api/acme/post.rb): post JSON data\n- [raise](app/api/acme/raise.rb): raise an error, Rails handling exceptions\n- [protected](app/api/acme/protected.rb): API protected with rudimentary Basic Authentication\n- [headers](app/api/acme/headers.rb): demonstrates header handling\n\n## Run\n\n```\nbin/setup\nrails s\n```\n\n- Try http://localhost:3000/api/ping or http://localhost:3000/api/protected/ping with _username_ and _password_.\n- View Swagger docs at http://localhost:3000/swagger.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-grape%2Fgrape-on-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby-grape%2Fgrape-on-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-grape%2Fgrape-on-rails/lists"}