Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Template:Orion/ServerAPI

Revision as of 16:25, 10 January 2011 by Unnamed Poltroon (Talk) (New page: <noinclude> This is a template for documenting REST-oriented Web APIs. {{Usage|<pre>{{WebAPI | overview = Obtain file contents | method = GET | reqhead = /file/myfile.txt HTTP/1.1 | resph...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a template for documenting REST-oriented Web APIs.

Markup Rendering
{{WebAPI
| overview = Obtain file contents
| method = GET
| reqhead = /file/myfile.txt HTTP/1.1
| resphead = 201 OK
| explain = Detailed explanation
}}

Template:WebAPI


Method

The HTTP Method

Overview

A textual overview of the purpose of the method

reqhead

The HTTP headers of the request

reqbody

The body of the HTTP request

resphead

The HTTP headers of the response

respbody

The body of the HTTP response

Explain

Detailed explanation of this method.


Back to the top