String getContentRestUrl()

in src/main/groovy/com/epam/esp/confluence/ConfluenceHelper.groovy [66:69]


    String getContentRestUrl(Long contentId, String[] expansions) throws UnsupportedEncodingException {
        final String expand = URLEncoder.encode(expansions.join(','), ENCODING)
        return String.format("%s/rest/api/content/%s?expand=%s", baseUrl, contentId, expand)
    }