appdotnet / api-spec

App.net API Documentation is on the web at https://developers.app.net. Source for these docs is in the new-docs branch here. Please use the issue tracker and submit pull requests! Help us build the real-time social service where users and developers come first, not advertisers.
https://developers.app.net
950 stars 98 forks source link

developer-designated indexed ids #283

Closed hackervera closed 11 years ago

hackervera commented 11 years ago

Right now the id for resources is arbitrarily assigned on resource creation. it would be really nice if, as a developer, i could assign my own global id to my resource so that i could have a convention in my app that knew the names of things.

I think the best way to implement would give a namespace to a developer, so for example i could create a new post with the id tyler.first_post

it would be really handy :)

hackervera commented 11 years ago

adding to this from patter channel @troll Maybe, but we could use it like we do annotations. A common scheme could make them universal. Like the dev id could be "review.user_id"

berg commented 11 years ago

I understand the use case for this, but unfortunately I don't think we'll be able to accomodate this request. You're welcome to define an annotation for the purpose of creating these tags if you like.