blob: a7f1a3040c4b8029c43e0aef558f42978595024b [file] [log] [blame]
Nils Diewalda31a5152015-04-17 21:05:23 +00001% layout 'main', title => 'KorAP: Application Programming Interface';
2
Akron9490e3b2019-10-17 12:26:29 +02003%= page_title
Nils Diewalda31a5152015-04-17 21:05:23 +00004
Akron07d166a2019-07-17 17:21:29 +02005<p>Internally the communication between KorAP components is done using the KoralQuery protocol.
Akron9490e3b2019-10-17 12:26:29 +02006 The specification for KoralQuery is available on <%= ext_link_to 'GitHub', "http://korap.github.io/Koral" %>.
Akron07d166a2019-07-17 17:21:29 +02007 All API endpoints either use KoralQuery or are (more or lest) REST-ful web APIs.</p>
Nils Diewalda31a5152015-04-17 21:05:23 +00008
Akron3cfa26d2019-10-24 15:17:34 +02009<p>All publicly available API endpoints including their requests and responses are described in the <%= ext_link_to 'GitHub Wiki', "https://github.com/KorAP/Kustvakt/wiki" %> of <%= embedded_link_to 'doc', 'Kustvakt', 'korap', 'kustvakt' %>.</p>
Akron07d8de62020-02-04 17:45:40 +010010
11% if (app->config('Kalamar')->{experimental_proxy}) {
12% my $api_url = $c->url_for('proxy' => (apiv => $Kalamar::API_VERSION))->to_abs->scheme('https');
13% $api_url->path->trailing_slash(1);
14<p>The root service can be found at <code id="api-service-uri"><%= $api_url %></code>.</p>
15% }