Sugar Network/API: Difference between revisions
| Line 99: | Line 99: | ||
Some of resources have Wiki pages associated. The following actions can be used to manage these Wiki pages. | Some of resources have Wiki pages associated. The following actions can be used to manage these Wiki pages. | ||
GET /<RESOURCE>/<GUID>/wikitext | GET /<RESOURCE>/<GUID>/'''wikitext''' | ||
Get the Wiki sources. | Get the Wiki sources. | ||
| Line 106: | Line 106: | ||
: Wiki sources with text/plain MIME type. | : Wiki sources with text/plain MIME type. | ||
GET /<RESOURCE>/<GUID>/rendered_wikitext | GET /<RESOURCE>/<GUID>/'''rendered_wikitext''' | ||
Get the Wiki rendered to HTML. | Get the Wiki rendered to HTML. | ||
| Line 113: | Line 113: | ||
: Rendered Wiki with text/html MIME type. | : Rendered Wiki with text/html MIME type. | ||
PUT /<RESOURCE>/<GUID>/wikitext | PUT /<RESOURCE>/<GUID>/'''wikitext''' | ||
Put new content for Wiki page. Only object creator can use it. | Put new content for Wiki page. Only object creator can use it. | ||