Skip to content
English
  • There are no suggestions because the search field is empty.

Legacy ITONICS Cloud API

Reference for version 1 of the ITONICS Cloud API, still supported for existing integrations.

The legacy ITONICS Cloud API is version 1 (V1) of the ITONICS Cloud API. It retrieves elements, element types, and files from a workspace, for example to analyze them in a business intelligence tool, but it can't create or change anything.

Status of V1

Note: V1 remains available and is currently supported, but ITONICS will deprecate it in the future. Use V2 for all new integrations, and review existing V1 integrations and move them to V2.

Version 2 (V2) is the latest version: it also creates, updates, and deletes elements and works with comments, ratings, files, pages, and users. See Overview of the ITONICS Cloud API. This article describes V1 for existing integrations.

Authentication

Every V1 request is authenticated with an API key of the type External Integration, sent in the Authorization header. V1 and V2 use the same keys. See Create an integration API key.

Anyone who has the key can read all information in its workspaces, also the content of properties that are hidden in the element configuration. The key is valid as soon as it's created, until it's deactivated, deleted, or rotated.

Request URL

A V1 request names your ITONICS domain, the SpaceURI of one workspace, an endpoint, and an optional filter:

https://{your-domain}/rest/external/odata/v1/{spaceUri}/{endpoint}?$filter={query}

Your domain is the address you open ITONICS at, for example your-tenant.itonics.io. A request reaches one workspace, so a key for several workspaces needs one request per workspace. How to find the SpaceURI is explained in Work with SpaceURI and ElementURI.

Endpoints

V1 endpoints
EndpointWhat it returns
/ElementsThe elements of the workspace. Supports filters, sorting, and pagination.
/ElementTypesEvery element type of the workspace with its properties. Takes no query parameters.
/File/{fileUri}Downloads a file. In an element from /Elements, an attachment property's value holds the file's full URL.

/ElementTypes returns the element types in this format:

TypeScript

export interface ODataElementTypesResponse {
  context: string;
  elementTypes: Array<ODataElementTypes>;
  count: number;
}
export interface ODataElementTypes {
  uri: string;
  version: number;
  name: string;
  description: string;
  fields: Array<ODataField>;
}
export interface ODataField {
  uri: string;
  version: number;
  name: string;
  type: string;
  properties: Array<ODataFieldProperty>;
}
export interface ODataFieldProperty {
  uri: string;
  value: string;
}

Filter elements

A filter on /Elements names a property, an operator, and a value. For example, this request returns all elements of the element type Idea:

https://{your-domain}/rest/external/odata/v1/{spaceUri}/Elements?$filter=elementType eq 'Idea'
V1 filter operators
OperatorMeaningExample
eqEqualselementType eq 'Idea'
neDoesn't equalelementType ne 'Risk'
containsContains the textcontains(elementType,'tech'): element types whose name contains "tech"
gtGreater than, or after a datecreatedOn gt '2023-06-25 16:00'
geGreater than or equal, or at or after a datecreatedOn ge '2023-06-03 12:00'
ltLess than, or before a datecreatedOn lt '2023-06-25 16:00'
leLess than or equal, or at or before a datecreatedOn le '2023-06-25 16:00'
V1 element properties you can filter by
PropertyMeaningExample
elementTypeElement typeelementType eq 'Idea'
createdByCreator, by email addresscreatedBy eq 'jane.doe@example.com'
updatedByLast editor, by email addressupdatedBy ne 'jane.doe@example.com'
createdOnCreation date and timecreatedOn gt '2023-06-25 16:00'
updatedOnDate and time of the last updateupdatedOn gt '2023-04-05 16:12'
statusPublication status: published, draft, or archivedstatus eq 'draft'
labelTitlecontains(label,'Technology')

For other properties, use the property names and values from your workspace's element configuration. Combine filters with and, or, and not, for example createdOn gt '2024-06-01 00:00' and elementType eq 'Idea' for all ideas created after June 1, 2024. V1 follows the OData URI conventions, which list more operators. Add &rawFieldValues=1 to get the stored values, which matters for rich text properties.

Sort and page results

  • $orderby sorts the results, ascending by default, for example $filter=elementType eq 'Technology'&$orderby=label asc.
  • Results come in batches of 100 by default. When there are more, the response has a nextLink with a $skiptoken. Request that link to get the next batch.
  • $top sets how many results to retrieve, for example $filter=status eq 'archived'&$top=100.

Use V1 data in BI tools

The setups for Power BI and Looker Studio work with V2. To move a V1 report, follow Connect Power BI or Sync data and embed custom reports from BI tools.