WIP typechecks

This commit is contained in:
Dominik Werder
2024-10-22 16:14:32 +02:00
parent 773da33777
commit f754c5c962
36 changed files with 631 additions and 273 deletions

View File

@@ -1,14 +1,15 @@
# Search Channels
To search for e.g. DBPM channels in `sf-databuffer` that end in `:Q1` the request
looks like this:
Example search request:
```bash
curl "https://data-api.psi.ch/api/4/search/channel?backend=sf-archiver&nameRegex=S10CB08-KBOC-HP.*PI-OUT"
curl "https://data-api.psi.ch/api/4/search/channel?nameRegex=S10CB08-KBOC-HP.*PI-OUT"
```
Parameters:
- `icase=true` uses case-insensitive search (default: case-sensitive).
- `nameRegex` searches for a channel name by regular expression.
- `backend` restricts search to the given backend (optional).
- `icase=true` uses case-insensitive search (optional, default case-sensitive).
Example response: