Confluence has been updated to version 6.15.9

Introduction

From - https://community.exalate.com/questions/2592656/exalate-api

Is there any documentation available about REST API methods available for Exalate add-on? For example:

  • GET method to get all sync errors,
  • GET method to GET event count in Sync Queue.

I was not able to find any info about API inhttps://docs.idalko.com.

We want to monitor synchronization process using Zabbix monitoring tool.

We are using Exalate 4.5.3 on Jira Core and Jira Service Desk.


How to retrieve the JWT Token

<tbd>

Rest Calls


Valid for the 4.x versions of the exalate product.

GET /rest/issuehub/2.4/relations/{relationName}/syncevents/syncrequests

 Click here to expand...


Used to know if there were any sync requests ready to be received

Request

Example

GET http://localhost:2990/jira/rest/issuehub/2.4/relations/AllContent/syncevents/syncrequests

Requires the client to authenticate to the NODE via JWT token

Response

STATUS 200 - application/json Returned if the message has been successfully received.

[
  {
    "syncEventId": 4,
    "syncEventNumber": 1,
    "relationKey": "AllContent",
    "replica": {
      "issueKey": {
        "id": 11703,
        "urn": "AC-102"
      },
      "summary": "AllContentPairAndSyncWiredTest update #1",
      "encodedPayload":   "eyJ2ZXJzaW9uIjp7Im1ham9yIjoxLCJtaW5vciI6NCwicGF0Y2giOjB9LCJodWJJc3N1ZSI6eyJrZXkiOiJBQy0xMDgiLCJzdW1tYXJ5IjoiQWxsQ29udGVudFBhaXJBbmRTeW5jV2lyZWRUZXN0IiwiZGVzY3JpcHRpb24iOiJBbGxDb250ZW50UGFpckFuZFN5bmNXaXJlZFRlc3QgZGVzY3JpcHRpb24iLCJwcm9qZWN0Ijp7ImlkIjoxMDMwMCwia2V5IjoiQUMiLCJuYW1lIjoiQWxsIGNvbnRlbnQiLCJsZWFkIjp7ImtleSI6ImFkbWluIiwiYWN0aXZlIjp0cnVlLCJlbWFpbCI6ImFkbWluQGV4YW1wbGUuY29tIiwiZGlzcGxheU5hbWUiOiJhZG1pbiIsInVzZXJuYW1lIjoiYWRtaW4ifSwidmVyc2lvbnMiOlt7ImlkIjoxMDAwMCwibmFtZSI6IjEuMCIsImRlc2NyaXB0aW9uIjoiVGhlIGluaX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ZSBkZXZlbG9wZWQuIn0sInByaW9yaXR5Ijp7ImlkIjoiMiIsIm5hbWUiOiJDcml0aWNhbCIsImRlc2NyaXB0aW9uIjoiQ3Jhc2hlcywgbG9zcyBvZiBkYXRhLCBzZXZlcmUgbWVtb3J5IGxlYWsuIn0sInZvdGVzIjoxLCJ3YXRjaGVzIjoxLCJlbnZpcm9ubWVudCI6IkFsbENvbnRlbnRQYWlyQW5kU3luY1dpcmVkVGVzdCBlbnZpcm9ubWVudCIsImR1ZSI6MTQ1MTYwNjQwMDAwMCwidm90ZXJzIjpbeyJrZXkiOiJhZG1pbiIsImFjdGl2ZSI6dHJ1ZSwiZW1haWwiOiJhZG1pbkBleGFtcGxlLmNvbSIsImRpc3BsYXlOYW1lIjoiYWRtaW4iLCJ1c2VybmFtZSI6ImFkbWluIn1dLCJ3YXRjaGVycyI6W3sia2V5IjoiaXNzdWVodWIiLCJhY3RpdmUiOnRydWUsImVtYWlsIjoiaXNzdWVodWJAZXhhbXBsZS5jb20iLCJkaXNwbGF5TmFtZSI6Imlzc3VlaHViIiwidXNlcm5hbWUiOiJpc3N1ZWh1YiJ9LHsia2V5IjoiYWRtaW4iLCJhY3RpdmUiOnRydWUsImVtYWlsIjoiYWRtaW5AZXhhbXBsZS5jb20iLCJkaXNwbGF5TmFtZSI6ImFkbWluIiwidXNlcm5hbWUiOiJhZG1pbiJ9XSwiZXN0aW1hdGUiOjAsInNwZW50IjozNjAwMH19"
    },
    "traces": [
      {
        "type": "COMMENT",
        "localId": "10816",
        "remoteId": "10817",
        "action": "NONE",
        "toSynchronize": true
      }
    ],
    "blobMetadataList": []
  }
]


STATUS 400 - plain/text Returned if connection was not found:

Connection `AllContent` not found. Seems like it was removed on the Destination side.


STATUS 401 - application/json Returned if the request is authenticated with incorrect credentials.

STATUS 403 - application/json Returned if the request is not authenticated

STATUS 500 - application/json Returned if a bug situation is encountered.



GET /rest/issuehub/2.4/relations/{relationName}/syncevents/blobrequests

 Click here to expand...


Used to know if there were any blob requests ready to be received

Request

Example

GET http://localhost:2990/jira/rest/issuehub/2.4/relations/AllContent/syncevents/blobrequests

Requires the client to authenticate to the NODE via JWT token

Response

STATUS 200 - application/json Returned if the message has been successfully received.

[
  { 
    "relationKey":"AllContent", 
    "syncEventId": 55,
    "blobMetadata": {
      "blobId": 10008,
      "checksum": "90630d8f774de272400bdc9422b26d91"
    }
  }
]


STATUS 400 - plain/text Returned if connection was not found:

Connection `AllContent` not found. Seems like it was removed on the Destination side.


STATUS 401 - application/json Returned if the request is authenticated with incorrect credentials.

STATUS 403 - application/json Returned if the request is not authenticated

STATUS 500 - application/json Returned if a bug situation is encountered.



GET /rest/issuehub/2.4/relations/{relationName}/syncrequests/syncresponses

 Click here to expand...

Used to know if there were any sync responses for the previously submitted sync requests

Request

Example

GET http://localhost:2990/jira/rest/issuehub/2.4/relations/AllContent/syncrequests/syncresponses

Requires the client to authenticate to the NODE via JWT token

Response

STATUS 200 - application/json Returned if the message has been successfully received.

[
{
  "syncEventId": 16,
  "relationKey": "GROOVY",
  "sourceIssueKey": {
    "id": 11716,
    "urn": "PAR-37"
  },
  "replica": {
    "issueKey": {
      "id": 11717,
      "urn": "PAR-38"
    },
    "summary": "Exalated: BasicAttachmentWiredTest",
    "encodedPayload": "eyJ2ZXJzaW9uIjp7Im1ham9yIjoxLCJtaW5vciI6NCwicGF0Y2giOjB9LCJodWJJc3N1ZSI6eyJzdW1tYXJ5IjoiRXhhbGF0ZWQ6IEJhc2ljQXR0YWNobWVudFdpcmVkVGVzdCIsImN1c3RvbUtleXMiOnt9LCJjdXN0b21GaWVsZHMiOnsiQ3VzdG9tZXIgUmVxdWVzdCBUeXBlIjp7ImlkIjoxMDMwMCwibmFtZSI6IkN1c3RvbWVyIFJlcXVlc3QgVHlwZSIsImRlc2NyaXB0aW9uIjoiSG9sZHMgaW5mb3JtYXRpb24gYWJvdXQgd2hpY2ggU2VydmljZSBEZXNrIHdhcyB1c2VkIHRvIGNyZWF0ZSBhIHRpY2tldC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LnBuZyIsImNyZWF0ZWQiOjE0NTQ2NzgwMTA4MzIsImZpbGVzaXplIjo4ODgsImF1dGhvciI6eyJrZXkiOiJpc3N1ZWh1YiIsImFjdGl2ZSI6dHJ1ZSwiZW1haWwiOiJpc3N1ZWh1YkBleGFtcGxlLmNvbSIsImRpc3BsYXlOYW1lIjoiaXNzdWVodWIiLCJ1c2VybmFtZSI6Imlzc3VlaHViIn0sInRodW1ibmFpbGFibGUiOnRydWUsInppcCI6ZmFsc2V9XX19"
  },
  "traces": [
    {
      "type": "ATTACHMENT",
      "localId": "10002",
      "remoteId": "10001",
      "action": "NONE",
      "toSynchronize": true
    }
  ]
}
]


STATUS 400 - plain/text Returned if connection was not found:

Connection `AllContent` not found. Seems like it was removed on the Destination side.


STATUS 401 - application/json Returned if the request is authenticated with incorrect credentials.

STATUS 403 - application/json Returned if the request is not authenticated

STATUS 500 - application/json Returned if a bug situation is encountered.



GET /rest/issuehub/2.4/relations/{relationName}/syncrequests/blobresponses

 Click here to expand...


Used to know if there were any blob responses for the previously submitted blob requests

Request

Example

GET http://localhost:2990/jira/rest/issuehub/2.4/relations/AllContent/syncrequests/blobresponses

Requires the client to authenticate to the NODE via JWT token

Response

STATUS 200 - application/json Returned if the message has been successfully received.

[
{
  "relationKey": "defaultrelation",
  "syncEventId": 14,
  "blobEventId": 100,
  "blobMetadata": {
    "blobId": 10000,
    "checksum": "17a7c1aaf84aa7c551dd1e349f30c2c8"
  }
}
]


STATUS 400 - plain/text Returned if connection was not found:

Connection `AllContent` not found. Seems like it was removed on the Destination side.


STATUS 401 - application/json Returned if the request is authenticated with incorrect credentials.

STATUS 403 - application/json Returned if the request is not authenticated

STATUS 500 - application/json Returned if a bug situation is encountered.



GET /rest/issuehub/2.4/relations/{relationName}/syncrequests/errorresponses

 Click here to expand...


Used to know if there were any failures to process sync requests for the previously submitted sync requests

Request

Example

GET http://localhost:2990/jira/rest/issuehub/2.4/relations/AllContent/syncrequests/errorresponses

Requires the client to authenticate to the NODE via JWT token

Response

STATUS 200 - application/json Returned if the message has been successfully received.

[
{
  "syncEventId": 49,
  "relationKey": "AllContent",
  "sourceIssueKey": {
    "id": 11742,
    "urn": "AC-113"
  },
  "message": "Could not connect `AC-113` to `AC-111`: issue by key `AC-111` already was connected to another issue using relation `AllContent`",
  "errorReason": "NO_ISSUE_TO_CONNECT_TO"
}
]


STATUS 400 - plain/text Returned if connection was not found:

Connection `AllContent` not found. Seems like it was removed on the Destination side.


STATUS 401 - application/json Returned if the request is authenticated with incorrect credentials.

STATUS 403 - application/json Returned if the request is not authenticated

STATUS 500 - application/json Returned if a bug situation is encountered.



GET /rest/issuehub/2.4/relations/{relationName}/syncrequests/bloberrorresponses

 Click here to expand...

Used to know if there were any failures to process attachment synchronizations for the previously submitted attachment synchronization requests

Request

Example

GET http://localhost:2990/jira/rest/issuehub/2.4/relations/AllContent/syncrequests/bloberrorresponses

Requires the client to authenticate to the NODE via JWT token

Response

STATUS 200 - application/json Returned if the message has been successfully received.

[
{
  "relationKey": "defaultrelation",
  "syncEventId": 14,
  "blobEventId": 100,
  "blobId": 10000,
  "sourceIssueKey": {
    "id": 11716,
    "urn": "PAR-37"
  },
  "errorMessage": "Checksums for blob id '10000' do not match. Expected: 17a7c1aaf84aa7c551dd1e349f30c2c8 Was: 90630d8f774de272400bdc9422b26d91"
  "blobErrorReason": "CHECKSUM_MISMATCH"
}
]


STATUS 400 - plain/text Returned if connection was not found:

Connection `AllContent` not found. Seems like it was removed on the Destination side.


STATUS 401 - application/json Returned if the request is authenticated with incorrect credentials.

STATUS 403 - application/json Returned if the request is not authenticated

STATUS 500 - application/json Returned if a bug situation is encountered.