Aplas provides a comprehensive API for modifying your software indexes. This provides you with the ability to integrate Aplas into your existing workflows (e.g. source-code workflow, or change management processes). This is one of multiple methods for populating a software index.

Create an API key

  1. Within Aplas Studio, navigate to the config area.

  2. Select the Api Keys section.

  3. Click to create a new key and specify a name.

  4. Once created, click Show to obtain the API key.

Access the API

  1. Review the API documentation (https://api.aplas.com/api/v1/docs/)

  2. Set a header of api_key to your secret.

Example select query

curl -X GET 'https://api.aplas.com/api/v1/index/[your-index-id]/application/[your-application-id]' -H 'api_key:[your-api-key]'

Example create query

curl -X POST 'https://api.aplas.com/api/v1/index/[your-index-id]/application/' -H 'api_key:[your-api-key]' -H 'Content-Type: application/json' -d '{"id":"new_app","name":"New App"}'

Did this answer your question?