# Mock requests for very guided discovery
### POST /mappings, adapter -> term-mapper
Request body
```JSON
[
{"term": "men", "position": -10},
{"term": "black", "position": -5},
{"term": "white", "position": -5}
]
```
Response body
```JSON
[
{
"id": "4318060318653",
"term": "men",
"position": -10
},
{
"id": "1345135466",
"term": "black",
"position": -5
},
{
"id": "134651561356",
"term": "white",
"position": -5
}
]
```
### GET /mappings, adapter -> term-mapper
Request query params
```
?ids=4318060318653,1345135466
```
Response body:
```JSON
[
{
"id": "4318060318653",
"term": "men",
"position": -10
},
{
"id": "1345135466",
"term": "black",
"position": -5
}
]
```
### POST /search adapter -> adeptsearch:
Request body
```JSON
{
"query": "jacket",
...,
"applied_term_suggestions": [
{
"term": "denim",
"position": -10,
"selected": true
}
]
}
```
Response body:
```JSON
{
"query": "jacket",
...,
"applied_term_suggestions": [
{
"term": "denim",
"position": -10,
"selected": true
},
{
"term": "jacket",
"position": 0,
"selected": true
}
],
"term_suggestions": [
{
"term": "mens",
"position": -15
},
{
"term": "fabric",
"position": -5
},
{
"term": "levis",
"position": -15
}
]
}
```
### POST /suggest-term adept-search -> term-suggestion
Request:
```JSON
{
"query": "backpacks",
"categories": ["BACKPACK"],
"size": 20
}
```
Response:
```JSON
{
"query": "backpacks",
"categories": ["BACKPACK"],
"size": 20,
"suggestions": [
{"term": "womens", "position": -10},
{"term": "michael kors", "position": -10}
]
}
```