# Publishing the elasticsearch Search APIs to a API gateway

**URL:** <https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836>\
**Category:** Elasticsearch\
**Created:** [January 13, 2020, 1:14pm UTC](https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836 "2020-01-13T13:14:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [January 13, 2020, 1:14pm UTC](https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836/1 "2020-01-13T13:14:20Z")

</div>

Is it possible to publish the Elasticsearch Search APIs to a API gateway like axway.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 13, 2020, 1:27pm UTC](https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836/2 "2020-01-13T13:27:01Z")

</div>

Hey,

I do not know the API gateway you mentioned, but there is a JSON based API endpoint specification in the Elasticsearch source, that contains all the APIs, see [https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/api](https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/api) (make sure you pick the right branch for each versions).

If this is not what you are after, maybe you can elaborate further.

Thanks!

--Alex

---

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [January 16, 2020, 5:40am UTC](https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836/3 "2020-01-16T05:40:11Z")

</div>

Thanks for the reply.

I am looking to import the Elasticsearch API specifications into axway gateway - (  
[https://docs.axway.com/bundle/APIManager\_77\_APIMgmtGuide\_allOS\_en\_HTML5/page/Content/APIManagementGuideTopics/api\_mgmt\_register\_web.htm](https://docs.axway.com/bundle/APIManager_77_APIMgmtGuide_allOS_en_HTML5/page/Content/APIManagementGuideTopics/api_mgmt_register_web.htm)) and it requires the specifications in one of the following formats.

1. Swagger API
2. RAML API
3. WADL API

Thanks.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 20, 2020, 4:07pm UTC](https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836/4 "2020-01-20T16:07:22Z")

</div>

I'm sorry, but these formats are currently not supported or provided...

You may want to follow [https://github.com/elastic/elasticsearch/issues/25152](https://github.com/elastic/elasticsearch/issues/25152)

---

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [January 28, 2020, 7:57am UTC](https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836/5 "2020-01-28T07:57:09Z")

</div>

Sure. Thanks for letting me know.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 25, 2020, 7:57am UTC](https://discuss.elastic.co/t/publishing-the-elasticsearch-search-apis-to-a-api-gateway/214836/6 "2020-02-25T07:57:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
