---
title: "HasResourcesSelector"
url: "https://dev-portal.dehaven.org/apis/konnect-service-catalog-1-2-0/versions/5f6559bf-d7ba-429c-95c4-cbf2371e663f/schemas/HasResourcesSelector"
---

> Full API specification: https://dev-portal.dehaven.org/apis/konnect-service-catalog-1-2-0/versions/5f6559bf-d7ba-429c-95c4-cbf2371e663f.md

# HasResourcesSelector

Entity selector that includes services by mapped resources.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.2.0
servers:
  - url: https://us.api.konghq.com/v1
    description: US Region Base URL
  - url: https://eu.api.konghq.com/v1
    description: EU Region Base URL
  - url: https://au.api.konghq.com/v1
    description: AU Region Base URL
  - url: https://me.api.konghq.com/v1
    description: ME Region Base URL
  - url: https://in.api.konghq.com/v1
    description: IN Region Base URL
components:
  schemas:
    HasSelectorParams:
      type: object
      required:
        - operator
        - value
      properties:
        operator:
          $ref: "#/components/schemas/HasRelationshipSelectorOperator"
        value:
          type: number
    CatalogResourceType:
      type: string
      description: >
        The resource type. Available resource types are compiled from the
        integrations installed within the catalog.
      minLength: 1
      maxLength: 120
      example: gateway_svc
    HasRelationshipSelectorOperator:
      type: string
      enum:
        - exactly
        - at_least
        - at_most
    HasResourcesSelector:
      type: object
      description: Entity selector that includes services by mapped resources.
      required:
        - type
        - parameters
      properties:
        type:
          type: string
          enum:
            - has_resources
        parameters:
          x-flatten-allOf: true
          allOf:
            - $ref: "#/components/schemas/HasSelectorParams"
            - type: object
              title: HasResourcesSelectorParams
              required:
                - resource_type
                - integration
              properties:
                resource_type:
                  $ref: "#/components/schemas/CatalogResourceType"
                integration:
                  type: string
                  description: The machine name of the integration that uniquely identifies it
                    within the catalog.
                  example: gateway-manager
```
