Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from brwe/search-template-rebder-kb
Browse files Browse the repository at this point in the history
add search template render endpoint to kb
  • Loading branch information
brwe committed Sep 18, 2015
2 parents 10a6f46 + f6871ff commit 88e95d1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions public/webpackShims/kb/api_2_0/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,32 @@ define(function () {
}
}
});

api.addEndpointDescription('_render_search_template', {
methods: ['GET'],
patterns: [
"_render/template"
],
data_autocomplete_rules: {
__one_of: [
{"inline": {__scope_link: "_search"}},
{__scope_link: "GLOBAL.script"}
],
"params": {
}
}
});

api.addEndpointDescription('_render_search_template_with_id', {
methods: ['GET'],
patterns: [
"_render/template/{id}"
],
data_autocomplete_rules: {
"params": {
}
}
});

api.addEndpointDescription('_get_delete_search_template', {
methods: ['GET', 'DELETE'],
Expand Down

0 comments on commit 88e95d1

Please sign in to comment.