Skip to end of banner
Go to start of banner

Rest services

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This page is about Assets & Inventory Plugin for Jira DC. Using Cloud? Click here.

This documentation provides detailed information on the public REST services available in the Assets & Inventory Plugin for Jira. It includes descriptions of the various services and examples of how to interact with them using curl commands.

Available REST services

AIP supports a variety of REST services to manage assets throughout their lifecycle. Below is a list of available REST services:

Sample REST service calls

Below is an example of how to use curl to interact with the AIP’s REST services. Replace path.to.jira.instance with your Jira instance's URL and adjust the endpoint and methods as necessary.

curl -D- -u user:password -X [GET|POST|PUT|DELETE] -H "Content-Type: application/json" 
http://path.to.jira.instance/rest/jip-api/1.0/[attribute|form|inventory][|/id|/list|/filter].json

Alternatively, you can call REST services with another method with a request header Authorization Basic Base64Encoded(user:password). For example, Authorization Basic YWRtaW46YWRtaW4=.

  • No labels