Skip to content

Commit

Permalink
feat: Public labels search syntax for Dev Portal (#8302)
Browse files Browse the repository at this point in the history
* Public labels search syntax for Dev Portal

Public labels are meant to provide a client-facing search syntax in KSearch for API Products in Developer Portals. This emulates the same syntax as `labels`, but for API clients browsing the Developer Portal

* Missing @ in public_labels

Co-authored-by: Nathan Bailey <[email protected]>

---------

Co-authored-by: Nathan Bailey <[email protected]>
  • Loading branch information
jharmn and nateslo authored Dec 20, 2024
1 parent 93651cb commit 0236260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/konnect/reference/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ Selectors are used to define the criteria of the search. The following table des
| `name:{value}` | Searches for a match on `name`. |`name:default`|
| `description:{value}` | Searches for a match on `description`. |`description:temporary`|
| `labels.{label_key}:{label_value}` | Searches for an exact match for a labeled entity. |`labels.env:prod`|
| `@public_labels.{label_key}:{label_value}` | Searches for an exact match for a labeled entity in Dev Portal. |`@public_labels.env:prod`|
| `@{attribute_key}:{attribute_value}` | Searches for an exact match for an entity specific attribute. |`@email:"[email protected]"`|

### Reserved Characters
Expand Down

0 comments on commit 0236260

Please sign in to comment.