Skip to content
Snippets Groups Projects
Commit 394e261b authored by Welter, Felix's avatar Welter, Felix
Browse files

Add first draft of the request convention.

parent e4204a16
No related branches found
No related tags found
No related merge requests found
# Request format
All micro services for the related items system adhere to the following conventions.
The micro service is queried via the POST endpoint: `/search`.
The request contains the POST params `term` and `context`.
The micro service returns a json object containing the response `type`
and type-dependent data. e.g.
```
{
"type": "image",
"path": "/path/to/image"
}
```
```
{
"type": "miss"
}
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment