The REST API has two request handlers with regards to the attention system: One fetches the set of atoms having STI values within a certain range and the other one returns all atoms in the attentional focus. Both of these functionalities are not affected by the recent changes I made.
BTW, I had been wondering if a gradual replacement of the current REST API with a guile one could be beneficial, since guile atomspace API is less buggy and well maintained than the python one. There is a nice guile rest api library here http://web-artanis.com/; It is under the GNU project. On Sat, Jun 17, 2017 at 1:53 PM, Ben Goertzel <[email protected]> wrote: > In a private discussion on a commercial project, Linas noted to me in > regard to > > http://wiki.opencog.org/w/REST_API > > that the REST API can use some updating... to wit: > > -- that API is no longer consistent with the changes to attention > values from Misgana's work. > > -- That API also doesn't support the new values subsystem, which makes > it less useful/interesting than it otherwise could be. > > -- listing the incoming set as part of the atom is going to hurt > efficiency, for larger datasets. > > As we are using the REST API for the Atomspace Visualizer and the Mozi > demo, it will be useful to make sure it's updated pretty soon... > > thanks > ben > > > > -- > Ben Goertzel, PhD > http://goertzel.org > > "I am God! I am nothing, I'm play, I am freedom, I am life. I am the > boundary, I am the peak." -- Alexander Scriabin > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/opencog. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/opencog/CACYTDBf_L%3D1T4yy5RSWADCie2Vu1JNSjeoqK% > 3DADNHEqfbKArKQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- Belachew Misgana Bayetta 'For everyone who asks receives, and the one who seeks finds, and to the one who knocks it will be opened ' --Jesus 'The future belongs to those who believe in the beauty of their dreams' --Eleanor Rusvelt -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/opencog. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CAOgrVvU09Dc%2B19%3DqiAUK6-3zTK-x%3DzmawOqjc-jwTOCS37Leiw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
