Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
williambelle committed Aug 7, 2023
1 parent 8a79945 commit acdf151
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,16 @@

### Parameters

| Name | Type | Comments |
| ---- | -------- | -------- |
| `q` | `String` | Query |
| Name | Type | Comments |
| --------- | -------- | -------------------------------------------------------------------------------- |
| `q` | `String` | Query |
| `doctype` | `String` | Values : `concept`, `course`, `lecture`, `mooc`, `person`, `publication`, `unit` |

### Examples

- [/api/graphsearch?q=math][graphsearch-1]
- [/api/graphsearch?q=vetterli][graphsearch-2]
- [/api/graphsearch?q=vetterli&doctype=person][graphsearch-2]
- [/api/graphsearch?q=lts&doctype=unit][graphsearch-3]

## Documentation

Expand All @@ -107,4 +109,5 @@ See [Contributing](CONTRIBUTING.md).
[unit-2]: http://127.0.0.1:5555/api/unit?q=vpo&hl=en
[unit-3]: http://127.0.0.1:5555/api/unit?acro=vpo
[graphsearch-1]: http://127.0.0.1:5555/api/graphsearch?q=math
[graphsearch-2]: http://127.0.0.1:5555/api/graphsearch?q=vetterli
[graphsearch-2]: http://127.0.0.1:5555/api/graphsearch?q=vetterli&doctype=person
[graphsearch-3]: http://127.0.0.1:5555/api/graphsearch?q=lts&doctype=unit

0 comments on commit acdf151

Please sign in to comment.