Skip to content

Troubleshooting

Testing the deployments API

  1. Verify your release detection method is set to "API integration"

    • Open company setting
    • Open the "Advanced" tab

    release-detection

  2. Make sure you have a LinearB API Token - In order to use LinearB REST API an API token must be pass as a parameter (key:”x-api-key”) in the request header For more information on how to generate an API token visit here

  3. Report a deployment using the API
    POST  https://public-api.linearb.io/api/v1/deployments
    
  4. Pull the list of deployments using the API
    GET  https://public-api.linearb.io/api/v1/deployments
    
  5. Verifiy the your release is listed inside the response