blob: 54174e72b71423b8dd05af70812ae1ed36c37e14 [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
Akron8a21b4d2020-04-16 16:17:42 +020011% my $api_url = $c->url_for('proxy' => (apiv => $Kalamar::API_VERSION))->to_abs->scheme('https');
12% $api_url->path->trailing_slash(1);
Akron07d8de62020-02-04 17:45:40 +010013<p>The root service can be found at <code id="api-service-uri"><%= $api_url %></code>.</p>