To support searching and querying from relations when using migrations endpoint
R
Rahul Changharath Sivasankaran
It would be useful if https://api.port.io/v1/migrations supported search queries with relations like the ones below.
{
"combinator": "and",
"rules": [
{
"property": "$blueprint",
"operator": "=",
"value": "service"
},
{
"relation": "artifact",
"operator": "=",
"value": "{{ .event.diff.after.properties.artifact }}"
}
]
}
or
{
"combinator": "and",
"rules": [
{
"property": "$blueprint",
"operator": "=",
"value": "service"
}, {
"operator": "relatedTo",
"blueprint": "artifact",
"value": "{{ .event.diff.after.properties.artifact}}"
} ]
}