dotCMS Relationships API

Content relationship management

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/relationships/cardinalities List relationship cardinality options · Get cardinality #
Ask an LLM
“What cardinalities can a content relationship have, like one-to-many?”
“Which relationship types are supported between content types?”
Tell an agent
List the available relationship cardinalities.
Show the one-to-one, one-to-many and many-to-many options.
GET /api/v1/relationships List one-sided relationships for a content type · Get one sided relationships #
Ask an LLM
“Which relationships are defined on only one side of a content type?”
“How do I find relationships I can still add the other side for?”
Tell an agent
List one-sided relationships for content type {contentTypeId}.
Show page {page} of one-sided relationships.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dotcms:dotcms-relationships-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dotcms-relationships-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: dotCMS REST Relationships API
  version: '3'
  description: Content relationship management
servers:
- url: /
  description: dotCMS Server
tags:
- name: Relationships
  description: Content relationship management
paths:
  /api/v1/relationships/cardinalities:
    get:
      tags:
      - Relationships
      operationId: getCardinality
      responses:
        default:
          description: default response
          content:
            application/json: {}
            application/javascript: {}
      summary: Get cardinality
      x-summary-source: derived
  /api/v1/relationships:
    get:
      tags:
      - Relationships
      operationId: getOneSidedRelationships
      parameters:
      - name: contentTypeId
        in: query
        schema:
          type: string
      - name: page
        in: query
        schema:
          type: integer
          format: int32
      - name: per_page
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      responses:
        default:
          description: default response
          content:
            application/json: {}
            application/javascript: {}
      summary: Get one sided relationships
      x-summary-source: derived