Menu
Configure network topology
Configure network topology
PATCH
/networkUse it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Configure network topology action (under Experimental features).
- Fill in the fields below, then reference the result from later steps as
{{configureNetworkTopology.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"remotes": {
"ms-00": {
"url": "http://localhost:7700"
},
"ms-01": {
"url": "http://localhost:7701"
}
},
"shards": {
"shard-00": {
"remotes": [
"ms-00",
"ms-01"
]
}
},
"previousShards": {
"shard-00": {
"remotes": [
"ms-00",
"ms-01"
]
}
},
"self": "ms-00",
"leader": "ms-00",
"previousRemotes": {
"ms-00": {
"url": "http://localhost:7700"
},
"ms-01": {
"url": "http://localhost:7701"
}
}
}
Response
Returns 200 with an object. Read it in later steps with {{configureNetworkTopology.response.data.<field>}}.
{
"remotes": {
"ms-00": {
"url": "http://localhost:7700"
},
"ms-01": {
"url": "http://localhost:7701"
}
},
"shards": {
"shard-00": {
"remotes": [
"ms-00",
"ms-01"
]
}
},
"previousShards": {
"shard-00": {
"remotes": [
"ms-00",
"ms-01"
]
}
},
"self": "ms-00",
"leader": "ms-00",
"previousRemotes": {
"ms-00": {
"url": "http://localhost:7700"
},
"ms-01": {
"url": "http://localhost:7701"
}
}
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?