[Developers] invalid datetime value?
Augusto Callejas
acallejas at appliedminds.com
Thu Aug 7 23:44:55 UTC 2008
hi-
i tried this query but it complained about my datetime value.
according to documentation:
----
http://www.freebase.com/view/guid/9202a8c04000641f800000000544e143#id261008
6
Seconds must be specified with two digits, but may also include a decimal
point and a fractional second. Metaweb allows up to 9 digits after the
decimal point.
----
any ideas?
thanks,
augusto.
===
{
"/type/reflect/any_value" : [
{
"link" : {
"master_property" : null,
"operation" : null,
"timestamp" : null,
"timestamp>=" : "2008-08-07T16:08:16.000000075",
"valid" : null
},
"sort" : "link.timestamp",
"value" : null
}
],
"guid" : null,
"type" : [],
"type|=" : [
"/user/augusto/default_domain/type1"
]
}
====
====
{
"code" : "/api/status/ok",
"q1" : {
"code" : "/api/status/error",
"messages" : [
{
"code" : "/api/status/error/mql/type",
"info" : {
"expected_type" : "/type/datetime",
"value" : "2008-08-07T16:08:16.000000075",
"value_type" : "string"
},
"message" : "2008-08-07T16:08:16.000000075 is a JSON string, but the
expected type is /type/datetime"
}
]
},
"status" : "200 OK"
}
====
More information about the Developers
mailing list