Overview#
This is a memo on how to use filters with the GakuNin RDM (OSF) API.
Target Data#
We target “NII Storage” with the following file structure.

Via the API, we target data accessible at URLs like the following.
https://api.rdm.nii.ac.jp/v2/nodes/wzv9g/files/osfstorage/
An example of the JSON data is shown below.
Search Examples#
Since it conforms to JSON:API, the filter parameter is used.
For example, to search for .xml files, the following query can be used.
https://api.rdm.nii.ac.jp/v2/nodes/wzv9g/files/osfstorage/67daca9916000900109e1d98/?filter[name]=.xml
One search result was obtained.
Summary#
I hope this serves as a useful reference for using the GakuNin RDM (OSF) API.