NicolasCARPi on 4.5.2
NicolasCARPi on 4.5.2
NicolasCARPi on ird
fix tests and more anon fixes fix deleted entries showing up … fix jsoneditor toggle and 6 more (compare)
NicolasCARPi on next
fix tests and more anon fixes fix deleted entries showing up … fix jsoneditor toggle and 5 more (compare)
NicolasCARPi on master
fix tests and more anon fixes fix deleted entries showing up … fix jsoneditor toggle and 5 more (compare)
NicolasCARPi on demo
fix tests and more anon fixes fix deleted entries showing up … fix jsoneditor toggle and 6 more (compare)
NicolasCARPi on hypernext
fix issue with uploaded images … (compare)
NicolasCARPi on hypernext
correctly handle files with the… remove unused $e (compare)
NicolasCARPi on hypernext
allow border attribute on table… (compare)
api/v2/experiments/257/steps/53
with in the request body an action: finish
to toggle the finished step of a step. You can PATCH /items/432 with an action "Lock" to toggle lock and you can PATCH with an action:bloxberg to send it to blockchain. Basically the WEB UI is now using the api directly, so for 99% of actions that can be done through the web interface, they can also be done through the REST API because it's using the same endpoint ;)
Sender Address:
field, but that's not covered in the install guide
2022/09/12 16:57:05 [error] 133#133: *4796 FastCGI sent in stderr: "PHP message: [2022-09-12T18:57:05.871483+02:00] elabftw.ERROR: {"exception":"[object] (Symfony\\Component\\Mailer\\Exception\\TransportException(code: 0): Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`*.pphosted.com' did not match expected CN=`relay-hostname' at /elabftw/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:171)"} []" while reading response header from upstream, client: IPADDRESS, server: hostname, request: "POST /app/controllers/SysconfigAjaxController.php HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "hostname"
/etc/letsencrypt:/ssl
extra_fields
parameter of a JSON in order to be searchable with quick search? We'd like to push metadata to the server for each experiment entry in such a way that it will be searchable, but it's not necessary that it be editable by the end user.get_experiment()
function doesn't seem to be able to take a search argumentmetadata
column. Searching JSON with mysql is not straightforward. Only on the search page you can search for key/value in extra_fields, and yes it needs to be in extra_fields.search
paramater in Query parameters
https://doc.elabftw.net/api/#api-Entity-GetExperimentexp.search("string")
exp = manager.get_experiment(id=3, search="string")
exp = manager.get_experiment(3, search="string")
Authorization
header.material
parameter, a hasSpectrum
parameter, and a filename
parameter to extra_fields
in order to accomplish this, and then I would have to execute multiple queries, since you can only do exact matches(?) with the extra_fields
query.experiment_finished
parameter evaluates to true
. I don't strictly need all of the metadata tagging that I'm talking about, but it would be nice for facilitating ML and trend analysis on our data as no one has really done it very well in our field (datasets are much too small).
search
query using curl
yesterday, and I kept getting errors. Would you be willing to provide an example of a minimum working command (something like search for experiments with Author X), and then an example of a multi-component query (Author X AND Body string
)?
curl -H "Authorization: $TOKEN" https://elab.example.org/api/v1/search?author=X
, but I'm not sure of the syntax and special characters
owner
, and cat
for categories (status for experiments, items types for items)