...
Code Block |
---|
if (size(argv) < 2) { return "space key and page title are not specified"; } string spaceKey = argv[0]; string pageTitle = argv[1]; number page = getPage(spaceKey, pageTitle); if (page < 0) { return "space '" + spaceKey + "' has no page '" + pageTitle + "'"; } return "id: " + %page%.id, "parent: " + %page%.parent, "title: " + %page%.title, "space: " + %page%.space, "author: " + %page%.author, "version: " + %page%.version, "content: " + %page%.content, "attachments: " + %page%.attachments, "created: " + %page%.created, "updated: " + %page%.updated, "watchers: " + %page%.watchers, "labels: " + %page%.labels, "tinyLink: " + %page%.tinyLink; |
We've encountered an issue exporting this macro. Please try exporting this page again later.