Initial OKAPI import (r412).

This commit is contained in:
Wojciech Rygielski
2012-08-18 14:07:35 +02:00
parent ce72d0473a
commit 56b80e025a
132 changed files with 14914 additions and 0 deletions

28
htdocs/okapi/urls.php Normal file
View File

@ -0,0 +1,28 @@
<?
namespace okapi;
# This is the list of OKAPI views. Regexps are mapped to namespaces.
# Each namespace should expose the Webservice class with a method "call".
# The "call" method should return OkapiResponse, or throw a BadRequest
# exception.
class OkapiUrls
{
public static $mapping = array(
'^(services/.*)\.html$' => 'method_doc',
'^(services/.*)$' => 'method_call',
'^introduction\.html$' => 'introduction',
'^signup\.html$' => 'signup',
'^examples\.html$' => 'examples',
'^$' => 'index',
'^apps/$' => 'apps/index',
'^apps/authorize$' => 'apps/authorize',
'^apps/authorized$' => 'apps/authorized',
'^apps/revoke_access$' => 'apps/revoke_access',
'^update/?$' => 'update',
'^cron5$' => 'cron5',
'^devel/attrlist$' => 'devel/attrlist',
'^devel/dbstruct$' => 'devel/dbstruct',
);
}