The governed content repository at the core of Gitana

A graph-based repository for structured and unstructured content, with Git-like versioning, policy-driven security and a high-performance API for search, query, traversal and GraphQL.

GET …/nodes/hamletNode
{
  "_qname": "store:hamlet",
  "_type": "store:book",
  "title": "Hamlet",
  "summary": "Hamlet is a revenge tragedy…",
  "rights": {
    "license": "noncommercial",
    "territories": ["US", "EU"]
  },
  "_features": { "store:licensed": {} },
  "_system": {
    "changeset": "44:95f85022",
    "modified_by": "joesmith"
  }
}
One node as the API returns it: its type, the rights its aspect adds, and the changeset it is on. Examples on this page use illustrative data.

Model content as a typed graph

Content lives in a graph: nodes connected by typed associations. Both are first-class, both carry your properties and behaviors, and the graph can be traversed, queried or fetched with GraphQL.

  • Nodes and associations

    Model custom properties at any depth on nodes and associations. Relator properties give editors pickers for linking content, and the engine keeps both ends of the graph in sync.

  • Types, inheritance and aspects

    Types inherit from parent types. Aspects (features, in the API) add properties and behaviors to any type at any level, such as rights metadata on every book.

  • Find across the graph

    Combine traversal with SQL-like query, full-text search and vector search, scoped to one part of the graph.

HamletGraph
store:authored-by store:suggests store:suggests a:child a:has_tag Hamlet store:book William Shakespeare store:author Macbeth store:book Romeo and Juliet store:book Books n:node play
  • store:authored-byWilliam Shakespeare store:author
  • store:suggestsMacbeth store:book
  • store:suggestsRomeo and Juliet store:book
  • a:childchild of Books n:node
  • a:has_tagplay n:tag
Example neighborhood of one node: typed, directional associations to its author, related books, parent and tag.
store:bookType
{
  "_qname": "store:book",
  "_type": "d:type",
  "_parent": "n:node",
  "properties": {
    "title": { "type": "string" },
    "summary": { "type": "string" }
  },
  "mandatoryFeatures": {
    "store:licensed": {}
  }
}

A type defines the shape of a book. It inherits from n:node, and mandatoryFeatures requires every book to carry rights.

store:licensedAspect
{
  "_qname": "store:licensed",
  "_type": "d:feature",
  "properties": {
    "rights": {
      "type": "object",
      "properties": {
        "license": { "type": "string" },
        "territories": {
          "type": "array",
          "items": { "type": "string" }
        }
      }
    }
  }
}

An aspect, called a feature in the API, adds shared fields and behavior to any type that needs them, or to a single node.

store:authored-byAssociation
{
  "_qname": "store:authored-by",
  "_type": "d:association",
  "_parent": "a:linked",
  "properties": {
    "role": {
      "type": "string",
      "enum": ["author", "editor"]
    }
  }
}

An association is a typed, directional link from a book to its author that carries its own properties. It extends a:linked, the built-in link type.

Example definitions. Types, aspects and associations are JSON Schema documents, stored and versioned like the content they describe.

Git-like versioning for every node

The repository runs on changeset versioning: every create, update and delete is a commit you can compare, restore or merge. Editors work in branches, and merges detect conflicts and resolve them field by field.

  • Changesets for every change

    Every write is stored on a transactional changeset, so you can compare any two points in time and roll back to a last known good state.

  • Branches and workspaces

    Draft, test and review in isolated branches without stepping on each other’s work. Merge directly or through pull requests, with side-by-side differencing and cherry picking.

  • Tags, snapshots and aliases

    Label branches to switch the live branch behind a site, or let deployment rules promote an approved branch to another project or data center.

HamletHistory
master spring-catalog Spring catalog

masterspring-catalogRelease: Spring catalog

  1. 44:95f85022Merge spring-catalog into master · 1 conflict resolved in rights.territories
  2. 43:7c21d0a4Edit /summary on spring-catalog · joesmith
  3. 42:e9a03f61Add EU to rights.territories on spring-catalog
  4. 41:3b5d8e17Add CA to rights.territories on master
Example history of one node. Every change is a changeset, and releases promote approved branches on a schedule. Illustrative data.

Rules and access policies the engine enforces

Logic and security bind to the model. Rules, scripts and web hooks run on lifecycle events, and access policies decide who can do what to which content.

  • Lifecycle policies

    before and after handlers fire as content, branches, merges and publications change. Bind a rule, a server-side script or a web hook to a handler and it runs as people work.

  • Access policies

    JSON documents that grant or revoke roles under conditions such as locale, assigned globally or per project to users, groups or teams.

  • Roles and teams

    Group permissions such as READ, WRITE and DELETE into roles, then assign them through teams such as editors, managers or partners.

Editor of Spanish TranslationsAccess policy
{
  "title": "Editor of Spanish Translations",
  "statements": [{
    "action": "grant",
    "roles": ["editor"],
    "conditions": [{
      "type": "locale",
      "config": { "locale": "es" }
    }]
  }]
}
Example policy that grants the editor role over Spanish content. Assign it globally or per project.

Security and operations built in

Authentication
Every API call needs an authenticated client and an authenticated user over OAuth 2.0. Single sign-on (SAML 2.0) and multifactor authentication are built in.
Distributed jobs
Long-running work such as bulk imports and publishing runs on a distributed job queue. Dedicated and priority queues keep live publishing ahead of drafts, and more queues can be added as you grow.
Transfer
Export projects, branches, content and files to archives, then restore them into any environment. The Packager library bulk-loads data from file systems, databases and CSV in one transactional import.

One API for every capability

A REST API, GraphQL and drivers for the major languages connect your applications to Gitana and its content. Every capability is in the API, and requests authenticate with OAuth 2.0 bearer tokens that work with your single sign-on.

Formats
JSON, XML, YAML, and binary formats such as Smile, CBOR, Avro and MessagePack
Drivers
JavaScript and Node.js, Java, Python, PHP, Ruby and Go
REST API
# Read one node, with its rights and changeset
# BRANCH=$API/repositories/$REPO/branches/master
curl -H "Authorization: Bearer $TOKEN" \
  "$BRANCH/nodes/hamlet"
Returns the node shown at the top of this page.

Frequently asked questions

What is Gitana?

Gitana began as a headless CMS and is now an open content platform. It stores structured and unstructured content in a versioned graph and delivers it to websites, applications and AI agents through REST and GraphQL APIs. You can use it as a managed service or run it in your own infrastructure.

Was Gitana formerly called Cloud CMS?

Yes. Gitana was formerly known as Cloud CMS and changed its name in 2023, because the product had become more than a cloud product and more than a CMS.

How does content versioning work in Gitana?

Every create, update and delete is stored as a transactional changeset, which you can compare, restore or merge. Editors work in isolated branches and merge directly or through pull requests. Conflicts are detected and resolved field by field.

Can Gitana be self-hosted?

Yes. Self-managed Gitana comes as signed container images, with Kubernetes configuration and Helm charts. It runs on Amazon EKS, Azure AKS, Google GKE or your own clusters. Gitana Cloud is the same platform, fully managed in Virginia (US) or Frankfurt (EU).

What APIs and query options does Gitana offer?

Gitana offers a REST API, GraphQL and drivers for most popular languages and frameworks. You can combine graph traversal with SQL-like queries, full-text search and vector search.

How does Gitana support AI applications?

AI agents answer questions with citations back to the source node and changeset, and they do their work in isolated branches for human review. Approved content can also be published as incremental data sets to your vector databases, RAG applications and private LLMs.

Organizations using Gitana include
AstraZeneca Under Armour MassMutual Oxford University Press Alight Cricket Wireless Hotelplan Everyday Health MBC Group European Respiratory Society

Model your own content as a graph

In a demo, a solutions engineer models content like yours as typed nodes and associations, then queries it through the API. The same call covers architecture, security, deployment and procurement questions.

Request a demo Talk to sales

A solutions engineer replies within one business day to set up a time.