---
title: "GET /api/v1/scripts/global/{scriptId}/references"
method: GET
path: "/api/v1/scripts/global/{scriptId}/references"
tags: ["Scripts"]
---

# GET /api/v1/scripts/global/{scriptId}/references

`GET /api/v1/scripts/global/{scriptId}/references`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/scripts/global/{scriptId}/references`
- Auth: none declared

## Path parameters

- `scriptId` integer, required

## Response `200`

OK

- ScriptReference[]
  - `id` integer
  - `name` string, nullable
  - `databaseType` 'Global' | 'Local': The string or integer value may be used. Global = 0, Local = 1
  - `scriptReferenceType` 'Software' | 'SoftwareVersion' | 'MaintenanceTask': The string or integer value may be used. Software = 1, SoftwareVersion = 2, MaintenanceTask = 3
  - `softwareVersion` SemanticVersion
    - `major` integer
    - `minor` integer
    - `patch` integer
    - `releaseLabels` string[], nullable
    - `release` string, nullable
    - `isPrerelease` boolean
    - `hasMetadata` boolean
    - `metadata` string, nullable

---

[API](https://skmtc.dev/immy/apis/immy-bot-api.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api/revisions/559d0e4b39d3?raw)
