{"id":19944129,"url":"https://github.com/rebilly/hello-world-app","last_synced_at":"2025-10-10T04:33:43.568Z","repository":{"id":76829929,"uuid":"436159683","full_name":"Rebilly/hello-world-app","owner":"Rebilly","description":"Sample Rebilly App Store app.","archived":false,"fork":false,"pushed_at":"2025-08-19T08:56:39.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-10-10T04:33:36.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/Rebilly.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-08T07:45:25.000Z","updated_at":"2025-08-19T08:56:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0947932-c108-4aad-afe3-cbe8be43b301","html_url":"https://github.com/Rebilly/hello-world-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rebilly/hello-world-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rebilly%2Fhello-world-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rebilly%2Fhello-world-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rebilly%2Fhello-world-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rebilly%2Fhello-world-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rebilly","download_url":"https://codeload.github.com/Rebilly/hello-world-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rebilly%2Fhello-world-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002671,"owners_count":26083442,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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-13T00:19:12.171Z","updated_at":"2025-10-10T04:33:43.554Z","avatar_url":"https://github.com/Rebilly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hello World Application\n\nThis repository is an example Hello World application.\nIt has already been submitted and is available in [App Store sandbox environment](https://app-sandbox.rebilly.com/app-store).\nThis readme describes how to submit and configure your own version of this application.\n\n## Structure\n\nThe application is an AWS Lambda function with two handlers:\n\n+ `application_enabled`: handles webhooks when the app is installed.\n+ `customer_created`: handles webhooks when new customers are added to users accounts in Rebilly.\n\nWhen this app is installed, it provides discounts to new users.\n\n## Configuration in Rebilly\n\n1. [Submit an app to the Rebilly App Store](https://www.rebilly.com/docs/content/concepts-and-features/tutorial/submit-a-rebilly-app).\n1. Deploy this Lambda function and receive an invocation URL.\n1. In Rebilly, in the left navigation bar, click **Automations**, then click **Rules engine**.\n1. Click **Core events**, and select the **Application instance enabled** event.\n1. Click **Ruleset**, go to **Binds** tab, then click **Add Bind**. \n1. Complete all fields.\n1. In the **Actions** section, click **Add action**, and select **Trigger webhook**.\n1. Add your invocation URL. Ensure that the URL is in the following format: `https://your-api-name.execute-api.your-region.amazonaws.com/Prod/application-enabled`.\n1. Click **Body**, and include an organization identifier of user who installed your app, using the following format: \n    ```json\n    {\"organizationId\":  \"{{organizationId}}\"}\n    ```\n\nFor more information on developing Rebilly apps, see [Rebilly App Store](https://www.rebilly.com/docs/content/concepts-and-features/app-store).\n\n## Develop and deploy\n\nTo develop, run, and deploy your own Lambda function, follow the [AWS SAM Reference](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-reference.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frebilly%2Fhello-world-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frebilly%2Fhello-world-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frebilly%2Fhello-world-app/lists"}