in legacy-content-import/src/main/scala/legacycontentimport/audit/Article.scala [32:39]
private def firstPageFromCapiHelpSection(capiDomain: String, capiKey: String): ArticlesAndPageCount = {
val capiResponse = capiRequest(capiDomain, capiKey).asString
val response = ujson.read(capiResponse.body)("response")
ArticlesAndPageCount(
articles = response("results").arr.toList.map(toArticle),
pageCount = response("pages").num.toInt
)
}