com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Subscribing to a Cartridge via REST API
Overview
Description | Used to subscribe to a cartridge |
URL | admin/cartridge/subscribe |
HTTP Method | POST |
Request/Response Format | application/json |
Sample request
Sample Cartridge Subscription Definition
{ "cartridgeType": "<TYPE>", "alias": "<ALIAS>", "repoURL": "<GIT_REPO_URL>", "privateRepo": "true", "repoUsername": "my_username", "repoPassword": "my_password", "commitsEnabled": "true", "autoscalePolicy": "<POLICY_NAME>", "deploymentPolicy": "<POLICY_NAME>" }
For information on the parameter definitions, see the Sample Cartridge Subscription Definition.
Example
Use case: Subscribe to the mytestphp
cartridge . Â The example request is as follows:
curl -X POSt -H "Content-Type: application/json" -d @request -k -v -u admin:admin https://<SM_HOST>:9443/stratos/admin/cartridge/subscribe
Sample response
{ "subscriptionInfo": { "hostname": "manula.stratos.com", "repositoryURL": "https:\/\/github.com\/sajhak\/mytestphp.git" } }
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.