All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui.restdocs.template.xhtml Maven / Gradle / Ivy

There is a newer version: 16.6
Show newest version



  
  

  ${meta.title} REST Documentation
  


Opencast

${meta.title} REST Documentation

${meta.url}
${(meta.abstract)!}
<#list notes>

General Notes

    <#items as note>
  • ${note}

Table of Contents

<#list endpointHolders as endpointHolder> <#list endpointHolder.endpoints>

${endpointHolder.title} methods

<#items as endpoint> <#if (endpoint.requiredParams?size > 0)> <#if endpoint.bodyParam??> <#if (endpoint.formats?size > 0)> <#if (endpoint.returnTypeSchema??)> <#if (endpoint.notes?size > 0)>
Method / Path: ${endpoint.method} ${endpoint.path}
Description: ${endpoint.description!"NONE"}
Path params: <#list endpoint.pathParams as param> ${param.name}<#if param.defaultValue??>(Default value=${param.escapedDefaultValue}): ${param.description!"NONE"}<#sep>
<#else> NONE
Required (form) params: <#list endpoint.requiredParams as param> ${param.name}: ${param.description!""} <#if param.xmlSchema??>
XML Schema
<#if param_has_next>
Body (upload) param: <#if endpoint.bodyParam.defaultValue??> (Default value=${endpoint.bodyParam.escapedDefaultValue}): ${endpoint.bodyParam.description!"NONE"}
Optional (<#if (endpoint.method == "GET" || endpoint.method == "DELETE")>query<#else>form) params: <#list endpoint.optionalParams as param> ${param.name}<#if param.defaultValue??>(Default value=${param.escapedDefaultValue}): ${param.description!"NONE"}<#sep>
<#else> NONE
Response formats: <#list endpoint.formats as format> <#if format.url??>${format.name}<#else>${format.name} <#if format.description??>(${format.description})<#sep>
Status codes: <#list endpoint.statuses as status> ${status.code}: ${status.name}, ${status.description!"NONE"}<#if status_has_next>
<#else> NONE
Returned Entity Schema:
Click to view
Notes:
    <#list endpoint.notes as note>
  • ${note}
Testing:
Sample: ${endpoint.path}${endpoint.queryString!}
<#if endpoint.form??> <#if (endpoint.form.basic)><#-- link to the basic endpoint path --> ${meta.url}${endpoint.path}${endpoint.queryString!} <#else> Testing form (click to reveal)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy