diff options
| author | Nils Grunwald <nils@grunwald.fr> | 2010-10-13 00:50:21 +0200 |
|---|---|---|
| committer | Nils Grunwald <nils@grunwald.fr> | 2010-10-13 00:50:21 +0200 |
| commit | a917f3e31ce61e99044ed563c3dbf7273f00b629 (patch) | |
| tree | 34ace2e65933ef9e67c471ba5fe64136f6a75c57 | |
| parent | initial import (diff) | |
| download | spore-specifications-a917f3e31ce61e99044ed563c3dbf7273f00b629.tar.gz | |
- transformed numbers in booleans
- renamed authentication in api_authentication
- made name and version mandatory
- added api_auth_type and auth_type
| -rw-r--r-- | spore_description.pod | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/spore_description.pod b/spore_description.pod index f0433e5..b969ffc 100644 --- a/spore_description.pod +++ b/spore_description.pod @@ -48,7 +48,7 @@ This part describes the API itself: =over 4 -=item B<name> (optional) +=item B<name> (required) A simple name to describe the specification @@ -75,17 +75,25 @@ A list of supported format - json - xml -=item B<version> (optinal) +=item B<version> (required) The version number of the current description version: 0.1 -=item B<authentication> (optional) +=item B<api_authentication> (optional) A boolean to specify if this API requires authentication for all the methods - authentication: 1 + api_authentication: true + +=item B<api_auth_type> (optional) + +A list of supported authentication methods + + api_auth_type: + - simple + - oauth =item B<methods> (required) @@ -151,7 +159,14 @@ documentation. A boolean to specify if this method requires authentication - authentication: 0 + authentication: false + +=item B<auth_type> (optional) + +A list of supported authentication methods + + auth_type: + - digest =item B<base_url> (optional) |
