Assets REST API
This is the reference document for the REST API and resources provided by Assets. The REST APIs are for developers who want to integrate Assets with other standalone or web applications, and administrators who want to script interactions with Assets on the Jira server. Because the REST API is based on open standards, you can use any web development language to access the API.
REST API ドキュメント
Jira Service Management 5.7 の場合、アセット 10.7.0 REST API ドキュメントを参照してください。
Jira Service Management 5.4 の場合、アセット 10.4.4 REST API ドキュメントを参照してください。
Jira Service Management 4.20 の場合、アセット 9.1.16 REST API ドキュメントを参照してください。
REST URI の構造
Assets 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 Assets REST API uses JSON as its communication format, and standard HTTP methods like GET
, PUT
, POST
and DELETE
.
URIs for Assets REST API have the following structure:
http://host:port/{context-path}/rest/assets/{api-version}/{resource-name}
URIs previously used for Insight REST API resources still work. However, starting from Jira Service Management 5.3 and Assets 8.10.12, these URIs are deprecated. Insight URIs have the following structure:
http://host:port/context/rest/insight/api-version/resource-name
API バージョンは 1.0
です。
認証
Any authentication that works against Jira will work against the Assets REST API.
CONTENTTYPE
Don't forget to use "Content-Type: application/json" in the http header when sending data to the Assets REST APIs.