I tried using `syn.findEntityId('my name')` but this appears to only do a case sensitive search.
I can use the `getChildren` method to find folders and files but for projects I have to go through EVERY project in Synapse (that I have access to).
Can the [Search](https://rest-docs.synapse.org/rest/POST/search.html) endpoint be used for this? I tried hitting the endpoint but I get a 400 error every time.
Created by pstoutdev Thanks @kdaily! I think I have this working now with search.
If I wanted to limit to files, I can do:
```
syn.restPOST("/search", body=json.dumps(dict(booleanQuery=[dict(key="name", value="gates"), dict(key="node_type", value="file")])))
```
Searching the `name` field is still a substring match, not an equality. I believe that the `/search` endpoint is not case sentitive. The endpoint worked for me - I tried:
```python
import json
import synapseclient
syn = synapseclient.login()
syn.restPOST("/search", body=json.dumps(dict(queryTerm=["rally"])))
```
When I do not specify `queryTerm` as an array I also get a `400` error.
Drop files to upload
How to find entities by case insensitive name? page is loading…