[Developers] any programmatic way to query for sandbox reloading status?
Shawn Simister
narphorium at gmail.com
Fri Jul 17 19:59:45 UTC 2009
All I could find was this: http://freebaseapps.com/docs/web_services/version
I would guess that some of those codes should match up with various
projects and version numbers in Jira but I haven't actually verified that.
Raymond Yee wrote:
> Hey Shawn,
>
> Thanks for pointing to /api/version. Are the parameters documented
> somewhere? I looked at
> http://www.freebase.com/edit/topic/en/api_version but didn't quite
> understand the values
>
> Output from http://www.sandbox-freebase.com/api/version
>
> {
> "cdb": "cdb/dev/21:77732",
> "client": "client/dev/97:77725",
> "code": "/api/status/ok",
> "graph": "gd/dev/50:76020",
> "index": "relevance/dev/28:75179",
> "me": "me/dev/139/pyroot:77635",
> "server": "sandbox-freebase.com",
> "status": "200 OK",
> "transaction_id": "cache;cache01.sandbox.sjc1:8101;2009-07-17T19:46:37Z;0002"
> }
> Output from http://www.freebase.com/api/version
>
> {
> "cdb": "cdb/dev/18:72726",
> "client": "client/dev/96:77671",
> "code": "/api/status/ok",
> "graph": "gd/dev/50:76020",
> "index": "relevance/dev/28:75179",
> "me": "me/dev/138/pyroot:77659",
> "server": "www.freebase.com",
> "status": "200 OK",
> "transaction_id": "cache;cache03.p01.sjc1:8101;2009-07-17T19:47:20Z;0008"
> }
>
> -Raymond
>
> Shawn Simister wrote:
>> You should also be able to poll
>> http://www.sandbox-freebase.com/api/version to check for updates. It
>> still wouldn't give you any advance warning though.
>>
>> Shawn
>>
>> Kirrily Robert wrote:
>>> It seems to me that you could do this yourself, in a weird way. When
>>> you run your sandbox updater, create a topic on sandbox called
>>> "Sandbox hasn't been refreshed yet." Then when your cron job runs,
>>> look for the presence of that topic, also checking for creator =
>>> rdhyee just to be sure. If the topic doesn't exist, it means sandbox
>>> has been refreshed, in which case you run your updater again and re-
>>> create the topic.
>>>
>>> Hacky, but should do the trick.
>>>
>>> K.
>>>
>>> On 17/07/2009, at 11:48 AM, Raymond Yee wrote:
>>>
>>>
>>>> Now that freebase-python 1.0 makes it easier to easier to save and
>>>> copy
>>>> types and objects around
>>>> (http://blog.freebase.com/2009/07/10/freebase-python-1-0/ ), I'm
>>>> thinking of automating the process of saving my sandbox work and
>>>> reloading it every week. Is there an API call (or series of API
>>>> calls)
>>>> I can make to determine 1) whether the sandbox is in the process of
>>>> being reloaded and 2) when that reloading is done? Also some
>>>> information that indicates an estimate of when the next reload will
>>>> start and when it will end would be helpful for automating saving my
>>>> work between sandbox refreshes.
>>>>
>>>> -Raymond
>>>> _______________________________________________
>>>> Developers mailing list
>>>> Developers at freebase.com
>>>> http://lists.freebase.com/mailman/listinfo/developers
>>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Developers mailing list
>> Developers at freebase.com
>> http://lists.freebase.com/mailman/listinfo/developers
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090717/32f579de/attachment-0001.htm
More information about the Developers
mailing list