com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

RESTsample

The RESTsample demonstrates rest full verbs such as post, get, put and delete. 

Building the sample

For more information, see Building Mashup Samples.

Running the client

You can try this mashup service with Try It.
First of all you have to POST Weather before other put/get/delete Weather operations.

Operations

  • POSTWeather
    We can store weather for city from this operation. 
    Example request

    <body>
       <p:POSTWeather xmlns:p="http://services.mashup.wso2.org/RESTSample?xsd">
          <city>colombo</city>
          <weatherDetails>30</weatherDetails>
       </p:POSTWeather>
    </body>
  • getWeather
    We can retrieve the stored weather by passing the city name.  
    Example request

    <body>
       <p:getWeather xmlns:p="http://services.mashup.wso2.org/RESTSample?xsd">
          <city>colombo</city>
       </p:getWeather>
    </body>
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.