# Api reference cheat sheet

**URL:** <https://discuss.elastic.co/t/api-reference-cheat-sheet/12409>\
**Category:** Elasticsearch\
**Created:** [June 13, 2013, 11:06pm UTC](https://discuss.elastic.co/t/api-reference-cheat-sheet/12409 "2013-06-13T23:06:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igal/32/1119_2.png) [@Igal](https://discuss.elastic.co/u/Igal)\
**Post date:** [June 13, 2013, 11:06pm UTC](https://discuss.elastic.co/t/api-reference-cheat-sheet/12409/1 "2013-06-13T23:06:53Z")

</div>

is there an API reference cheat sheet anywhere?

at least something with all the end points like /\_search, /\_mapping etc.?

if a list of all the endpoints can be seen in the source code then that  
would be a good start as well (if a cheat sheet is not available).

thanks,

Igal

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [June 16, 2013, 5:20pm UTC](https://discuss.elastic.co/t/api-reference-cheat-sheet/12409/2 "2013-06-16T17:20:53Z")

</div>

Hey,

do something like this on the command line (after checking out the github  
repo). This should show all HTTP controller registrations.

ag controller.registerHandler src/main/java  
or use grep -r instead of ag....

--Alex

On Fri, Jun 14, 2013 at 1:06 AM, Igal [igal@getrailo.org](mailto:igal@getrailo.org) wrote:

> is there an API reference cheat sheet anywhere?
> 
> at least something with all the end points like /\_search, /\_mapping etc.?
> 
> if a list of all the endpoints can be seen in the source code then that  
> would be a good start as well (if a cheat sheet is not available).
> 
> thanks,
> 
> Igal
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 16, 2013, 5:49pm UTC](https://discuss.elastic.co/t/api-reference-cheat-sheet/12409/3 "2013-06-16T17:49:54Z")

</div>

I started a SPORE Project some months ago and listed all APIs for 0.20: [GitHub - dadoonet/spore-elasticsearch: SPORE specifications for elasticsearch](https://github.com/dadoonet/spore-elasticsearch)

I used that script given by Igor:

ES\_DIR=. grep "controller.registerHandler(([^,]_),[^,]_" $ES\_DIR -o -h -E -R --include "\*.java" | \ sed s/controller.registerHandler(// | sed s/RestRequest.Method.// | \ sort -t, -k1 -k2 \> methods.txt

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 16 juin 2013 à 19:20, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de) a écrit :

Hey,

do something like this on the command line (after checking out the github repo). This should show all HTTP controller registrations.

ag controller.registerHandler src/main/java  
or use grep -r instead of ag....

--Alex

On Fri, Jun 14, 2013 at 1:06 AM, Igal [igal@getrailo.org](mailto:igal@getrailo.org) wrote:

> is there an API reference cheat sheet anywhere?
> 
> at least something with all the end points like /\_search, /\_mapping etc.?
> 
> if a list of all the endpoints can be seen in the source code then that would be a good start as well (if a cheat sheet is not available).
> 
> thanks,
> 
> ## Igal
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:30am UTC](https://discuss.elastic.co/t/api-reference-cheat-sheet/12409/4 "2017-07-06T02:30:58Z")

</div>


