Strict Standards: Declaration of action_plugin_wrap::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /homepages/14/d154513924/htdocs/developer.seasonsapp.com/wiki/lib/plugins/wrap/action.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /homepages/14/d154513924/htdocs/developer.seasonsapp.com/wiki/lib/plugins/wrap/action.php:13) in /homepages/14/d154513924/htdocs/developer.seasonsapp.com/wiki/inc/auth.php on line 339

Warning: Cannot modify header information - headers already sent by (output started at /homepages/14/d154513924/htdocs/developer.seasonsapp.com/wiki/lib/plugins/wrap/action.php:13) in /homepages/14/d154513924/htdocs/developer.seasonsapp.com/wiki/inc/actions.php on line 162
documentation:concepts – Seasons API Documentation

API Concepts

The base URL of the Seasons API

http://api.seasonsapp.com

Representation Formats


The API supports two representation formats, JSON and XML. To specify either format use the format parameter in the URL.

http://api.seasonsapp.com/example/?format=xml
http://api.seasonsapp.com/example/?format=json

HTTP Status Codes


The API uses different HTTP status codes to give further information about response.

200 OK
400 Bad request
404 Not found


In case of a 400 the response body will provide detailed information about why the request could not be processed. This response body looks like:


XML


<error>
  <code >400</code >
  <message>Language code invalid</message>
</error>


JSON


{
	"error":{
		"code":"400",
		"message":"Language code invalid"
	}
}

Common Tasks

documentation/concepts.txt · Last modified: 2010/10/28 01:28 (external edit)
Trace: concepts