Get named project routing expressions Technical preview

GET /_project_routing

Get named project routing expressions.

Required authorization

  • Cluster privileges: monitor

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • * object
      Hide * attribute Show * attribute object
      • expression string Required
GET /_project_routing
GET /_project_routing/
resp = client.project_routing.get_many()
const response = await client.projectRouting.getMany();
response = client.project_routing.get_many
$resp = $client->projectRouting()->getMany();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_project_routing/"
Response examples (200)
{
 "aws-us-only": { "expression": "_csp:aws AND _region:us*" },
 "aws-eu-only": { "expression": "_csp:aws AND _region:eu*" }
}