Rest API Clientのロゴ

Rest API Client

組織
oracle
Rest API Client

Oracle Fusion、CPQ、Knowledge Management、Risk and Security、Fusion BOSSのREST API呼び出しを、OAuth対応の適切なクライアント手順とスクリプトに振り分けます。

Add to TypingMind

概要

公開者oracle
リポジトリFusion-Setup-Configuration-Registry
スキル名Rest API Client
スター
112
フォーク
26
同梱ファイル
15
ライセンスUPL-1.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 15個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    oracleがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Rest API Client」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/oracle/Fusion-Setup-Configuration-Registry/tree/main/core/fusion-api/rest-api-client
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/oracle/Fusion-Setup-Configuration-Registry.git /tmp/Fusion-Setup-Configuration-Registry
mkdir -p .claude/skills
cp -r /tmp/Fusion-Setup-Configuration-Registry/core/fusion-api/rest-api-client .claude/skills/oracle-rest-api-client
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでRest API Clientを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にRest API Clientを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Rest API Clientは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Rest API Client

Purpose

Route Oracle Fusion REST, CPQ, Knowledge Management, Risk and Security, and Fusion BOSS REST API work to the correct OAuth-backed client script and instruction file without duplicating token-cache, request, retry, and response handling logic in consuming skills.

Routing

Use this skill whenever another router, shared, core, or pillar skill needs to call a Fusion REST endpoint.

Endpoint typeRoute toScript
Standard Fusion REST, such as /fscmRestApi, /hcmRestApi, /crmRestApi, /fscmUI/applcoreApi, or absolute Fusion REST URLsreferences/fusion-rest-api.mdscripts/fusion_rest_client.py
Fusion Common REST endpoints under /api/fusion-commonreferences/fusion-common-rest-api.mdscripts/fusion_rest_client.py --service fusion-common
Calling skill specifies Fusion Field Service / Field Servicereferences/field-service-rest-api.mdscripts/fusion_rest_client.py --service field-service
Calling skill specifies CX Unity / Customer Data Platformreferences/cx-unity-cdp-rest-api.mdscripts/fusion_rest_client.py --service cdp
CPQ REST endpoint containing /cpqreferences/cpq-rest-api.mdscripts/fusion_cpq_rest_client.py
Knowledge Management REST endpoint containing /api/knowledge-managementreferences/km-rest-api.mdscripts/fusion_km_rest_client.py
Risk and Security REST endpoint containing /api/risk-cloudreferences/rmc-rest-api.mdscripts/fusion_rmc_rest_client.py
Fusion BOSS REST endpoints under /api/bossreferences/boss-rest-api.mdscripts/boss-rest_client.py

Before invoking a script, read the routed instruction file in this skill folder.

Shared Configuration

All client scripts read the default Fusion environment properties file:

text
core/auth/fusionEnv.properties

All client scripts import OAuth helpers from:

text
core/auth/fusion-oauth-authentication/scripts/fusion_auth.py

Endpoints under /fscmUI/applcoreApi, including Flexfield deployment APIs, are standard Fusion REST routes. Authenticate them with the default Fusion scope and restBaseUrl properties; do not select a service-specific scope or token cache for them.

If the cached token is missing, expired, or rejected by Fusion with HTTP 401 or 403, the selected script invokes core.auth.fusion-oauth-authentication to obtain a fresh token, saves it to the requested cache, and retries the REST call once.

Inputs

  • fusion_environment_context
  • request_payload
  • execution_options

Common script-level inputs:

  • endpoint: Fusion REST resource path or absolute URL.
  • --method: GET, POST, PUT, PATCH, or DELETE.
  • --query: repeated query parameters as key=value.
  • --header: repeated extra headers as Name=value or Name: value.
  • --body or --body-file: JSON request body for write operations.
  • --output: optional response output file.
  • --token-cache: optional external private cache override; the default auto resolves to ~/.fusionaim/<profile-fingerprint>_token.json; checkout paths fail.
  • --scim-only: provisioning mode; requires the standard service and relative /hcmRestApi/scim/Users or /hcmRestApi/scim/Roles collection/resource paths. Password fields, alternate origins and write redirects are rejected.
  • --force-login, --auth-code, --redirect-url, and browser flags passed to the shared OAuth flow when login is required.

Outputs

  • execution_result
  • diagnostics
  • audit_summary

Script-level outputs:

  • Pretty-printed JSON response to stdout by default, or raw response bytes when --output is supplied.
  • HTTP status when writing to a file.
  • Token-cache refresh status without printing access tokens.

Implementation Notes

Never print access tokens, refresh tokens, client secrets, token-cache contents, or Authorization headers.

Only send credentials or bearer tokens to the single HTTPS origin selected for the active service in core/auth/fusionEnv.properties. Reject other absolute endpoints before obtaining a token, and reject redirects to a different origin, including other configured service origins. Fusion Common endpoints require --service fusion-common, fusion_common_scope, and their separate token cache.

Consumers that must pin a token to one approved service origin, including FSM Set Optin, use scripts/trusted_http.py. Supply approved_origin from the trusted environment profile, independently of request URLs or overrides. This transport validates HTTPS scheme, hostname, and effective port on the initial request and every redirect. Only same-origin GET/HEAD redirects are followed; write redirects fail without replay. It never obtains or refreshes tokens. The multi-service REST CLI routes use fusion_auth.py to bind requests to the selected service origin and OAuth scope.

For mutating methods such as POST, PUT, PATCH, and DELETE, consuming skills must capture the request purpose, target environment, endpoint, and any Fusion job or process identifiers returned by Fusion in their own audit output.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Rest API Client」では何ができますか?

Oracle Fusion、CPQ、Knowledge Management、Risk and Security、Fusion BOSSのREST API呼び出しを、OAuth対応の適切なクライアント手順とスクリプトに振り分けます。

TypingMindでRest API Clientを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Rest API Clientはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにRest API Clientをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/oracle/Fusion-Setup-Configuration-Registry/tree/main/core/fusion-api/rest-api-clientを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Rest API Clientを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Rest API Clientで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもRest API Clientを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Rest API Client」は無料ですか?

はい。oracleがUPL-1.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇