AdaHeads / call-flow-control

Call-information flow server.
Other
6 stars 8 forks source link

Use plain "id" for REST interfaces instead of ce_id/org_id/whatever #14

Closed ThomasLocke closed 11 years ago

ThomasLocke commented 11 years ago

When the intention of the REST interface is very clear, it makes no sense to complicate the protocol by having special names for the id parameter.

Clearly this:

/organization?id=n /contact?ce_id=n

is better than this:

/organization?org_id=n /contact?ce_id=n

rostgaard commented 11 years ago

Then what about the interfaces that take in more than one ID?

I vote nay for now.

ThomasLocke commented 11 years ago

Yea, this is a Bad Idea. I've just taken a dislike to both org_id and specifically ce_id. Maybe plain oid and cid could work?

rostgaard commented 11 years ago

I'm gonna be a bully and close this for now. Let's reopen when we have good suggestions to alternatives.