---
title: "Get Resources by Service"
method: GET
path: "/resources/service/{serviceId}"
---

# Get Resources by Service

`GET /resources/service/{serviceId}`

## Response `200`

List the resources attached to a Service or API

- Resource[]
  - `id` string, required — Uniquer identifier of this Service or API Resource
  - `name` string, required — Unique name/business identifier for this Service or API resource
  - `content` string, required — String content of this resource
  - `type` 'WSDL' | 'XSD' | 'JSON_SCHEMA' | 'OPEN_API_SPEC' | 'OPEN_API_SCHEMA' | 'ASYNC_API_SPEC' | 'ASYNC_API_SCHEMA' | 'AVRO_SCHEMA' | 'PROTOBUF_SCHEMA' | 'PROTOBUF_DESCRIPTION' | 'GRAPHQL_SCHEMA' | 'POSTMAN_COLLECTION', required — Types of managed resources for Services or APIs
  - `serviceId` string, required — Unique identifier of the Servoce or API this resource is attached to
  - `path` string — Relatvie path of this resource regarding main resource
  - `sourceArtifact` string — Short name of the artifact this resource was extracted from

## Changes

- **2023-05-30** (v1) `1d68325f3f0b` — 1 warning
  - added the new `POSTMAN_COLLECTION` enum value to the `items/type` response property for the response status `200`
- **2023-04-05** (v1) `0017d062ff96` — 1 info
  - removed the `POSTMAN_COLLECTION` enum value from the `items/type` response property for the response status `200`

[Change history](https://skmtc.dev/microcks/apis/microcks-api-v1-7/changes/resources/service/:serviceId/get.md)

---

[API](https://skmtc.dev/microcks/apis/microcks-api-v1-7.md) · [All operations](https://skmtc.dev/microcks/apis/microcks-api-v1-7/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/microcks/microcks-api-v1-7/revisions/cc062ec25192/schema)
