Get a user's personal information and assets - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service returns the following data for a given user:

Only ADMIN users can call this web service.

Method Endpoint
GET
/api/users/{userId}/dump
Path parameter Type Description
{userId} String The user identifier. See the List users or Search users web services to find a user's ID. It is also possible to get a user's ID from the Manage users menu.

It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.

Response body

The following example shows a JSON response body for this web service:

{
  "user": {
    "id": "93fc96ca-6e95-4e60-8c58-1f475336049b",
    "displayName": "User",
    "emailAddress": "user@fluidtopics.com",
    "privacyPolicyAgreementDate": "2024-07-11T11:40:47.723+00:00",
    "creationDate": "2022-08-06T14:19:14.199+0000",
    "lastLoginDate": "2022-08-06T14:19:58.247+0000",
    "manualGroups": [],
    "authenticationGroups": [],
    "manualTags": [],
    "authenticationTags": [],
    "manualRoles": [
      "BETA_USER",
      "PERSONAL_BOOK_USER",
      "HTML_EXPORT_USER",
      "PDF_EXPORT_USER",
      "SAVED_SEARCH_USER",
      "PERSONAL_BOOK_SHARE_USER",
      "DEBUG_USER"
    ],
    "authenticationRoles": [],
    "defaultRoles": [],
    "authenticationIdentifiers": [
      {
        "identifier": "user@fluidtopics.com",
        "realm": "internal"
      }
    ],
    "userLocale": {
      "uiLocale": "en-US",
      "searchContentLocale": "en-US"
    },
    "preferences": {
      "prior": [
        {
          "key": "foo",
          "value": "bar",
          "origin": "REALM",
          "date": "2022-05-04T11:39:01.120+00:00"
        }
      ]
    },
    "active": true,
    "readerPagination": {
      "type": "DEFAULT"
    }
  },
  "bookmarks": [
    {
      "id": "9c752ba7-69f2-4d12-be68-d3f58bf1306a",
      "title": "Fluid Topics Tenant Setup",
      "creationDate": "2021-08-06T14:20:17.691+0000",
      "colorCssClass": "color-3",
      "origin": {
        "mapId": "a7wNxXBLbM65nqkOxv14ug",
        "mapTitle": "Fluid Topics v2 - Installation and Integration Guide",
        "tocId": "YSMVQCP7eLR8sEVEifkydQ",
        "breadcrumb": [
          "Fluid Topics Tenant Setup"
        ]
      }
    }
  ],
  "personalBooks": [
    {
      "id": "0960605a-ea84-434d-8431-cd422ee940f8",
      "title": "My book ",
      "tagline": "comment",
      "creationDate": "2022-08-06T14:20:24.975+0000",
      "lastUpdateDate": "2022-08-06T14:20:54.120+0000",
      "topicsCount": 2
    }
  ],
  "personalTopics": [
    {
      "id": "a63fdc8c-5e1e-4ced-b5c2-45862ff747d9",
      "title": "My personal topic",
      "text": "<p>Hi, this is my personal topic</p>\n<p> </p>",
      "creationDate": "2022-08-06T14:20:53.988+0000",
      "lastUpdateDate": "2022-08-06T14:20:53.988+0000"
    }
  ],
  "searches": [
    {
      "id": "290306d6-0685-4be7-a322-5b411cb1bcc8",
      "title": "Release Notes",
      "description": "",
      "colorCssClass": "color-0",
      "request": {
        "query": "release notes",
        "scope": "ALL",
        "filters": [],
        "metadataFilters": [],
        "sorts": [
          {
            "key": "ft:relevance",
            "order": "DESC",
            "type": "ALPHA"
          },
          {
            "key": "ft:isPublication",
            "order": "DESC",
            "type": "ALPHA"
          },
          {
            "key": "ft:title",
            "order": "DESC",
            "type": "NATURAL"
          }
        ],
        "contentLocale": "en-US",
        "tracked": true
      },
      "alert": false,
      "creationDate": "2022-11-09T15:10:35.458+00:00"
    }
  ],
  "collections": [
    {
      "ownerId": "93fc96ca-6e95-4e60-8c58-1f475336049b",
      "id": "77ddd519-0ba5-42e8-807f-e6f570d457fc",
      "title": "My Collection",
      "description": "A collection of my favorite documents",
      "color": "purple",
      "documentsUrl": "https://doc.antidot.net/api/users/9d05e3c3-af01-4c5a-ba97-6070e445ec83/collections/77ddd519-0ba5-42e8-807f-e6f570d457fc/documents",
      "creationDate": "2022-01-08T09:09:32.723+00:00",
      "lastUpdate": "2022-02-15T09:15:54.173+00:00"
    }
  ]
}

The previous JSON response example does not include all possible fields.

Field Type Description
user Object Information about the user.
id String The user identifier.
displayName String The user's name as it appears in the portal.
emailAddress String The user's email address.
privacyPolicyAgreementDate String String when the user accepted the portal's legal terms.
creationDate String The date and time when the user was created.
lastActivityDate String The date and time of the user's last activity.
The lastActivityDate field only appears if the user has logged in.
manualGroups Array The groups that an administrator has assigned manually to the user.
authenticationGroups Array The groups provided by a post-authentication script.
manualTags Array The tags that an administrator has assigned manually to the user.
authenticationTags Array The tags provided by a post-authentication script.
manualRoles Array The roles that an administrator has assigned manually to the user.
authenticationRoles Array The roles provided by a post-authentication script.
defaultRoles Array Default roles configured for the portal.
authenticationIdentifiers Array Information about how the user authenticates.
identifier String Can be the email address used to authenticate, or the ID of the user in the identity provider for SSO.
realm String The realm used to authenticate.
userLocale Object The languages that the user has configured.
uiLocale String The interface language that the user has configured.
searchContentLocale String The content language that the user has configured.
preferences Object Information about the user's search preferences.
prior Array A list of the user's priority search preferences by metadata.
key String The metadata key.
value String The metadata value.
origin String The origin of the preference. The value is REALM if the preference comes from the post-authentication script and MANUAL if the user set it.
date String Information about when the preference was created.
filters Array A list of the user's filter results search preferences by metadata.
key String The metadata key.
value String The metadata value.
origin String The origin of the preference. The value is REALM if the preference comes from the post-authentication script and MANUAL if the user set it.
active Boolean If the user's account is locked, the value is false.
readerPagination Object The user's Reader page's display mode.
type String Can be DEFAULT, INFINITE_READER, ONE_TOPIC_PER_PAGE, or CONTENT_DRIVEN. See Select a pagination type.
organizationState Object Information about the user's orgs.
availableOrganizations Array The orgs to which the user belongs.
key String The org's ID.
displayName String The org's display name.
groups Array The user groups assigned to the org.
roles Array The user roles assigned to the org.
tags Array The user tags assigned to the org.
currentOrganization Object The org for which the user receives roles, groups, or tags.
key String The org's ID.
displayName String The org's display name.
groups Array The user groups assigned to the org.
roles Array The user roles assigned to the org.
tags Array The user tags assigned to the org.
customProperties Object The SSO custom properties for the user, where the custom property ID is an array containing the values.
credentials Object The credentials of the user.
Only appears for internal realms.
login String The email address used to authenticate.
password String The password used to authenticate, encrypted and salted.
Fluid Topics does not store passwords in plain text.
bookmarks Array The user's bookmarks.
id String The bookmark identifier.
title String The bookmark title.
creationDate String The bookmark creation date and time.
colorCssClass String The color of the bookmark's tag.
labels Array The bookmark's labels.
origin Object Information about the topic where the bookmark was created.
mapId String The map identifier.
mapTitle String The map title.
tocId String The topic identifier based on its position in the table of contents.
breadcrumb Array The path to the topic in the document's hierarchy.
readerUrl String The pretty URL of the bookmarked topic. Selecting this URL opens the topic in the Reader page.
personalBooks Array The user's personal books.
id String The personal book identifier.
title String The personal book title.
tagline String A description of the personal book.
creationDate String The date and time when the personal book was created.
lastUpdateDate String The date and time when the personal book was last updated.
topicsCount Number The number of topics in the personal book.
labels Array The personal book's labels.
personalTopics Array The user's personal topics.
id String The personal topic identifier.
title String The personal book title.
text String The content of the personal topic.
creationDate String The date and time when the personal topic was created.
lastUpdateDate String The date and time when the personal topic was last updated.
searches Array The user's saved searches.
id String The saved search identifier.
title String The saved search title.
description String A description of the saved search.
labels Array The saved search's labels.
request Object The search criteria if the user saved the results as a search.
query String The terms of the query.
scope String The scope of the results. Possible values are ALL, TOPICS, MAPS, BOOKS, PUBLICATIONS, or ALL_TOPICS.
filters Array An array of filters applied to the query.
key String The metadata key.
values Array The metadata values.
negative Boolean When true, this parameter excludes results matching the previously defined values. By default, the negative parameter is implicit and false.
metadataFilters Array Filters the results based on selected criteria including metadata and date ranges. Defaults to an empty list.
key String An element prefixed by afs:sort that defines additional criteria used to filter the results of the query.
valueFilter Object Contains the filtering conditions based on metadata values.
values Array Defines the value for the selected key. When multiple values are defined, they are combined with an AND or an OR operator depending on the tenant's configuration.
negative Boolean When true, this parameter excludes results matching the previously defined values. By default, the negative parameter is implicit and false.
dateFilter Object Specifies the date-based filtering conditions using predefined periods.
type String Restricts results to those within a predefined period. Acceptable values are LAST_WEEK, LAST_MONTH, LAST_QUARTER, LAST_YEAR.
rangeFilter Object Specifies custom date range filtering.
from String The inclusive start date of the period. If unspecified, the default value is 1970-01-01.
to String The inclusive end date of the period. If unspecified, the default value is the current day.
sortId String The criteria with which the search results were sorted.
contentLocale String The content language of the search query and its results.
virtualField String Indicates where the terms of the query should appear. Possible values are EVERYWHERE, TITLE ONLY, or NONE.
alert Boolean If the user activated an alert for the search, the value is TRUE.
creationDate String The date when the search was saved.
collections Array The user's collections.
ownerId String The identifier of the user who owns the collection.
id String The identifier of the collection.
title String The title of the collection.
description String A description of the collection.
labels Array The collection's labels.
searchRequest Object The search criteria if the user saved the results as a collection.
query String The list of metadata values associated with the metadata key. The terms of the query.
filters Array An array of filters applied to the query.
key String The metadata key.
values Array The metadata values.
negative Boolean When true, this parameter excludes results matching the previously defined values. By default, the negative parameter is implicit and false.
metadataFilters Array Filters the results based on selected criteria including metadata and date ranges. Defaults to an empty list.
key String An element prefixed by afs:sort that defines additional criteria used to filter the results of the query.
valueFilter Object Contains the filtering conditions based on metadata values.
values Array Defines the value for the selected key. When multiple values are defined, they are combined with an AND or an OR operator depending on the tenant's configuration.
negative Boolean When true, this parameter excludes results matching the previously defined values. By default, the negative parameter is implicit and false.
dateFilter Object Specifies the date-based filtering conditions using predefined periods.
type String Restricts results to those within a predefined period. Acceptable values are LAST_WEEK, LAST_MONTH, LAST_QUARTER, LAST_YEAR.
rangeFilter Object Specifies custom date range filtering.
from String The inclusive start date of the period. If unspecified, the default value is 1970-01-01.
to String The inclusive end date of the period. If unspecified, the default value is the current day.
sortId String The criteria with which the search results were sorted.
contentLocale String The content language of the search query and its results.
documentsUrl String A URL to retrieve the list of documents in the collection.
creationDate String The date and time when the collection was originally created.
lastUpdate String The date and time when the collection was last updated.
Return code Description
200 OK The request is valid and returns data.
401 UNAUTHORIZED The authorization header was not provided or is invalid.
403 FORBIDDEN The user or API key does not have the ADMIN role.
404 NOT FOUND No user exists with this ID.

For a comprehensive list of all possible return codes, see Return codes.