Insight が提供する REST-API とリソースのリファレンス ドキュメントです。REST API は、Insight を他のスタンドアロンまたは Web アプリケーションと統合する開発者や、Jira Server 上で Insight とのインタラクションをスクリプト化する管理者向けです。REST API はオープン標準に基づいているため、任意の Web 開発言語を使用して API にアクセスできます。
REST URI の構造
Insight REST-API provides access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The Insight REST API uses JSON as its communication format, and the standard HTTP methods like GET
, PUT
, POST
and DELETE
(see API descriptions below for which methods are available for each resource). URIs for Insight REST API resource have the following structure:
http://host:port/context/rest/insight/api-version/resource-name
The API version is 1.0
認証
Jira に対して機能するすべての認証は、Insight REST API に対しても機能します。
Content Type
Insight REST-API にデータを送信するときは、必ず HTTP ヘッダーで「Content-Type: application/json」をご使用ください。