JSON-API documentation

170 views
Skip to first unread message

Carina Haupt

unread,
Mar 21, 2017, 5:42:45 AM3/21/17
to EnterMedia
Hi,

I'm trying to use EnterMediaDB in a project, but paused cause i could not really find a useful documentation to the REST-API's.
What i found is https://entermediadb.org/knowledge/json-rest-api/ and https://github.com/entermedia-community/Entermedia-JSON-REST-API/blob/master/apiary.apib
Do you have any resources which better explain how to use this API?

Thanks in advance

Bruno Martins

unread,
Apr 11, 2017, 12:08:03 PM4/11/17
to enter...@googlegroups.com, carina....@gmail.com
Hi, 

Just found out this

If you do the following request to the API you'll get a list of available endpoints and description


curl -X POST http://$HOST/assets/mediadb/services/lists/search/endpoint -d'{"page": "1","hitsperpage": "100","query": {"terms": [{"field": "id","operator": "matches","value": "*"}]}}' -H'Content-type: application/json' -H'Cookie: entermedia.key=$ekey'

just replace $HOST and $ekey 

Bruno

--
You received this message because you are subscribed to the Google Groups "EnterMedia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cristobal Mejia

unread,
May 10, 2017, 12:02:15 PM5/10/17
to EnterMedia, carina....@gmail.com
We have a cool documentation-samples for API calls that comes with the installation, take a look at: 


 

Nelson Sequiera

unread,
Jan 24, 2018, 5:51:32 AM1/24/18
to EnterMedia
Awesome..
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.

em...@minds-pool.com

unread,
Mar 21, 2019, 10:25:18 AM3/21/19
to EnterMedia
I tried to run this curl in post man  , but it return java exception  : 
"status":"error",{ "path":"/WEB-INF/base/mediadb/services/lists/search/_site.xconf#JsonDataModule.handleSearch java.lang.NullPointerException"}
To unsubscribe from this group and stop receiving emails from it, send an email to entermedia+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages