Open Athena-Cataleya opened 5 years ago
The fix is available on UTT's Cassandre server:
I did it both for item
(as asked) but also for corpus
(which is the efficient way to go through this:
As you can see, all attributes (e.g. enquêteur
and date
) are now got. Be careful, the values are either a string or an array of strings.
@christophe-lejeune I pushed the fix on v2. Commit 8aad2e6 could probably be cherry-picked (and amended) for v3.
Related to : https://github.com/Hypertopic/Cassandre/issues/84
We need to see the item's attributes in the Hypertopic Item for our function : https://github.com/Hypertopic/Porphyry/issues/191
For now you can access to:
GET http://cassandre.hypertopic.org/item/enseignants-decrocheurs/deb51701fe5e555acf3a765a30115e04
{"rows":[ {"key":["http://cassandre.hypertopic.org/text/enseignants-decrocheurs/deb51701fe5e555acf3a765a30115e04"], "value":{"item":{"corpus":"enseignants-decrocheurs", "id":"deb51701fe5e555acf3a765a30115e04"}}} ]}
And we need to access other attributes like :