method ?>
path; ?>
title; ?>
#version; ?>
', '', "title='{$lang->fullscreen}' class='btn btn-link fullscreen-btn'"); if(common::hasPriv('api', 'edit')) echo html::a(inlink('edit', "apiID=$api->id"), '', '', "title='{$lang->api->edit}' class='btn btn-link' data-app='{$this->app->tab}'"); if(common::hasPriv('doc', 'delete')) { $deleteURL = $this->createLink('api', 'delete', "apiID=$api->id&confirm=yes"); echo html::a("javascript:ajaxDeleteApi(\"$deleteURL\", confirmDelete)", '', '', "title='{$lang->api->delete}' class='btn btn-link'"); } ?>
api->principal; ?> owner; ?>
api->apiDesc; ?> desc; ?>
params as $param) { if($param['scope'] == apiModel::SCOPE_HEADER) array_push($header, $param); elseif($param['scope'] == apiModel::SCOPE_QUERY) array_push($query, $param); else array_push($params, $param); } $types = ['header', 'query', 'params'] ?>

api->$type ?>

api->req->name ?> api->req->type ?> api->req->required ?> api->req->desc ?>
paramsExample): ?>

api->paramsExample ?>

paramsExample ?>
response): ?>

api->response; ?>

response as $res): ?>
api->res->name ?> api->res->type ?> api->res->desc ?>
responseExample): ?>

api->responseExample ?>

responseExample ?>
createLink('action', 'comment', "objectType=doc&objectID=$api->id"); ?>