Contensis Projects API

The Projects API from Contensis — 1 operation(s) for projects.

OpenAPI Specification

contensis-projects-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Contensis Delivery API (HTTP) Content Types Projects API
  description: 'The Contensis Delivery API is a read-only RESTful HTTP API that returns

    content as JSON (or as resource files for assets) from a Contensis CMS

    project. The base URL is the host name of the Contensis instance the

    project lives on (for example `https://cms.example.contensis.com`). All

    requests target the `/api/delivery` namespace.

    '
  version: 1.0.0
  contact:
    name: Contensis Help and Docs
    url: https://www.contensis.com/help-and-docs/apis/delivery-http
servers:
- url: https://{instance}.contensis.com
  description: Contensis CMS instance
  variables:
    instance:
      default: cms
      description: The Contensis instance hostname prefix
tags:
- name: Projects
paths:
  /api/delivery/projects/{projectId}:
    get:
      tags:
      - Projects
      summary: Get a project
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      - in: query
        name: language
        schema:
          type: string
      responses:
        '200':
          description: The project model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '404':
          description: Project not found
components:
  schemas:
    Project:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        primaryLanguage:
          type: string
        supportedLanguages:
          type: array
          items:
            type: string