Accessing Source Code Files Using REST

Access and manage InterSystems IRIS source code files via REST API.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/sorodriguezz/skills-objectscript --skill accessing-source-code-files-using-rest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Accessing Source Code Files Using REST
Source: https://github.com/sorodriguezz/skills-objectscript/tree/main/skills/accessing-source-code-files
Command: npx skills add https://github.com/sorodriguezz/skills-objectscript --skill accessing-source-code-files-using-rest

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a RESTful API to programmatically access, manage, and compile source code files within InterSystems IRIS, streamlining development workflows.

Core Features & Use Cases

  • Code Management: Get, update, create, and delete class definitions and routines.
  • Compilation: Compile source code files directly through the API.
  • Information Retrieval: Query server environment details, namespaces, and running jobs.
  • Use Case: Automatically deploy code changes to an InterSystems IRIS instance by fetching definitions, compiling them, and updating them via the API.

Quick Start

Use the accessing-source-code-files skill to get the names of all class files in the 'USER' namespace.

Frequently Asked Questions about Accessing Source Code Files Using REST

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage InterSystems IRIS source code files via a REST API?

You can manage InterSystems IRIS source code files via a REST API by sending HTTP requests to programmatically retrieve, update, create, and delete class definitions and routines across different namespaces.

Can I compile ObjectScript classes through a REST API instead of using the IDE?

Yes, you can compile ObjectScript classes directly through the REST API by issuing a compile request, which triggers server-side code compilation without needing the Studio IDE or terminal access.

How do I retrieve class definitions from a specific namespace in InterSystems IRIS?

To retrieve class definitions from a specific namespace in InterSystems IRIS, query the REST API endpoint targeting that namespace to fetch the names and contents of the source code files.

Does the InterSystems IRIS REST API support executing SQL queries?

Yes, the InterSystems IRIS REST API supports executing SQL queries, allowing you to programmatically run SQL statements against the database alongside managing and compiling source code files.

What server information can I retrieve using the InterSystems IRIS REST API?

Using the InterSystems IRIS REST API, you can query server environment details, list available namespaces, and retrieve information about running jobs to support development workflows.

What is the best way to automate code deployment to an InterSystems IRIS instance?

The best way to automate code deployment to an InterSystems IRIS instance is using the REST API to fetch definitions, update classes and routines, and trigger compilation programmatically within your deployment pipeline.