iclicker (xml)

Handles the i>clicker registration and integrate data feeds for the Sakai system, all operations are for the current user so authentication is required for all operations, the base item handled by this provider is a i>clicker registration but feeds are also available for gradebook, course, and student data
RESTful URLs: http://microformats.org/wiki/rest/urls
HTTP response codes as returned by the system:
200 - OK (request is ok and content returned)
201 - CREATED (request created new content, URL and id of content in the header)
204 - NO CONTENT (request is ok but no content to return)
400 - ERROR (general error in the request, probably invalid parameters or data)
401 - UNAUTHORIZED (user authentication required for this request)
403 - FORBIDDEN (authorization required, insufficient privileges, user is already authenticated)
404 - NOT FOUND (resource not found, URL is invalid in some way, id or action are invalid)
405 - METHOD NOT ALLOWED (the method is not supported for this entity type)
406 - NOT ACCEPTABLE (the data format requested is unavailable for this entity type)
500 - INTERNAL SERVER ERROR (general server failure, probably a failure in the provider)
501 - NOT IMPLEMENTED (indicates that a prefix is invalid)

Sample Entity URLs (_id=':ID:') [may not be valid]:

Entity Collection URL: GET /iclicker (xml) (json)
Response Code Details: 200 plus data; 404 if not found, 406 if format unavailable
Retrieves the list of all i>clicker registrations for the current user
Create Entity URL: POST /iclicker
Response Code Details: 201 plus id (EntityId); 400 if inputs invalid
Adds an i>clicker registration, will always set the owner/created by to the current user, only the clickerId field is required when creating a registration: POST /iclicker/
Show Entity URL: GET /iclicker/:ID: (xml) (json)
Response Code Details: 200 plus data; 404 if not found, 406 if format unavailable
Allows checking for and viewing of data from a single i>clicker registration by internalId (numeric) or clickerId

Custom Actions

courses : list (GET) : [/iclicker/courses] (xml) (json)
Retrieves a listing of all courses for the current user by default, can optionally get a single course and student using: GET /iclicker/courses/
activate : edit (PUT) : [/iclicker/:ID:/activate]
Activate/enable an i>clicker registration: POST /iclicker/activate/
students : list (GET) : [/iclicker/students] (xml) (json)
Retrieves a listing of all students in a course with i>clicker registrations indicated: GET /iclicker/students/
gradeitem : * : [/iclicker/gradeitem] (xml) (json)
gradebook : list (GET) : [/iclicker/gradebook] (xml) (json)
Retrieves a listing of all gradebook data in a course: GET /iclicker/gradebook/
validate : new (POST) : [/iclicker/validate]
Validate an i>clicker registration: POST /iclicker/activate/
deactivate : edit (PUT) : [/iclicker/:ID:/deactivate]
Deactivate/disable an i>clicker registration: POST /iclicker/activate/

Entity class : org.sakaiproject.iclicker.model.ClickerRegistration

Type :: bean
Name Type Status
1) activatedbooleanRead/Write
2) clickerIdstringRead/Write
3) dateCreatedjava.util.DateRead/Write
4) dateModifiedjava.util.DateRead/Write
5) idlongRead/Write
6) keystringRead Only
7) locationIdstringRead/Write
8) nationalbooleanRead/Write
9) ownerIdstringRead/Write
10) userDisplayNamestringRead/Write

Data and Request Handling

Output formats : xml, json
Input formats : html, xml, json
No Access Provider registered for request processing

Capabilities

NameTypeDescription
1EntityProviderorg.sakaiproject.entitybroker.entityprovider.EntityProvider
2ActionsExecutableorg.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutable
3CollectionResolvableorg.sakaiproject.entitybroker.entityprovider.capabilities.CollectionResolvable
4Createableorg.sakaiproject.entitybroker.entityprovider.capabilities.Createable
5Describeableorg.sakaiproject.entitybroker.entityprovider.capabilities.Describeable
6Inputableorg.sakaiproject.entitybroker.entityprovider.capabilities.Inputable
7Outputableorg.sakaiproject.entitybroker.entityprovider.capabilities.Outputable
8Redirectableorg.sakaiproject.entitybroker.entityprovider.capabilities.Redirectable
9RequestAwareorg.sakaiproject.entitybroker.entityprovider.capabilities.RequestAware
10Resolvableorg.sakaiproject.entitybroker.entityprovider.capabilities.Resolvable
11Sampleableorg.sakaiproject.entitybroker.entityprovider.capabilities.Sampleable

REST:: 1.0.1 SVN: $Revision$ : $Date$