Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Documentation for AssetForms app REST API v1.0


Table of Contents

Configuration

To access AssetForms REST APIs you will need a token. Token can be generated via AssetForms app configuration

In "Manage apps" look for "AssetForms for Jira" and click "Configure" button

Image Added

You will be presented with the configuration options available in AssetForms. Click on "API tokens" tab

Image Added

Click on generate to generate new access token for the AssetForms REST API

Image Added

Server URL is https://app.assetforms.com

API prefix /rest/api/v1


AssetForms REST API endpoints:


MethodURL endpointRequest parametersErrorsExample
Get asset type by IDGET/assettype/get/{token}/{assetTypeId}

400 - When "assetTypeId" is missing

404 - When asset type cannot be found by given ID


List asset typesGET/assettype/list/{token}








Search assetsGET

/asset/search/{token}/{assetTypeId}

  • query
  • sort
  • startAt
  • limit


Create or update assetPOST/asset/save/{token}/{assetTypeId}


Get asset by IDGET/asset/get/{token}/{assetTypeId}/{entryId}


Delete asset by IDDELETE/asset/delete/{token}/{assetTypeId}/{entryId}








Common errors:

HTTP 401 is returned when "Authentication token is missing" or "Invalid token"