API Documentation, generated 2011-06-22T16:54:50+01:00
Actions : 6
Errors : 4
Output Types : 8
This is an example of a collection. A collection is a bucket of resources. In this case, you can only POST and DELETE this collection.
POST: A post will add a new resource to a collection. You have to pass a "name" parameter.
DELETE: Delete collection will remove the collection of resources from the system.
Try it with "curl -X POST http://api.frapi/collection -d '{"name":"new"}' -H 'Content-Type: application/json'
- /collection
- name (Optional)
This is the resource contained in a certain collection group.
PUT: A put with the "name" parameter will update the name of the resource
DELETE: Deletes the resource.
GET: This retrieves the information relative to the resource contained in the collection
- /collection/:resource
- name (Optional)
This is a collection of sibling for a resource. This only accepts POST, DELETE, GET and HEAD.
POST: A post will add a new sibling using the name parameter
DELETE: This deletes the siblings connections, it removes all siblings in the collection
GET: Retrieve a list of siblings and the relative information.
HEAD: Fetch the meta information for the siblings.
- /collection/:resource/siblings
- name (Optional)
This is used to execute operations on a sibling resource.
GET: Retrieve the information relative to a sibling
DELETE: Remove a sibling for this resource
HEAD: Retrieve the meta information relative to a sibling.
- /collection/:resource/siblings/:sibling
IM a currently giving a talk on demoing frapi and talking about frapi.
- /tek/demo
- baptiboupti (Required)
This is a Microsoft event.
PUT: Add attendees POST: update DELETE...
- /event/microsoft
405
This method is not accepted for this API call.
This error is returned whenever someone tries to execute a PUT request on a collection or a resource that prevents PUT requests.
405
POST calls are not accepted for this request.
This error is returned whenever a collection or a resource prevents the use of the POST method.
406
This is not true
This is the error returned when a string pass isn't true.
419
Some example.
this is an error returned whenever we're at tek.
-
CLI (Enabled)
-
PHP (Enabled)
-
XML (Enabled)
-
JSON (Enabled) and this one is the Default output type
-
PRINTR (Enabled)
-
Custom (Enabled)
-
HTML (Enabled)
-
JS (Enabled)