---
title: "List Resource Services"
url: "https://dev-portal.dehaven.org/apis/konnect-service-catalog-1-2-0/versions/5f6559bf-d7ba-429c-95c4-cbf2371e663f/operations/list-catalog-resource-services"
---

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

# List Resource Services

`GET` `/resources/{id}/services`

Operation ID: `list-catalog-resource-services`

Returns a paginated collection of services the given resource is mapped to.

## Path parameters

- `id` (string, required) - The `id` of the resource.

## Query parameters

- `filter` (object, optional) - Filters a collection of services.
- `sort` (optional) - Sorts a collection of services. Supported sort attributes are: - `display_name` - `name` - `created_at` - `updated_at` Default sort is `display_name` in ascending order.

## Responses

- `200` - A paginated list response for a collection of services.

## 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
paths:
  /resources/{id}/services:
    parameters:
      - schema:
          type: string
          example: AflTNLY0tTQhv2my
        name: id
        in: path
        required: true
        description: The `id` of the resource.
    get:
      x-unstable: true
      x-internal: true
      summary: List Resource Services
      operationId: list-catalog-resource-services
      description: Returns a paginated collection of services the given resource is
        mapped to.
      parameters:
        - $ref: "#/components/parameters/CatalogServiceFilter"
        - $ref: "#/components/parameters/CatalogServiceSort"
      responses:
        "200":
          $ref: "#/components/responses/ListCatalogServicesResponse"
      tags:
        - Resource Services
security:
  - konnectAccessToken: []
  - personalAccessToken: []
  - systemAccountAccessToken: []
components:
  parameters:
    CatalogServiceFilter:
      name: filter
      description: Filters a collection of services.
      required: false
      in: query
      style: deepObject
      schema:
        $ref: "#/components/schemas/CatalogServiceFilterParameters"
    CatalogServiceSort:
      name: sort
      description: |
        Sorts a collection of services. Supported sort attributes are:
          - `display_name`
          - `name`
          - `created_at`
          - `updated_at`

        Default sort is `display_name` in ascending order.
      required: false
      in: query
      schema: {}
  responses:
    ListCatalogServicesResponse:
      description: A paginated list response for a collection of services.
      content:
        application/json:
          schema:
            type: object
            additionalProperties: false
            properties:
              meta: {}
              data:
                type: array
                items:
                  $ref: "#/components/schemas/CatalogService"
            required:
              - meta
              - data
  schemas:
    CatalogServiceFilterParameters:
      type: object
      properties:
        id: {}
        name: {}
        display_name: {}
        custom_fields:
          description: >
            Filter by custom fields using dot-notation to specify the custom
            field.

            Filter operators are dictated by the custom field type. For example:
              - `filter[custom_fields.owner]`
              - `filter[custom_fields.owner][neq]=kong`
              - `filter[custom_fields.dashboard.link][contains]=https`
          oneOf: []
        labels: {}
    CatalogService:
      title: CatalogService
      description: The service object contains information about a Service Catalog service.
      type: object
      required:
        - id
        - name
        - display_name
        - description
        - custom_fields
        - labels
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
          example: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7
          description: The service ID.
          readOnly: true
        name:
          type: string
          description: >
            The machine name of the Service that uniquely identifies it within
            the catalog.
          minLength: 1
          maxLength: 120
          pattern: ^[0-9a-z.-]+$
          example: user-svc
        display_name:
          type: string
          description: The display name of the Service.
          minLength: 1
          maxLength: 120
          example: User Service
        description:
          type: string
          description: Optionally provide a description of the Service.
          nullable: true
          maxLength: 2048
        custom_fields:
          $ref: "#/components/schemas/CustomFields"
        labels: {}
    CustomFields:
      type: object
      description: >
        Map of customizable, catalog-defined fields providing information about
        a service.
      additionalProperties:
        oneOf:
          - $ref: "#/components/schemas/TextCustomField"
          - $ref: "#/components/schemas/NumericCustomField"
          - $ref: "#/components/schemas/BooleanCustomField"
          - $ref: "#/components/schemas/UrlCustomField"
      example:
        owner: John Appleseed
        dashboard:
          name: On-Call Dashboard
          link: https://my-dashboard-svc.io/dashboards/1
    TextCustomField:
      type: string
      nullable: true
    NumericCustomField:
      type: number
      nullable: true
    BooleanCustomField:
      type: boolean
      nullable: true
    UrlCustomField:
      type: object
      nullable: true
      required:
        - name
        - link
      properties:
        name:
          description: The human-readable name of the URL link.
          type: string
          example: On-Call Dashboard
        link:
          description: The href value of the URL link.
          type: string
          format: uri-reference
          example: https://my-dashboard-svc.io/dashboards/1
```
