[Developers] Getting Image and Description IDs for a topic

Will Luo will at metaweb.com
Thu Jul 26 21:22:50 UTC 2007


ryan, the article and image properties are in the "/common/topic"
type's schema. in your query you only asked for properties belonging
to the type "/user/ninjascience/default_domain/mecha_product". try
this query to retrieve the article and image properties:

{
    "*":null,
    "id":"#9202a8c04000641f80000000054ed89e",
    "type":"/user/ninjascience/default_domain/mecha_product"
    "/common/topic/article":[{}],
    "/common/topic/image":[{}],
}

(you can ask for properties from other types by specifying the
full path to those properties.)

will

Ryan Miller wrote:
> I'm trying to get the image and description id's of a topic so i can
> retrieve them with trans, but none of my queries seem to pass those
> back.
> 
> Here is a query to a private type that has an image and a description defined.
> 
> {
>  "*":null,
> "id":"%239202a8c04000641f80000000054ed89e",
> "type":"/user/ninjascience/default_domain/mecha_product"
> }
> 
> This query returns all the other properties of this topic correctly.
> 
> thanks,
> Ryan Miller



More information about the Developers mailing list