[Developers] Metadata about types

Shawn Simister narphorium at gmail.com
Sun Sep 9 17:28:14 UTC 2007


Kirrily Robert wrote:
> How can I find out the following information about types?
>
> * who created it
> * when they created it
> * public vs private
>
> I hoped that this might tell me the answer:
>
> {
>   "query":[{
>     "id":"/type/type",
>     "properties":[],
>     "type":"/type/type"
>   }]
> }
>
> ... but it turns out it doesn't.
>
> K.
>   
That one confused me as well. You need to use the type name as the id. 
For example:

{
  "query":[{
    "*":[{}],
    "id":"/people/person",
    "properties":[{}],
    "type":"/type/type"
  }]
}

This will give you the first 2 requirements. Not too sure about public 
vs. private. As far as I can tell thats not exposed in the API.


More information about the Developers mailing list