forked from 0x2620/pandora
api documtation
This commit is contained in:
parent
80d479f3f0
commit
b06d0fd7fc
1 changed files with 2 additions and 2 deletions
|
@ -66,12 +66,12 @@ pandora.ui.apiDialog = function() {
|
||||||
pandora.user.ui.page == 'api' && that.select(data.value);
|
pandora.user.ui.page == 'api' && that.select(data.value);
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
overview = '<div class="OxSelectable"><h2>Pan.do/ra API Overview</h2>use this api in the browser with <a href="/static/oxjs/demos/doc2/index.html#Ox.App">Ox.app</a> or use <a href="http://code.0x2620.org/pandora_client">pandora_client</a> it in python. Further description of the api can be found <a href="https://wiki.0x2620.org/wiki/pandora/API">on the wiki</a></div>';
|
overview = '<div class="OxSelectable"><h2>API Documentation</h2>use this api in the browser with <a href="/static/oxjs/demos/doc2/index.html#Ox.App">Ox.app</a> or use <a href="http://code.0x2620.org/pandora_client">pandora_client</a> it in python. Further description of the api can be found <a href="https://wiki.0x2620.org/wiki/pandora/API">on the wiki</a></div>';
|
||||||
|
|
||||||
pandora.api.api({docs: true, code: true}, function(results) {
|
pandora.api.api({docs: true, code: true}, function(results) {
|
||||||
var items = [{
|
var items = [{
|
||||||
id: '',
|
id: '',
|
||||||
title: pandora.site.site.name + ' API',
|
title: 'API Documentation',
|
||||||
sort: 'aaa'
|
sort: 'aaa'
|
||||||
}];
|
}];
|
||||||
actions = results.data.actions;
|
actions = results.data.actions;
|
||||||
|
|
Loading…
Reference in a new issue