Wiki

Clone wiki

web_engine / Request_Examples

List

  • [GET] /music/artists
  • [GET] /music/artists/:list
  • [GET] /music/artists/:list ? year > 1990 & !(genre = rock | genre != jazz)

New

  • [GET] /music/artist/:new (Returns a form to create new artist.)
  • [POST] /music/artist/:new (Accepts a request to create new artist.)
  • [POST] /music/artist/:new (Accepts a request to create new artist.)
  • [POST] /music/artist/ (Same as previous because the default action for [[POST] /<record>] is Accept_New_Record action.)

Show

  • [GET] /music/artist = Neurosis
  • [GET] /music/artist = Neurosis/:show ? #biography

Edit

  • [GET] /music/artist = Neurosis/:edit
  • [GET] /music/artist = Neurosis/album = A Sun That Never Sets/:edit ? filed = year
  • [PUT] /music/artist = Neurosis
  • [PUT] /music/artist = Neurosis/:edit (Same as previous because the default action for [[PUT] /<record>] is Update_Record action.)

Delete

  • [DELETE] /music/artist = Neurosis/album = Soverign
  • [DELETE] /music/artist = Neurosis/album = Soverign/:delete (Same as previous because the default action for [[DELETE] /<record>] is Delete_Record action.)

Meta-Record

  • [GET] /music/artist/ Shows the record type meta-page. Provides links for :list and :new

Updated