{"id":20745398,"url":"https://github.com/elasticio/request-reply-component","last_synced_at":"2025-03-11T12:48:06.864Z","repository":{"id":38843461,"uuid":"55775167","full_name":"elasticio/request-reply-component","owner":"elasticio","description":"Component for implementing Request-Reply pattern","archived":false,"fork":false,"pushed_at":"2023-06-29T08:54:30.000Z","size":428,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-18T02:41:29.960Z","etag":null,"topics":["component","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/elasticio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-08T11:49:16.000Z","updated_at":"2022-11-12T07:02:47.000Z","dependencies_parsed_at":"2023-01-26T17:15:24.692Z","dependency_job_id":null,"html_url":"https://github.com/elasticio/request-reply-component","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elasticio%2Frequest-reply-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elasticio%2Frequest-reply-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elasticio%2Frequest-reply-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elasticio%2Frequest-reply-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elasticio","download_url":"https://codeload.github.com/elasticio/request-reply-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243039609,"owners_count":20226131,"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":["component","nodejs"],"created_at":"2024-11-17T07:20:18.047Z","updated_at":"2025-03-11T12:48:06.843Z","avatar_url":"https://github.com/elasticio.png","language":"JavaScript","readme":"# HTTP Reply Component\n\n## Table of Contents\n\n* [Description](#description)\n* [Actions](#actions)\n  * [Reply](#reply)\n  * [Reply With Attachment](#reply-with-attachment)\n\n### Description\n\nThe component replies with messages to the client requested a webhook.\n\nThis component takes the incoming message body and applies the configured JSONata transformation on it, if present, and return a message back to the client requested a webhook of a given flow.\n\n## Actions\n\n### Reply\n\n#### Configuration Fields\n* **Custom HTTP Headers** - (string, optional): Provides with possibility to set additional headers separated by comma (e.g `Content-Language, User-Agent`)\n\n#### Input Metadata\n* **Content Type (Defaults to 'application/json')** - (string, optional, defaults to `application/json`): Header value tells the client what the content type of the returned content actually is.\n* **Response Body** - (string/Object, required): Body to send as the response\n* **Response Status Code** - (number, optional, defaults to `200`): Integer number between `200` and `999` (more info about status codes in [rfc7231](https://datatracker.ietf.org/doc/html/rfc7231#section-6) standart)\n\nIf provided `Custom HTTP Headers` there will be additional field:\n* **customHeaders**, contains:\n  * **Header \u003cheader name provided in \"Custom HTTP Headers\"\u003e** - you can provide value to your custom header here\n\n\n#### Output Metadata\nSame as `Input Metadata`\n\n### Reply With Attachment\n\n#### Configuration Fields\n* **Custom HTTP Headers** - (string, optional): Provides with possibility to set additional headers separated by comma (e.g `Content-Language, User-Agent`)\n\n#### Input Metadata\n* **Content Type (Defaults to 'application/json')** - (string, optional, defaults to `application/json`): Header value tells the client what the content type of the returned content actually is.\n* **Attachment URL** - (string, required): Link to file (on platform or external) that will be used as response\n* **Response Status Code** - (number, optional, defaults to `200`): Integer number between `200` and `999` (more info about status codes in [rfc7231](https://datatracker.ietf.org/doc/html/rfc7231#section-6) standart)\n\nIf provided `Custom HTTP Headers` there will be additional field:\n* **customHeaders**, contains:\n  * **Header \u003cheader name provided in \"Custom HTTP Headers\"\u003e** - you can provide value to your custom header here\n\n\n#### Output Metadata\nSame as `Input Metadata`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felasticio%2Frequest-reply-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felasticio%2Frequest-reply-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felasticio%2Frequest-reply-component/lists"}