-
Notifications
You must be signed in to change notification settings - Fork 2
Key format
shz edited this page Aug 5, 2011
·
1 revision
A key is simply a string that identifies one or more objects. At the moment, there are two ways of doing this.
This is the most straightforward approach, as the key is simply the object's ID, which itself is of the format
[type]/[hex]
Example:
convo/1234dead5678beef
This will return multiple objects, is formatted as such:
[type]([field]=[id])
Where type is the type of the object to return, field is the "foreign key" field, and id is the related object.
Example:
convo(listing=listing/2)
This would return all conversations where the related listing field is "listing/2".