{"id":18657799,"url":"https://github.com/lightsofapollo/hapi-taskcluster-api","last_synced_at":"2025-11-05T22:30:21.970Z","repository":{"id":25405461,"uuid":"28834361","full_name":"lightsofapollo/hapi-taskcluster-api","owner":"lightsofapollo","description":"Hapi + Taskcluster API Tools/Schema/Validation (http endpoints only)","archived":false,"fork":false,"pushed_at":"2015-01-07T09:17:18.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-27T15:45:46.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lightsofapollo.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}},"created_at":"2015-01-05T22:13:11.000Z","updated_at":"2015-01-07T09:17:18.000Z","dependencies_parsed_at":"2022-09-13T03:24:12.928Z","dependency_job_id":null,"html_url":"https://github.com/lightsofapollo/hapi-taskcluster-api","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/lightsofapollo%2Fhapi-taskcluster-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fhapi-taskcluster-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fhapi-taskcluster-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fhapi-taskcluster-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightsofapollo","download_url":"https://codeload.github.com/lightsofapollo/hapi-taskcluster-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239475960,"owners_count":19645041,"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-07T07:29:54.318Z","updated_at":"2025-11-05T22:30:21.932Z","avatar_url":"https://github.com/lightsofapollo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hapi-taskcluster-api\n\nHapi + Taskcluster API Tools/Schema/Validation (http endpoints only).\n\nThis is primarily a proof of concept/prototype of using taskcluster +\nhapi for server side components (including reference generation).\n\nIn addition to the usual scope/hawk authentication a '/reference'\nendpoint is generated which will return the reference format which can\nbe consumed by the `taskcluster-client`'s `createClient` method.\n\n## Example\n\nSee the [/test](tests) for the full sets of examples but the most basic\nconfiguration would look like this:\n\n```js\nvar hapi = require('hapi');\nvar server = new hapi.Server();\n\nserver.register({\n  register: require('hapi-taskcluster-api'),\n  options: {\n    // Taskcluster credentials...\n    credentials: {\n      clientId: '...',\n      accessToken: '...',\n    }\n  }\n});\n\nserver.route({\n  method: 'post',\n  path: '/do'\n  handler: function(request, reply) {\n    // ...\n  },\n  config: {\n    description: 'Do'\n    notes: 'Do things',\n    auth: 'taskcluster', // require taskcluster hawk pass\n    plugins: {\n      taskcluster: {\n        name: 'aliasInClientAutoGen',\n        scopes: ['do']\n      }\n    }\n  }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2Fhapi-taskcluster-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightsofapollo%2Fhapi-taskcluster-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2Fhapi-taskcluster-api/lists"}