Data on hetkel lihtsalt Bashis. Umbes sellises formaadis
Spoiler
{
"_expandable": {
"ancestors": "",
"children": "",
"container": "",
"history": "/rest/api/content/3965072/history",
"metadata": "",
"space": "/rest/api/space/TST",
"version": ""
},
"_links": {
"base": "http://localhost:8080/confluence",
"collection": "/rest/api/contents",
"self": "http://localhost:8080/confluence/rest/api/content/3965072",
"tinyui": "/x/kIA8",
"webui": "/display/TST/Test+Page"
},
"body": {
"editor": {
"_expandable": {
"content": "/rest/api/content/3965072"
},
"representation": "editor"
},
"export_view": {
"_expandable": {
"content": "/rest/api/content/3965072"
},
"representation": "export_view"
},
"storage": {
"_expandable": {
"content": "/rest/api/content/3965072"
},
"representation": "storage",
"value": "<p>blah blah</p>"
},
"view": {
"_expandable": {
"content": "/rest/api/content/3965072"
},
"representation": "view"
}
},
"id": "3965072",
"title": "Test Page",
"type": "page"
}
Kas ma lihtsalt copyn sealt selle info ja teen uue PHP file või kuidas edasi käituda ? Ma ise õnneks ei pea seda infot kuhugi netilehele üles panema, mult lihtsalt küsiti, et leiaksin mingi viisi kuidas seal confluence lehelt saada info, et siis see kuskil teisel lehel kuvada. Seega kuidas oleks kõige õigem viis talle edasi anda see info.