Skip to main content

Search entities

POST 

/v1/entities/search

This route allows you to search for entities in your software catalog based on a given set of rules.

To learn more about entities, check out the documentation.

For more details about Port's search mechanism, rules, and operators - see the search & query documentation.

Request

Query Parameters

    exclude_calculated_properties boolean

    If true, calculated properties will be excluded from the entities.

    include string[]

    An array of values from the entity JSON. Only these values will be returned in the response.
    For example: { "properties.propertyIdentifier","identifier"}

    exclude string[]

    An array of values from the entity JSON to be ommitted from the response.
    For example: { "properties.propertyIdentifier","identifier"}

Body

required

    combinator required

    Possible values: [and, or]

    The combinator to use for the rules.

    rules

    object[]

    required

  • Array [

  • anyOf

    property stringrequired
    operator required

    Possible values: [>, >=, <, <=]

    value numberrequired
  • ]

Responses

Success

Loading...