[Buildbot-commits] [Buildbot] #2619: [nine] Names for IDs

Buildbot trac trac at buildbot.net
Fri Jan 10 19:36:52 UTC 2014


#2619: [nine] Names for IDs
------------------------+--------------------
Reporter:  dustin       |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  major        |  Milestone:  0.9.0
 Version:  0.8.8        |   Keywords:  simple
------------------------+--------------------
 In the Data API, each resource has an id named after the resource type,
 e.g., ``masterid`` or ``builderid``.
 In the DB API, ID's are always named ``id``, since there's generally only
 one.

 It would make things easier for users of the REST API if the Data API
 provided an 'id' field for the ID of the resource, with links to other
 resources using longer names like ``masterid``.
 This is also in accordance with the JSON API.

 In the process, validate that all links to other resources use the full
 name, e.g., ``sourcestampid``, not something shorter like ``ssid``.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2619>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list