Skip to content

Instantly share code, notes, and snippets.

@osshad
osshad / servicenow-swagger2.json
Last active September 28, 2025 05:51
ServiceNow REST Table API specification
{
"swagger": "2.0",
"info": {
"title": "ServiceNow REST API",
"description": "ServiceNow REST Table API specification. This spec covers the most common ServiceNow REST API operations.\n\n**Instance Configuration**: The {instance} variable should be configured during connector setup based on the ServiceNow connection parameters (e.g., InstanceName).\n\n**Base URL Pattern**: https://{instance}.service-now.com/\n\n**Authentication**: Basic Auth or OAuth 2.0\n\n**Common Query Parameters**:\n- sysparm_limit: Maximum number of records (default: 20, max: 10000)\n- sysparm_offset: Starting record number (default: 0)\n- sysparm_query: Encoded query string\n- sysparm_fields: Comma-separated list of fields to return\n- sysparm_display_value: Return display values (true/false/all)\n- sysparm_exclude_reference_link: Exclude reference links (true/false)\n\n**Note**: This specification is designed to work with any ServiceNow instance. The connector implementation should substitute the {instance} placeholder with
@osshad
osshad / servicenow-table-api.yaml
Created September 28, 2025 05:37
ServiceNow REST Table API specification
openapi: 3.0.0
info:
title: ServiceNow REST API
description: |
ServiceNow REST Table API specification.
This spec covers the most common ServiceNow REST API operations.
**Instance Configuration**: The {instance} variable should be configured during
connector setup based on the ServiceNow connection parameters (e.g., InstanceName).
This file has been truncated, but you can view the full file.
[
{
"PASSENGERS": 24,
"ORIGIN": "A03",
"DEST": "HOM",
"DEST_CITY_NAME": "Homer, AK"
},
{
"PASSENGERS": 3,
"ORIGIN": "A07",
ORIGIN DEST PASSENGERS
ABE STT 1
ABE XNA 7
ABE CHS 8
ABE MYR 11
ABE DSM 27
ABE FWA 39
ABE ICT 128
ABE FLL 297
ABE CLE 859