Wiki

Method: list

Authorization is required. Group administrator's privileges required.

Request

HTTP request

GET https://<YOUR_DOMAIN>/api/v1/en_US/wiki/list/{groupId}?offset={offset}&pageSize={pageSize}&filter={filter}

Parameters

propertyvaluedescription
groupId guid The elements group's ID
offset integer Needed for the infinite scroll functionality. It is the ID of the last presented item to the user. After the request list is generated the system will skip all records from the beginning up to the record with the provided ID (including it). The next batch of records will be returned in the response.
pageSize integer How many records to be returned by the system. Usually 15
filter string Query string to be looked for when filtering the records

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response JSON with the following structure:

{
  "success": true,
  "message": "Laboris ea ad duis do deserunt eiusmod eu magna.",
  "timestamp": "2014-03-03T23:20:23Z",
  "errors": [],
  "object": {
    "offset": 648,
    "wikis": [
      {
        "id": 1,
        "type": "wiki",
        "group": {
          "id": "e532e792-4101-4ef5-8cd7-68380bbbc703",
          "name": "Home",
          "slug": "Home",
          "thumbUrl": "http://demo.hivesocialnow.com/logo/72_635267855582630000.png",
          "url": "http://demo.hivesocialnow.com/Home/"
        },
        "title": "Ex proident commodo nisi deserunt.",
        "locked": false,
        "url": "http://demo.hivesocialnow.com/Home/wiki/document/324",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "d611107d-58ce-42cc-83dd-eec11b9b4956",
          "alias": "ea ad",
          "extendedAlias": "qui ex reprehenderit excepteur esse",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        },
        "rating": "3.33",
        "votes": 3,
        "space": {
          "id": 1,
          "name": "qui dolor",
          "description": "Reprehenderit et ex nostrud amet consequat quis ",
          "position": 1,
          "parent": {
            "id": 1,
            "name": "fugiat cupidatat",
            "description": "Ea veniam deserunt sint aliqua ut fugiat ea.",
            "position": 1
          }
        },
        "tags": [
          {
            "id": 1,
            "name": "magna"
          }
        ],
        "cateogries": [
          {
            "id": 1,
            "name": "in"
          }
        ],
        "header": {
          "revision": {
            "id": 1,
            "index": 1,
            "contentType": "text/html",
            "content": "Amet Lorem fugiat sunt eu eu. ",
            "createdOn": "2014-03-03T23:20:23Z",
            "author": {
              "id": "08bc62a2-da64-4a67-a1a2-4463f58520cb",
              "alias": "nostrud anim",
              "extendedAlias": "id deserunt consectetur sit anim",
              "slug": "Home",
              "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
              "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
            }
          },
          "url": "http://demo.hivesocialnow.com/Home/wiki/document/324"
        },
        "chapters": [
          {
            "id": 1,
            "title": "Qui non nostrud fugiat ex aute exercitation.",
            "locked": true,
            "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323",
            "createdOn": "2014-03-03T23:20:23Z",
            "author": {
              "id": "57c53a36-f628-4dcb-a3f4-63330e48be04",
              "alias": "ad ex",
              "extendedAlias": "quis tempor aliquip adipisicing laboris",
              "slug": "Home",
              "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
              "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
            },
            "revision": {
              "id": 1,
              "index": 1,
              "contentType": "text/html",
              "content": "Culpa consequat veniam commodo velit exercitation.",
              "createdOn": "2014-03-03T23:20:23Z",
              "author": {
                "id": "b313ed72-7e8b-45b0-a749-37605f8c66cb",
                "alias": "excepteur magna",
                "extendedAlias": "nisi consectetur ea sunt duis",
                "slug": "Home",
                "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
                "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
              }
            },
            "parent": {
              "id": 1,
              "title": "Tempor laborum proident voluptate amet.",
              "locked": false,
              "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323"
            }
          }
        ],
        "comments": [
          {
            "id": 1,
            "createdOn": "2014-03-03T23:20:23Z",
            "author": {
              "id": "5de077d2-d0e6-4428-9e4f-d9524961664f",
              "alias": "aute qui",
              "extendedAlias": "commodo velit consectetur cillum exercitation",
              "slug": "Home",
              "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
              "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
            },
            "content": "In nulla ad aliqua eu ullamco.",
            "url": "/Home/posts/123#234",
            "rating": "3",
            "votes": 1,
            "isAnonymous": true,
            "parentCommentId": 0,
            "accessWarnings": []
          }
        ],
        "attachments": [
          {
            "id": "8a55f48a-a544-4b42-9de1-a5ed24f552fc",
            "size": 3232,
            "name": "bootstrap.css",
            "contentType": "text/css",
            "description": "occaecat tempor excepteur dolore officia",
            "createdOn": "2014-03-03T23:20:23Z",
            "author": {
              "id": "87092f5a-f242-43a9-b69a-b8d2545a8262",
              "alias": "duis esse",
              "extendedAlias": "consectetur anim consequat laboris ipsum",
              "slug": "Home",
              "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
              "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
            }
          }
        ],
        "accessWarnings": []
      }
    ]
  }
}

The general response properties are described on the Response format page. Here are the list of the specific properties for this method.

propertyvaluedescription
id integer The wiki Id
group object The group the wiki is posted in
title string the wiki's title
locked boolean Whether the complete wiki is locked for editing
url string The permalink of the wiki
createdOn date When the wiki was created on in date ISO 8601 string and UTC time zone
author object The user object of the author
rating string The current wiki rating
votes integer How many rate votes the wiki have got
space object The wiki's space object
tags list (object) The wiki's tags
cateogries list (object) The wiki's cateogries
header object The wiki's intro text
chapters list (object) The wiki's chapters
comments list (object) The wiki's comments
attachments list (object) The wiki's attachments

Method: copy

Authorization is required. Group administrator's privileges required. Creates the same wiki in the same group and in the same or different space

Request

HTTP request

POST https://<YOUR_DOMAIN>/api/v1/en_US/wiki/{wikiId}/copy

Parameters

propertyvaluedescription
wikiId integer In original wiki id.

Request body

propertyvaluedescription
spaceId integer The new wiki space.

Response

If successful, this method returns a response JSON with the following structure:

{
  "timestamp": "2014-03-03T23:20:23Z",
  "success": true,
  "message": "Aliqua anim consequat amet cupidatat proident amet amet.",
  "errors": [],
  "object": {
    "id": 1,
    "type": "wiki",
    "group": {
      "id": "e532e792-4101-4ef5-8cd7-68380bbbc703",
      "name": "Home",
      "slug": "Home",
      "thumbUrl": "http://demo.hivesocialnow.com/logo/72_635267855582630000.png",
      "url": "http://demo.hivesocialnow.com/Home/"
    },
    "title": "Ex proident commodo nisi deserunt .",
    "locked": false,
    "url": "http://demo.hivesocialnow.com/Home/wiki/document/324",
    "createdOn": "2014-03-03T23:20:23Z",
    "author": {
      "id": "d611107d-58ce-42cc-83dd-eec11b9b4956",
      "alias": "ea ad",
      "extendedAlias": "qui ex reprehenderit excepteur esse",
      "slug": "Home",
      "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
      "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
    },
    "rating": 3.33,
    "votes": 3,
    "space": {
      "id": 1,
      "name": "qui dolor",
      "description": "Reprehenderit et ex nostrud amet consequat quis laborum.",
      "position": 1,
      "parent": {
        "id": 1,
        "name": "fugiat cupidatat",
        "description": "Ea veniam deserunt sint aliqua ut fugiat ea. ",
        "position": 1
      }
    },
    "tags": [
      {
        "id": 1,
        "name": "magna"
      }
    ],
    "cateogries": [
      {
        "id": 1,
        "name": "in"
      }
    ],
    "header": {
      "revision": {
        "id": 1,
        "index": 1,
        "contentType": "text/html",
        "content": "Amet Lorem fugiat sunt eu eu. Irure tempor commodo proident dolore ad officia enim Lorem eiusmod sunt nisi veniam et cillum. Fugiat eiusmod enim voluptate irure sint occaecat adipisicing voluptate tempor laboris mollit. Laborum velit tempor amet magna.\r\n",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "08bc62a2-da64-4a67-a1a2-4463f58520cb",
          "alias": "nostrud anim",
          "extendedAlias": "id deserunt consectetur sit anim",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        }
      },
      "url": "http://demo.hivesocialnow.com/Home/wiki/document/324"
    },
    "chapters": [
      {
        "id": 1,
        "title": "Qui non nostrud fugiat ex aute exercitation incididunt do in est pariatur quis culpa. Aute ipsum ipsum reprehenderit labore et laborum esse aute non.",
        "locked": true,
        "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "57c53a36-f628-4dcb-a3f4-63330e48be04",
          "alias": "ad ex",
          "extendedAlias": "quis tempor aliquip adipisicing laboris",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        },
        "revision": {
          "id": 1,
          "index": 1,
          "contentType": "text/html",
          "content": "Culpa consequat veniam commodo velit exercitation. Ipsum aute excepteur veniam fugiat. Incididunt non do nostrud deserunt. Id aliquip irure reprehenderit labore tempor. Ullamco elit tempor ut excepteur eu labore Lorem elit ex sint.\r\n",
          "createdOn": "2014-03-03T23:20:23Z",
          "author": {
            "id": "b313ed72-7e8b-45b0-a749-37605f8c66cb",
            "alias": "excepteur magna",
            "extendedAlias": "nisi consectetur ea sunt duis",
            "slug": "Home",
            "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
            "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
          }
        },
        "parent": {
          "id": 1,
          "title": "Tempor laborum proident voluptate amet velit quis in duis sit irure pariatur quis ex exercitation. Ea elit voluptate consectetur laboris ad do id irure.",
          "locked": false,
          "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323"
        }
      }
    ],
    "comments": [],
    "attachments": [],
    "accessWarnings": []
  }
}

The general response properties are described on the Response format page. Here are the list of the specific properties for this method.

propertyvaluedescription
success Boolean Whether the requested operation is successful or not
message String Human readable error information
errors List (object) List of validation errors, if any. The "key" property value is matched to one of the record's fields
object object The newly created wiki object

Method: move

Authorization is required. Group administrator's privileges required. Moves a wiki in another wiki space, but in the same group

Request

HTTP request

POST https://<YOUR_DOMAIN>/api/v1/en_US/wiki/{wikiId}/move

Parameters

propertyvaluedescription
wikiId integer In original wiki id.

Request body

propertyvaluedescription
spaceId integer The new wiki space.

Response

If successful, this method returns a response JSON with the following structure:

{
  "timestamp": "2014-03-03T23:20:23Z",
  "success": true,
  "message": "Aliqua anim consequat amet cupidatat proident amet amet.",
  "errors": [],
  "object": {
    "id": 1,
    "type": "wiki",
    "group": {
      "id": "e532e792-4101-4ef5-8cd7-68380bbbc703",
      "name": "Home",
      "slug": "Home",
      "thumbUrl": "http://demo.hivesocialnow.com/logo/72_635267855582630000.png",
      "url": "http://demo.hivesocialnow.com/Home/"
    },
    "title": "Ex proident commodo nisi deserunt .",
    "locked": false,
    "url": "http://demo.hivesocialnow.com/Home/wiki/document/324",
    "createdOn": "2014-03-03T23:20:23Z",
    "author": {
      "id": "d611107d-58ce-42cc-83dd-eec11b9b4956",
      "alias": "ea ad",
      "extendedAlias": "qui ex reprehenderit excepteur esse",
      "slug": "Home",
      "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
      "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
    },
    "rating": 3.33,
    "votes": 3,
    "space": {
      "id": 1,
      "name": "qui dolor",
      "description": "Reprehenderit et ex nostrud amet consequat quis laborum.",
      "position": 1,
      "parent": {
        "id": 1,
        "name": "fugiat cupidatat",
        "description": "Ea veniam deserunt sint aliqua ut fugiat ea. ",
        "position": 1
      }
    },
    "tags": [
      {
        "id": 1,
        "name": "magna"
      }
    ],
    "cateogries": [
      {
        "id": 1,
        "name": "in"
      }
    ],
    "header": {
      "revision": {
        "id": 1,
        "index": 1,
        "contentType": "text/html",
        "content": "Amet Lorem fugiat sunt eu eu. Irure tempor commodo proident dolore ad officia enim Lorem eiusmod sunt nisi veniam et cillum. Fugiat eiusmod enim voluptate irure sint occaecat adipisicing voluptate tempor laboris mollit. Laborum velit tempor amet magna.\r\n",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "08bc62a2-da64-4a67-a1a2-4463f58520cb",
          "alias": "nostrud anim",
          "extendedAlias": "id deserunt consectetur sit anim",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        }
      },
      "url": "http://demo.hivesocialnow.com/Home/wiki/document/324"
    },
    "chapters": [
      {
        "id": 1,
        "title": "Qui non nostrud fugiat ex aute exercitation incididunt do in est pariatur quis culpa. Aute ipsum ipsum reprehenderit labore et laborum esse aute non.",
        "locked": true,
        "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "57c53a36-f628-4dcb-a3f4-63330e48be04",
          "alias": "ad ex",
          "extendedAlias": "quis tempor aliquip adipisicing laboris",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        },
        "revision": {
          "id": 1,
          "index": 1,
          "contentType": "text/html",
          "content": "Culpa consequat veniam commodo velit exercitation. Ipsum aute excepteur veniam fugiat. Incididunt non do nostrud deserunt. Id aliquip irure reprehenderit labore tempor. Ullamco elit tempor ut excepteur eu labore Lorem elit ex sint.\r\n",
          "createdOn": "2014-03-03T23:20:23Z",
          "author": {
            "id": "b313ed72-7e8b-45b0-a749-37605f8c66cb",
            "alias": "excepteur magna",
            "extendedAlias": "nisi consectetur ea sunt duis",
            "slug": "Home",
            "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
            "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
          }
        },
        "parent": {
          "id": 1,
          "title": "Tempor laborum proident voluptate amet velit quis in duis sit irure pariatur quis ex exercitation. Ea elit voluptate consectetur laboris ad do id irure.",
          "locked": false,
          "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323"
        }
      }
    ],
    "comments": [],
    "attachments": [],
    "accessWarnings": []
  }
}

The general response properties are described on the Response format page. Here are the list of the specific properties for this method.

propertyvaluedescription
success Boolean Whether the requested operation is successful or not
message String Human readable error information
errors List (object) List of validation errors, if any. The "key" property value is matched to one of the record's fields
object object The moved and updated wiki object

Method: copy to group

Authorization is required. Group administrator's privileges required. Creates the same wiki in another group

Request

HTTP request

POST https://<YOUR_DOMAIN>/api/v1/en_US/wiki/{wikiId}/copy/group

Parameters

propertyvaluedescription
wikiId integer In original wiki id.

Request body

propertyvaluedescription
group guid The new wiki group.
spaceId integer The new wiki space.

Response

If successful, this method returns a response JSON with the following structure:

{
  "timestamp": "2014-03-03T23:20:23Z",
  "success": true,
  "message": "Aliqua anim consequat amet cupidatat proident amet amet.",
  "errors": [],
  "object": {
    "id": 1,
    "type": "wiki",
    "group": {
      "id": "e532e792-4101-4ef5-8cd7-68380bbbc703",
      "name": "Home",
      "slug": "Home",
      "thumbUrl": "http://demo.hivesocialnow.com/logo/72_635267855582630000.png",
      "url": "http://demo.hivesocialnow.com/Home/"
    },
    "title": "Ex proident commodo nisi deserunt .",
    "locked": false,
    "url": "http://demo.hivesocialnow.com/Home/wiki/document/324",
    "createdOn": "2014-03-03T23:20:23Z",
    "author": {
      "id": "d611107d-58ce-42cc-83dd-eec11b9b4956",
      "alias": "ea ad",
      "extendedAlias": "qui ex reprehenderit excepteur esse",
      "slug": "Home",
      "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
      "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
    },
    "rating": 3.33,
    "votes": 3,
    "space": {
      "id": 1,
      "name": "qui dolor",
      "description": "Reprehenderit et ex nostrud amet consequat quis laborum.",
      "position": 1,
      "parent": {
        "id": 1,
        "name": "fugiat cupidatat",
        "description": "Ea veniam deserunt sint aliqua ut fugiat ea. ",
        "position": 1
      }
    },
    "tags": [
      {
        "id": 1,
        "name": "magna"
      }
    ],
    "cateogries": [
      {
        "id": 1,
        "name": "in"
      }
    ],
    "header": {
      "revision": {
        "id": 1,
        "index": 1,
        "contentType": "text/html",
        "content": "Amet Lorem fugiat sunt eu eu. Irure tempor commodo proident dolore ad officia enim Lorem eiusmod sunt nisi veniam et cillum. Fugiat eiusmod enim voluptate irure sint occaecat adipisicing voluptate tempor laboris mollit. Laborum velit tempor amet magna.\r\n",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "08bc62a2-da64-4a67-a1a2-4463f58520cb",
          "alias": "nostrud anim",
          "extendedAlias": "id deserunt consectetur sit anim",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        }
      },
      "url": "http://demo.hivesocialnow.com/Home/wiki/document/324"
    },
    "chapters": [
      {
        "id": 1,
        "title": "Qui non nostrud fugiat ex aute exercitation incididunt do in est pariatur quis culpa. Aute ipsum ipsum reprehenderit labore et laborum esse aute non.",
        "locked": true,
        "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "57c53a36-f628-4dcb-a3f4-63330e48be04",
          "alias": "ad ex",
          "extendedAlias": "quis tempor aliquip adipisicing laboris",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        },
        "revision": {
          "id": 1,
          "index": 1,
          "contentType": "text/html",
          "content": "Culpa consequat veniam commodo velit exercitation. Ipsum aute excepteur veniam fugiat. Incididunt non do nostrud deserunt. Id aliquip irure reprehenderit labore tempor. Ullamco elit tempor ut excepteur eu labore Lorem elit ex sint.\r\n",
          "createdOn": "2014-03-03T23:20:23Z",
          "author": {
            "id": "b313ed72-7e8b-45b0-a749-37605f8c66cb",
            "alias": "excepteur magna",
            "extendedAlias": "nisi consectetur ea sunt duis",
            "slug": "Home",
            "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
            "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
          }
        },
        "parent": {
          "id": 1,
          "title": "Tempor laborum proident voluptate amet velit quis in duis sit irure pariatur quis ex exercitation. Ea elit voluptate consectetur laboris ad do id irure.",
          "locked": false,
          "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323"
        }
      }
    ],
    "comments": [],
    "attachments": [],
    "accessWarnings": []
  }
}

The general response properties are described on the Response format page. Here are the list of the specific properties for this method.

propertyvaluedescription
success Boolean Whether the requested operation is successful or not
message String Human readable error information
errors List (object) List of validation errors, if any. The "key" property value is matched to one of the record's fields
object object The newly created wiki object

Method: move to group

Authorization is required. Group administrator's privileges required. Moves a wiki in another group

Request

HTTP request

POST https://<YOUR_DOMAIN>/api/v1/en_US/wiki/{wikiId}/move/group

Parameters

propertyvaluedescription
wikiId integer In original wiki id.

Request body

propertyvaluedescription
group guid The new wiki group.
spaceId integer The new wiki space.

Response

If successful, this method returns a response JSON with the following structure:

{
  "timestamp": "2014-03-03T23:20:23Z",
  "success": true,
  "message": "Aliqua anim consequat amet cupidatat proident amet amet.",
  "errors": [],
  "object": {
    "id": 1,
    "type": "wiki",
    "group": {
      "id": "e532e792-4101-4ef5-8cd7-68380bbbc703",
      "name": "Home",
      "slug": "Home",
      "thumbUrl": "http://demo.hivesocialnow.com/logo/72_635267855582630000.png",
      "url": "http://demo.hivesocialnow.com/Home/"
    },
    "title": "Ex proident commodo nisi deserunt .",
    "locked": false,
    "url": "http://demo.hivesocialnow.com/Home/wiki/document/324",
    "createdOn": "2014-03-03T23:20:23Z",
    "author": {
      "id": "d611107d-58ce-42cc-83dd-eec11b9b4956",
      "alias": "ea ad",
      "extendedAlias": "qui ex reprehenderit excepteur esse",
      "slug": "Home",
      "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
      "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
    },
    "rating": 3.33,
    "votes": 3,
    "space": {
      "id": 1,
      "name": "qui dolor",
      "description": "Reprehenderit et ex nostrud amet consequat quis laborum.",
      "position": 1,
      "parent": {
        "id": 1,
        "name": "fugiat cupidatat",
        "description": "Ea veniam deserunt sint aliqua ut fugiat ea. ",
        "position": 1
      }
    },
    "tags": [
      {
        "id": 1,
        "name": "magna"
      }
    ],
    "cateogries": [
      {
        "id": 1,
        "name": "in"
      }
    ],
    "header": {
      "revision": {
        "id": 1,
        "index": 1,
        "contentType": "text/html",
        "content": "Amet Lorem fugiat sunt eu eu. Irure tempor commodo proident dolore ad officia enim Lorem eiusmod sunt nisi veniam et cillum. Fugiat eiusmod enim voluptate irure sint occaecat adipisicing voluptate tempor laboris mollit. Laborum velit tempor amet magna.\r\n",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "08bc62a2-da64-4a67-a1a2-4463f58520cb",
          "alias": "nostrud anim",
          "extendedAlias": "id deserunt consectetur sit anim",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        }
      },
      "url": "http://demo.hivesocialnow.com/Home/wiki/document/324"
    },
    "chapters": [
      {
        "id": 1,
        "title": "Qui non nostrud fugiat ex aute exercitation incididunt do in est pariatur quis culpa. Aute ipsum ipsum reprehenderit labore et laborum esse aute non.",
        "locked": true,
        "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323",
        "createdOn": "2014-03-03T23:20:23Z",
        "author": {
          "id": "57c53a36-f628-4dcb-a3f4-63330e48be04",
          "alias": "ad ex",
          "extendedAlias": "quis tempor aliquip adipisicing laboris",
          "slug": "Home",
          "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
          "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
        },
        "revision": {
          "id": 1,
          "index": 1,
          "contentType": "text/html",
          "content": "Culpa consequat veniam commodo velit exercitation. Ipsum aute excepteur veniam fugiat. Incididunt non do nostrud deserunt. Id aliquip irure reprehenderit labore tempor. Ullamco elit tempor ut excepteur eu labore Lorem elit ex sint.\r\n",
          "createdOn": "2014-03-03T23:20:23Z",
          "author": {
            "id": "b313ed72-7e8b-45b0-a749-37605f8c66cb",
            "alias": "excepteur magna",
            "extendedAlias": "nisi consectetur ea sunt duis",
            "slug": "Home",
            "avatarUrl": "http://demo.hivesocialnow.com/bigavatar/bc7fbf51-7930-4550-98b0-6a3ff6111ebe.jpg",
            "url": "http://demo.hivesocialnow.com/blog/GeorgiRaykov/site/profile/"
          }
        },
        "parent": {
          "id": 1,
          "title": "Tempor laborum proident voluptate amet velit quis in duis sit irure pariatur quis ex exercitation. Ea elit voluptate consectetur laboris ad do id irure.",
          "locked": false,
          "url": "http://demo.hivesocialnow.com/Home/wiki/document/324#323"
        }
      }
    ],
    "comments": [],
    "attachments": [],
    "accessWarnings": []
  }
}

The general response properties are described on the Response format page. Here are the list of the specific properties for this method.

propertyvaluedescription
success Boolean Whether the requested operation is successful or not
message String Human readable error information
errors List (object) List of validation errors, if any. The "key" property value is matched to one of the record's fields
object object The moved and updated wiki object