REST api v2
REST api (v2)
Get
GET http://molgenis.mydomain.example/api/v2/<entity_name>/<entity_id>
GET http://molgenis.mydomain.example/api/v2/<entity_name>/<entity_id>?attrs=attr0
GET http://molgenis.mydomain.example/api/v2/<entity_name>/<entity_id>?attrs=attr0,attr1
GET http://molgenis.mydomain.example/api/v2/<entity_name>/<entity_id>?attrs=attr0(subattr0,subattr1),attr1(*)POST http://molgenis.mydomain.example/api/v2/<entity_name>/<entity_id>?_method=GETPOST http://molgenis.mydomain.example/api/v2/<entity_name>/<entity_id>?_method=GET
attrs=attr0(subattr0,subattr1),attr1(*)Delete
DELETE http://molgenis.mydomain.example/api/v2/<entity_name>/<entity_id>Query
Aggregate contents
Join data from other tables
Sorting categorical options
Example request - response
Create/Add, Update, Delete by ID
Batch add/create
Batch update
Batch delete
One value
Last updated