MindTouch Developer Center > Deki > FAQ > API > How do I...Get an overview of the Deki Wiki API?

How do I...Get an overview of the Deki Wiki API?

Table of contents
  1. 1. Overview
        1. 1.1.1.1. Configuration
        2. 1.1.1.2. Features
  2. 2. Implementation Notes

Overview

Assembly: mindtouch.deki
Class: MindTouch.Deki.DekiWikiService
SID: sid://mindtouch.com/2006/11/dekiwiki

Configuration
Name Type Description
admin-db-password string Database administrator password.
admin-db-user string? Database administrator user name (default: root).
apikey string? Key to access protected features of the service.
authtoken-salt string Private key used to generate unique auth tokens
autosave double? Time interval in seconds for automatic state save (only applies to services with state).
banned-words string? Comma separated list of banned words
deki-db-catalog string? Database table name (default: wikidb).
deki-db-options string Optional connection string parameters
deki-db-password string Password for database user.
deki-db-port int? Database port (default: 3306).
deki-db-server string? Database host name (default: localhost).
deki-db-user string? Database user name (default: wikiuser).
deki-language string? Site language (default: en-US).
deki-path string Deki installation folder
deki-resources-path string? Path to Deki resources folder (default: %deki-path%/resources)
deki-sitename string? Site name (default: Deki Wiki).
html2ps-path string? Path to html2ps tool (default: /usr/bin/html2ps)
imagemagick-convert-path string Path to ImageMagick converter tool
imagemagick-identify-path string Path to ImageMagick identify tool
max-image-size int? Maximum supported image size in bytes or 0 for no limit (default: 0).
ps2pdf-path string? Path to ps2pdf tool (default: /usr/bin/ps2pdf)
uri.log uri? Uri for logging service.
uri.self uri Uri for current service (provided by Host).
Features
Name Description
DELETE: Stop service
DELETE:archive/files/{fileid} Remove a file from the archive (wipe)
DELETE:archive/files Removes all files from the archive (wipe)
DELETE:files/{fileid}/description Reset the file description
DELETE:files/{fileid} Delete file attachment
DELETE:groups/{groupid} Remove a group
DELETE:pages/{pageid}/comments/{commentnumber} Mark a comment as being deleted. This hides comment content from non admins
DELETE:pages/{pageid}/files/{filename}/description Reset the file description
DELETE:pages/{pageid}/files/{filename} Delete file attachment
DELETE:pages/{pageid}/security Reset page restricts and grants
DELETE:pages/{pageid} Deletes a page and optionally descendant pages by moving them to the archive
DELETE:site/logo.png Remove the site logo
DELETE:site/logo Remove the site logo
GET: Retrieve extension description
GET:archive/files/{fileid}/{filename} Retrieve file attachment content
GET:archive/files/{fileid}/info Retrieves file info for a deleted file
GET:archive/files/{fileid} Retrieves file content for a deleted file
GET:archive/files Retrieves file info for all deleted files
GET:archive/pages/{pageid}/contents Retrieve the contents of a deleted page for previewing
GET:archive/pages/{pageid}/info Retrieve basic page information for the deleted page
GET:archive/pages/{pageid}/subpages Retrieve the child pages that were deleted as well from deleting the given page
GET:archive/pages/{pageid} Retrieve basic page information for the deleted page
GET:archive/pages Retrieve the pages that can be potentially restored from deletion.
GET:archive Retrieves a summary of available archive information
GET:files/{fileid}/{filename} Retrieve file attachment content
GET:files/{fileid}/description retrieves a file description
GET:files/{fileid}/info Retrieve file attachment information
GET:files/{fileid}/revisions Retrieve file revision info
GET:files/{fileid} Retrieve file attachment content
GET:files/{name} Retrieve file contents
GET:files Retrieve information for all attached files
GET:groups/{groupid}/users Return a list of users in a group
GET:groups/{groupid} Retrieve group information
GET:groups Retrieve list of groups.
GET:logo.png Retrieve MindTouch Deki Wiki logo
GET:pages/{pageid}/aliases Retrieve list of page aliases
GET:pages/{pageid}/comments/{commentnumber}/content Retrieve the comment text only
GET:pages/{pageid}/comments/{commentnumber} Retrieve a comment and metadata
GET:pages/{pageid}/comments Retrieve the comments on a page
GET:pages/{pageid}/contents Retrieve the contents of a page.
GET:pages/{pageid}/diff Show changes between revisions
GET:pages/{pageid}/export Export a page to the specified format
GET:pages/{pageid}/feed Retrieve feed of page changes
GET:pages/{pageid}/files,subpages Retrieves a list of files and subpages for a given page
GET:pages/{pageid}/files/{filename}/description retrieves a file description
GET:pages/{pageid}/files/{filename}/info Retrieve file attachment information
GET:pages/{pageid}/files/{filename}/revisions Retrieve file revision info
GET:pages/{pageid}/files/{filename} Retrieve file attachment content
GET:pages/{pageid}/files Retrieves a list of files for a given page
GET:pages/{pageid}/info Retrieve page information
GET:pages/{pageid}/links Retrieve list of inbound or outbound page links
GET:pages/{pageid}/properties Retrieves page properties.
GET:pages/{pageid}/revisions Retrieve revision history of a given title
GET:pages/{pageid}/security Retrieve page security info
GET:pages/{pageid}/subpages Retrieve list of sub-pages
GET:pages/{pageid}/tags Retrieve the tags on a page.
GET:pages/{pageid}/tree Builds a site map starting from a given page.
GET:pages/{pageid} Retrieve aggregate page information including attachments
GET:pages/popular Retrieves a list of popular pages.
GET:pages Builds a site map starting from 'home' page.
GET:site/feed Retrieve feed of site changes
GET:site/functions Get list of available extensions
GET:site/logo.png Retrieve the site logo image
GET:site/logo Retrieve the site logo image
GET:site/nav/{pageid}/children,siblings Retrieve <div> tags for the sub-pages and sibling pages of the given page.
GET:site/nav/{pageid}/children Retrieve <div> tags for the sub-pages of the given page.
GET:site/nav/{pageid}/full Retrieve <div> tags of the full navigation tree for the given page.
GET:site/nav/{pageid}/siblings Retrieve <div> tags for sibling pages of the given page.
GET:site/opensearch/description Get the OpenSearch Description document
GET:site/opensearch/suggestions Search the Deki index
GET:site/opensearch Search the Deki index
GET:site/operations Retrieve all known security operations
GET:site/roles/{roleid} Retrieve a role
GET:site/roles Retrieve list of defined roles
GET:site/search Search the Deki index
GET:site/services/{id} Retrieve service.
GET:site/services Retrieve list of services.
GET:site/settings Retrieve all configuration settings
GET:users/{userid}/favorites/feed Retrieve feed of user favorites changes
GET:users/{userid}/feed Retrieve feed of user contributions
GET:users/{userid} Retrieve information about a user.
GET:users/authenticate Authenticate a user given http header Credentials or an auth token. Response status 200 implies valid credentials and contains a new auth token.
GET:users Retrieve list of users.
HEAD:files/{fileid}/{filename} Retrieve file attachment content (Note: image manipulation arguments are ignored for HEAD requests)
HEAD:files/{fileid} Retrieve file attachment content (Note: image manipulation arguments are ignored for HEAD requests)
HEAD:files/{name} Retrieve file headers
HEAD:pages/{pageid}/files/{filename} Retrieve file attachment content (Note: image manipulation arguments are ignored for HEAD requests)
POST:{function} Invoke extension function
POST:archive/files/restore/{fileid} Restores a deleted file back to its page
POST:archive/pages/{pageid}/restore Restore all revisions of a given page
POST:files/{fileid}/index re-index an attachment
POST:files/{fileid}/move Move an attachment from one page to another
POST:groups Add or modify a group
POST:pages/{pageid}/comments Post a new comment to a page
POST:pages/{pageid}/contents Update contents of a page
POST:pages/{pageid}/index re-index a page and it's attributes
POST:pages/{pageid}/move Move page to a new location
POST:pages/{pageid}/revert Revert page to an earlier revision
POST:pages/{pageid}/security Modify page security by adding and removing grants
POST:site/search/rebuild Rebuild the Deki Lucene index
POST:site/services/{id} Update and restart a service
POST:site/services Update and restart all local services
POST:users/{userid}/allowed Check one or more resources if given operation is allowed.
POST:users/authenticate Authenticate a user given http header Credentials or an auth token. When using external authentication, this will automatically create an account and synchronize groups. Response status 200 implies valid credentials and contains a new auth token.
POST:users Add or modify a user
PUT:files/{fileid}/description Update attachment description
PUT:groups/{groupid}/users Set the members for a group
PUT:groups/{groupid} Modify an existing group
PUT:pages/{pageid}/comments/{commentnumber}/content Edit the specified comment
PUT:pages/{pageid}/files/{filename}/description Update attachment description
PUT:pages/{pageid}/files/{filename} Upload file attachment
PUT:pages/{pageid}/properties Update page properties.
PUT:pages/{pageid}/security Set page security info
PUT:pages/{pageid}/tags Sets the tags on a page.
PUT:site/logo.png Save a new site logo image
PUT:site/logo Save a new site logo image
PUT:site/roles/{roleid} Modify or add a role
PUT:site/settings Set all configuration settings
PUT:users/{userid}/password Set password for a given user.
PUT:users/{userid} Modify an existing user

Implementation Notes

To learn more about a particular feature, click on the corresponding link above.

Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.1a