REST api v2
REST api (v2)
Get
Key
Type
Description
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
Key
Type
Description
Aggregate contents
Key
Type
Description
Join data from other tables
Key
Type
Description
Sorting categorical options
id
visible
unique
type
id
mySortAttribute
label
Example request - response
id
category
id
label
Create/Add, Update, Delete by ID
Batch add/create
Batch update
Batch delete
One value
Last updated