(Web API) Manage collections inside objects

Registered by Morten Olav Hansen on 2014-06-15

If you have an object A, and want to add an item to a collection inside this object, today you will have to send a PUT with the entire updated body included.

We should add a simple API to add/edit/delete from a collection inside a object.

{
  "name": "object",
  "items": []
}

POST {"itemName": "A"} => /api/objects/object-id/items
PUT {"itemName": "A"} => /api/objects/{object-id}/items/{item-id}
DELETE => /api/objects/{object-id}/items/{item-id}

Blueprint information

Status:
Complete
Approver:
Morten Olav Hansen
Priority:
Undefined
Drafter:
Morten Olav Hansen
Direction:
Approved
Assignee:
Morten Olav Hansen
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.17
Started by
Morten Olav Hansen on 2014-09-30
Completed by
Morten Olav Hansen on 2014-10-02

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.