Getting a feed of all wikis
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 30, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Get a feed that lists all of the wikis. This returns a feed of wikis to which the authenticated user has access.
Use one or more of the input parameters to narrow the search. Separate multiple parameters with an ampersand (&).
Input
Method URI Description
GET /wikis/{auth}/api/wikis/feed Gets the collection of all wikis, including private wikis that you have access to.
Name Type Optional Description
auth
enumerated No The authorization protocol being used by your application to access Connections Cloud.
Authorized values:
  • basic
  • oauth
Name Type Optional Description
acls
boolean Yes Specifies whether or not the permissions for each user should be displayed for each entry in the returned Atom document. This parameter takes a Boolean value of either true or false. By default, the permission information is not returned.
format
enumerated Yes Specifies the format of the response. Options are xml or json. The default value is xml.
Authorized values:
  • xml
  • json
includeTags
boolean Yes Specifies whether or not the tags that are displayed on the wiki welcome page are included in the returned Atom document. This parameter takes a Boolean value of either true or false. By default, the tags are not returned.
page
int Yes Page number. Specifies the page to be returned. The default value is 1, which returns the first page
ps
int Yes Page size. Specifies the number of entries to return per page. The default value is 10. The maximum value you can specify is 500.
Note: This parameter replaces the pageSize parameter. The pageSize parameter is supported for backwards compatibility only; it will be deprecated in a future release.
sl
int Yes Start index. Specifies the start index (number) in the collection from which the results should be returned. The value of this parameter is ignored if a page parameter value is provided. The default value is 1.
sortBy
enumerated Yes String. Specifies what to sort the returned entries by. Options are:
created
Sorts the entries by the date the item was created.
desc
Sorts the entries alphabetically by description.
modified
Sorts the entries by the last modified date.
published
Sorts the entries by the date the item was published (usually related to atom:published element).
title
Sorts the entries alphabetically by title. The title used is the text that is displayed in the <title> element of each entry in the feed.
updated
Sorts the entries by the last time the item was updated.
The default value is modified.
Authorized values:
  • created
  • desc
  • modified
  • published
  • title
  • updated
sortOrder
enumerated Yes
Specifies the order in which to sort the results. The options are:
asc
Sorts the results in ascending order.
desc
Sorts the results in descending order.
Descending is the default value.
Authorized values:
  • asc
  • desc
search
string Yes Specify a string to use in a wiki search by title. The string length must be greater than 1.
Name Type Optional Description
Authorization
enumerated No The authentication mechanism selected by your application to access the API.
Basic is the Base64 encoding of the IBM Connections Cloud username and password: Base64(username:password). For example, Base64(twatson@us.ibm.com:password).
Bearer is the oauth 2.0 access token that is generated when the user grants your application access to IBM Connections Cloud services.
See the reference topic "OAuth 2.0 APIs for web server flow" for more information.
Authorized values:
  • bearer
  • basic
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the request was received successfully.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
Examples
To get a feed of all wikis
> GET /wikis/basic/api/wikis/feed HTTP/1.1

> Authorization: Basic ...

> Host: wikis.enterprise.example.com:9088

> Accept: */*