v3

latestSwagger 2.02026-08-067506752.0 MB
content

Return a particular content by id

get/v1/org/{orgId}/content/{contentId}

Path parameters

orgIdstring required

Org identifier (either id or slug)

contentIdstring required

Content id

Response

successful operation

idstring required

globally unique id

orgIdstring required

parent organization id

parentContentIdstring

parent content id in the hierarchy

titlestring required

title of the content page

pathstring

full path to the content, if not set, defaults to an id/slug generated URL

imagePathstring

path to the image for the page

emojistring

emoji, if an emoji is used to represent the page

coverImagePathstring

path to the cover image for the content page

sensitive'GLOBAL' | 'ORG' | 'SENSITIVE' | 'PERSONAL' | 'MANAGER' | 'HIGH' | 'PRIVATE' required

sensitivity level (ORG public, HIGHly sensitive, or PRIVATE)

status'DRAFT' | 'ACTIVE' | 'ARCHIVED'

current status of the content page

sortinteger

sort index within parent content

createIdstring

created by user id

createBehalfIdstring

created on behalf of user id

createAtstring

created timestamp

updateIdstring

last updated by user id

updateBehalfIdstring

last updated on behalf of user id

updateAtstring

last updated timestamp

deleteIdstring

deleted by user id

deleteBehalfIdstring

deleted on behalf of user id

deleteAtstring

deleted timestamp

Example response

{
  "id": "588f7ee98f138b19220041a7",
  "orgId": "588f7ee98f138b19220041a7",
  "parentContentId": "588f7ee98f138b19220041a7",
  "title": "Benefits Policies",
  "path": "employee-info/benefits-policies",
  "imagePath": "path/to/image.jpg",
  "emoji": "💥",
  "coverImagePath": "path/to/image.jpg",
  "shareAccess": [
    {
      "userId": "5887a7718f138b6a2a0041a7",
      "groupId": "5887a7718f138b6a2a0041a7",
      "fields": "name,image,title"
    }
  ],
  "createId": "588f7ee98f138b19220041a7",
  "createBehalfId": "588f7ee98f138b19220041a7",
  "createAttribution": {
    "principalUserId": "588f7ee98f138b19220041a7",
    "agentUserIds": [
      "588f7ee98f138b19220041a7"
    ],
    "eventId": "588f7ee98f138b19220041a7",
    "aiChatId": "588f7ee98f138b19220041a7"
  },
  "updateId": "588f7ee98f138b19220041a7",
  "updateBehalfId": "588f7ee98f138b19220041a7",
  "updateAttribution": {
    "principalUserId": "588f7ee98f138b19220041a7",
    "agentUserIds": [
      "588f7ee98f138b19220041a7"
    ],
    "eventId": "588f7ee98f138b19220041a7",
    "aiChatId": "588f7ee98f138b19220041a7"
  },
  "deleteId": "588f7ee98f138b19220041a7",
  "deleteBehalfId": "588f7ee98f138b19220041a7",
  "deleteAttribution": {
    "principalUserId": "588f7ee98f138b19220041a7",
    "agentUserIds": [
      "588f7ee98f138b19220041a7"
    ],
    "eventId": "588f7ee98f138b19220041a7",
    "aiChatId": "588f7ee98f138b19220041a7"
  },
  "deleteAt": "2017-01-24T13:57:52Z"
}