Templafy Spaces API

The Spaces API from Templafy — 1 operation(s) for spaces.

OpenAPI Specification

templafy-spaces-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  contact:
    url: https://support.templafy.com/hc/en-us/requests/new
    name: Submit support ticket
  description: Please refer to our [documentation](https://support.templafy.com/hc/en-us/articles/4411351240081-Public-API-Hive-) for guidelines and examples.
  title: Templafy Public DataSourceFields Spaces API
  version: v3
  termsOfService: https://www.templafy.com/templafy-saas-agreement/
servers:
- variables:
    tenantId:
      default: ''
      description: Your Templafy subdomain, i.e., https://{TenantId}.api.templafy.com
  url: https://{tenantId}.api.templafy.com/v3
tags:
- name: Spaces
paths:
  /spaces:
    get:
      tags:
      - Spaces
      summary: Lists all existing active spaces.
      description: Returns a list of all active spaces.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Space'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - bearerAuth:
        - spaces.read
components:
  schemas:
    Space:
      required:
      - id
      - name
      type: object
      properties:
        id:
          type: integer
          description: Unique Space identifier
          format: int64
        name:
          maxLength: 50
          minLength: 1
          type: string
          description: Space name
      additionalProperties: false
      example:
        id: 541244332157142140
        name: Global Brand
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key