~manishsinha/zeitgeist-affinity/image-video-support

« back to all changes in this revision

Viewing changes to README

  • Committer: Manish Sinha
  • Date: 2010-11-30 15:46:12 UTC
  • Revision ID: manishsinha.tech@gmail.com-20101130154612-26sbnoou3jzmjsi4
Updated the documentation and PROGRESS

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
To create an event:
22
22
 
23
23
  curl -H 'Content-Type:application/json' -X POST -d '{"origin": "test origin", "interpretation": "test interpretation", "manifestation": "test manifestation", "actor": "test actor", "subject": {"interpretation": "test interpretation subject", "manifestation": "test manifestation subject", "origin": "test origin subject", "mimetype": "test mimetype", "text": "more testing"}}' http://localhost:8000/log/event
 
24
  
 
25
 
 
26
To create a music event:
 
27
 
24
28
        'title', 
25
29
        'artist', 
26
30
        'album', 
28
32
        'comment', 
29
33
        'track', 
30
34
        'genre', 
 
35
        
31
36
  curl -H 'Content-Type:application/json' -X POST -d '{"title": "test title", "artist": "test artist", "album": "test album", "year": 2010, "comment": "test comment", "track": 1, "genre": "test genre", "event": {"origin": "test origin", "interpretation": "test interpretation", "manifestation": "test manifestation", "actor": "test actor", "subject": {"interpretation": "test interpretation subject", "manifestation": "test manifestation subject", "origin": "test origin subject", "mimetype": "test mimetype", "text": "more testing"}}}' http://localhost:8000/music/
32
37
 
33
38