OSS Insight Docs
APICollections

GETList collection repositories

Collections

List the repositories of collection.

Parameters

Prop

Type

Usage

cURL
curl --request GET \  --url 'https://api.ossinsight.io/v1/collections/2/repos/' \  --header 'Accept: application/json'
Python
import requestsresponse = requests.get(    "https://api.ossinsight.io/v1/collections/2/repos/",    headers={"Accept": "application/json"},    timeout=30,)response.raise_for_status()data = response.json()print(data)
TypeScript
const response = await fetch("https://api.ossinsight.io/v1/collections/2/repos/", {  method: "GET",  headers: {    Accept: "application/json",  },});if (!response.ok) {  throw new Error(`Request failed: ${response.status}`);}const data = await response.json();console.log(data);