---
title: "All Items Of A Given Resource Type - Q1 And Q2"
method: GET
path: "/resources/types"
tags: ["Resources"]
---

# All Items Of A Given Resource Type - Q1 And Q2

`GET /resources/types`

## Request

- Base URL: `https://cadsrapi.cancer.gov/si-api/v1`
- URL: `https://cadsrapi.cancer.gov/si-api/v1/resources/types`
- Auth: none declared
- TypeScript: <https://skmtc.dev/cancer/apis/ssis-api/docs/resources/types/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists all items of a given resource type in the srro service.

## Query parameters

- `resource_type` string, required

## Response `200`

OK

- ResourcestypesGETResponse
  - `name` string[], required
  - `apiResponse` ApiResponse, required
    - `type` string, required: S Success, E Error, W Warning, I Info, A Abort
    - `message` string: Message text
    - `service` string: service that errorred
    - `time` string: Date and time of error
    - `ssnid` string: session id
    - `callStack` CallstackItem[]
      - `service` string, required
      - `flowStep` string, required

## Other responses

- `401`: Access Denied

---

[API](https://skmtc.dev/cancer/apis/ssis-api.md) - [All operations](https://skmtc.dev/cancer/apis/ssis-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cancer/apis/ssis-api/revisions/1e6df122366f?raw)
