Ticket #100 (new task)

Opened 6 years ago

Last modified 5 years ago

REST: Record returned in reponse to create or update operation should return full record or selected fields

Reported by: bruno Owned by: bruno
Priority: major Milestone:
Component: REST/HTTP interface Version:
Keywords: Cc: lily-developers@…


In the REST interface, operations that create or update records return a dump of the record in their response.

Right now, this is the updated version of the submitted record.

However, it makes more sense to return the full record, or a selection of fields (as support for GET).

This needs #93 to be implemented first.

Affected resources/operations include:

  • PUT and POST on /record/{id}
  • POST on /record

Change History

comment:1 Changed 6 years ago by bruno

  • Milestone set to 0.2

comment:2 Changed 6 years ago by stevenn

  • Milestone changed from 0.2 to 0.3

comment:3 Changed 6 years ago by bruno

  • Milestone changed from 0.3 to 1.0

comment:4 Changed 6 years ago by evert

  • Milestone changed from 1.0 to 1.1

comment:5 Changed 5 years ago by bruno

  • Milestone 1.1 deleted
Note: See TracTickets for help on using tickets.