<commit_before># Calling the Search REST\OData endpoint in SharePoint Add-ins #

## Summary
Use the Search REST\OData endpoint, in a SharePoint Add-in, to programmatically search content are return the results.

### Applies to ###
-  SharePoint Online and on-premise SharePoint 2013 and later 
<commit_msg>Updated sample YAML description<commit_after>---
topic: sample
products:
- SharePoint
- Office 365
languages:
- ASP
extensions:
  contentType: samples
  technologies:
  - Add-ins
  createdDate: 8/11/2015 2:10:00 PM
---
# Calling the Search REST\OData endpoint in SharePoint Add-ins #

## Summary
Use the Search REST\OData endpoint, in a SharePoint Add-in, to programmatically search content are return the results.

### Applies to ###
-  SharePoint Online and on-premise SharePoint 2013 and later 

{'fraction_non_alphanumeric': 0.08208955223880597, 'fraction_numerical': 0.028606965174129355, 'mean_word_length': 4.2272727272727275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2380866', 'n_tokens_mistral': 259, 'n_tokens_neox': 231, 'n_words': 94}