Checking for Application Link Status via REST
Asked by Justin Alex Paramanandan:

Heya everyone,

We are writing test cases using Postman and would like one for verifying the status of an application link. Judging [from this post](https://community.atlassian.com/t5/Jira-Software-questions/Jira-Rest-API-for-ApplicationLink-Status/qaq-p/709638), it seems there is one that has a tag (**appLinkState**) for the status of an applink. However, that endpoint does not seem to have that tag any longer. Below is for Confluence DC 7.4.4:

```
/rest/applinks/latest/listApplicationlinks
```

```
<list>
    <list
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="linkAndAuthProviderEntity">
        <application>
            <link href="https://confluence.sandbox-2/rest/applinks/latest/applicationlink/48a4d1d9-a2f5-3a4c-a51e-c44dc0d3dd65" rel="self"/>
            <id>48a4d1d9-a2f5-3a4c-a51e-c44dc0d3dd65</id>
            <typeId>jira</typeId>
            <name>Jira</name>
            <displayUrl>https://jira.sandbox-2</displayUrl>
            <iconUrl>https://confluence.sandbox-2/s/-1bdr6r/8401/008d09724398b50e93468e30a239d4f6d750af9b/6.0.12/_/download/resources/com.atlassian.applinks.applinks-plugin:applinks-images/images/types/16jira.png</iconUrl>
            <iconUri>https://confluence.sandbox-2/s/-1bdr6r/8401/008d09724398b50e93468e30a239d4f6d750af9b/6.0.12/_/download/resources/com.atlassian.applinks.applinks-plugin:applinks-images/images/config/logos/128x128/128jira.png</iconUri>
            <rpcUrl>https://jira.sandbox-2</rpcUrl>
            <isPrimary>true</isPrimary>
            <isSystem>false</isSystem>
        </application>
        <configuredOutboundAuthenticators>com.atlassian.applinks.api.auth.types.OAuthAuthenticationProvider</configuredOutboundAuthenticators>
        <configuredOutboundAuthenticators>com.atlassian.applinks.api.auth.types.TwoLeggedOAuthAuthenticationProvider</configuredOutboundAuthenticators>
        <configuredInboundAuthenticators>com.atlassian.applinks.api.auth.types.OAuthAuthenticationProvider</configuredInboundAuthenticators>
        <configuredInboundAuthenticators>com.atlassian.applinks.api.auth.types.TwoLeggedOAuthAuthenticationProvider</configuredInboundAuthenticators>
        <hasIncomingAuthenticationProviders>true</hasIncomingAuthenticationProviders>
        <hasOutgoingAuthenticationProviders>true</hasOutgoingAuthenticationProviders>
        <isSystem>false</isSystem>
        <entityTypeIdStrings>jira.project</entityTypeIdStrings>
    </list>
</list>
```

This is also the same for Jira DC 8.13.5 as well as Bitbucket DC 7.12.1.

Using the Healthcheck URL works for some applications (not Bitbucket) but with varying results:

```
/rest/troubleshooting/1.0/check/
```

* **Jira** : there's an **applinksStatusHealthCheck** but no indicators on which applink is failing (should they be one)
* **Confluence** : no such thing as **applinksStatusHealthCheck** - or any applink health check at all.
* **Bitbucket**: no healthcheck status check

Any ideas? Or maybe you have an idea for a test case for application links?

TIA!


Answers:
author: Fabian Lim
body: Hi [@Justin Alex Paramanandan](/t5/user/viewprofilepage/user-id/3651619)

I'm interested on this one. Have you been able to figure this one out?


Tags: confluence-data-center

confluence-server

data-center