Templafy DataSourceItemFields API

The DataSourceItemFields API from Templafy — 1 operation(s) for datasourceitemfields.

Operations 2

PUT /data-sources/{dataSourceId}/items/{itemId}/fields/{fieldId} Updates a single field on a data source item.
DELETE /data-sources/{dataSourceId}/items/{itemId}/fields/{fieldId} Deletes an existing field from a data source item.

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/templafy-datasourceitemfields-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

templafy-datasourceitemfields-api-openapi.yml Raw ↑
openapi: 3.2.0
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 Data Source Item Fields 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: DataSourceItemFields
paths:
  /data-sources/{dataSourceId}/items/{itemId}/fields/{fieldId}:
    put:
      tags:
      - DataSourceItemFields
      summary: Updates a single field on a data source item.
      parameters:
      - name: dataSourceId
        in: path
        description: The identifier of the data source
        required: true
        schema:
          type: integer
          format: int64
      - name: itemId
        in: path
        description: The identifier of the data source item
        required: true
        schema:
          type: integer
          format: int64
      - name: fieldId
        in: path
        description: The identifier of the data source item field
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json-patch+json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/UpdateTextDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateNumberDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateColorThemeDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateReferenceDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateImageDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateFontDataSourceItemFieldRequest'
              example:
                type: text
                value: An updated value
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/UpdateTextDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateNumberDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateColorThemeDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateReferenceDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateImageDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateFontDataSourceItemFieldRequest'
              example:
                type: text
                value: An updated value
          text/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/UpdateTextDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateNumberDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateColorThemeDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateReferenceDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateImageDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateFontDataSourceItemFieldRequest'
              example:
                type: text
                value: An updated value
          application/*+json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/UpdateTextDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateNumberDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateColorThemeDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateReferenceDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateImageDataSourceItemFieldRequest'
              - $ref: '#/components/schemas/UpdateFontDataSourceItemFieldRequest'
              example:
                type: text
                value: An updated value
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundProblemDetails'
      security:
      - bearerAuth:
        - datasources.readwrite
    delete:
      tags:
      - DataSourceItemFields
      summary: Deletes an existing field from a data source item.
      description: Deletes an existing field from the specified data source item contained in the specified data source.
      parameters:
      - name: dataSourceId
        in: path
        description: The identifier of the data source
        required: true
        schema:
          type: integer
          format: int64
      - name: itemId
        in: path
        description: The identifier of the data source item
        required: true
        schema:
          type: integer
          format: int64
      - name: fieldId
        in: path
        description: The identifier of the data source item field
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundProblemDetails'
      security:
      - bearerAuth:
        - datasources.readwrite
components:
  schemas:
    UpdateDataSourceItemFieldRequest:
      required:
      - type
      type: object
      properties:
        type:
          minLength: 1
          type: string
          description: Data source item field type.
          readOnly: true
      additionalProperties: false
      discriminator:
        propertyName: type
        mapping:
          Text: '#/components/schemas/UpdateTextDataSourceItemFieldRequest'
          Number: '#/components/schemas/UpdateNumberDataSourceItemFieldRequest'
          ColorTheme: '#/components/schemas/UpdateColorThemeDataSourceItemFieldRequest'
          Reference: '#/components/schemas/UpdateReferenceDataSourceItemFieldRequest'
          Image: '#/components/schemas/UpdateImageDataSourceItemFieldRequest'
          Font: '#/components/schemas/UpdateFontDataSourceItemFieldRequest'
      example:
        type: text
        value: An updated value
    UpdateReferenceDataSourceItemFieldRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDataSourceItemFieldRequest'
      - required:
        - dataSourceItemId
        type: object
        properties:
          dataSourceItemId:
            type: integer
            description: The identifier of the data source item to be referenced.
            format: int64
        additionalProperties: false
      example:
        type: reference
        dataSourceItemId: '638247997437572264'
    NotFoundProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
        traceId:
          type:
          - string
          - 'null'
      additionalProperties: false
      example:
        title: NotFound
        detail: The server can not find the requested resource.
        status: 404
        traceId: d61f7ce-cccb-4e5b-8727-3b68a61a0559
    UpdateNumberDataSourceItemFieldRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDataSourceItemFieldRequest'
      - required:
        - value
        type: object
        properties:
          value:
            type: number
            description: The value of the field with the precision of 2 decimal places.
            format: double
        additionalProperties: false
      example:
        type: number
        value: 123.45
    UpdateTextDataSourceItemFieldRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDataSourceItemFieldRequest'
      - required:
        - value
        type: object
        properties:
          value:
            maxLength: 8000
            minLength: 1
            type: string
            description: Text data source item field value. Max length is 8000 characters.
        additionalProperties: false
      example:
        type: text
        value: An updated value
    UpdateColorThemeDataSourceItemFieldRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDataSourceItemFieldRequest'
      - required:
        - xmlValue
        type: object
        properties:
          xmlValue:
            maxLength: 3500
            minLength: 1
            type: string
            description: The value of the field based on the schema http://schemas.openxmlformats.org/drawingml/2006/main. Max length is 3500 characters.
        additionalProperties: false
      example:
        type: colorTheme
        xmlValue: <a:clrScheme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Templafy_New"><a:dk1><a:srgbClr val="0078FF"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="000000"/></a:dk2><a:lt2><a:srgbClr val="E5E5E5"/></a:lt2><a:accent1><a:srgbClr val="0078FF"/></a:accent1><a:accent2><a:srgbClr val="575757"/></a:accent2><a:accent3><a:srgbClr val="12AA96"/></a:accent3><a:accent4><a:srgbClr val="15436B"/></a:accent4><a:accent5><a:srgbClr val="D44849"/></a:accent5><a:accent6><a:srgbClr val="7F7F7F"/></a:accent6><a:hlink><a:srgbClr val="0078FF"/></a:hlink><a:folHlink><a:srgbClr val="55CBFF"/></a:folHlink></a:clrScheme>
    UpdateImageDataSourceItemFieldRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDataSourceItemFieldRequest'
      - required:
        - fileName
        type: object
        properties:
          fileName:
            minLength: 1
            type: string
            description: The name of the file.
          fileUrl:
            type:
            - string
            - 'null'
            description: 'The file size must be under 2MB, and it should be in one of these formats: .png, .jpg, .jpeg, .gif, .bmp, .emf, .wmf, .svg.'
            format: uri
          content:
            type:
            - string
            - 'null'
            description: 'The base64 content size must be under 2MB, and it should be in one of these formats: .png, .jpg, .jpeg, .gif, .bmp, .emf, .wmf, .svg.'
        additionalProperties: false
      example:
        type: image
        fileName: Cat
        fileUrl: https://en.wikipedia.org/wiki/Cat#/media/File:Cat_August_2010-4.jpg
    UpdateFontDataSourceItemFieldRequest:
      allOf:
      - $ref: '#/components/schemas/UpdateDataSourceItemFieldRequest'
      - required:
        - fileName
        type: object
        properties:
          fileName:
            minLength: 1
            type: string
            description: The name of the file.
          fileUrl:
            type:
            - string
            - 'null'
            description: 'The file size must be under 2MB, and it should be in one of these formats: .ttf, .otf.'
            format: uri
          content:
            type:
            - string
            - 'null'
            description: 'The base64 content size must be under 2MB, and it should be in one of these formats: .ttf, .otf.'
        additionalProperties: false
      example:
        type: font
        fileName: best-font
        fileUrl: https://allfonts.com/best-font
    ValidationProblemDetails:
      type: object
      properties:
        errors:
          type:
          - object
          - 'null'
          additionalProperties:
            type: array
            items:
              type: string
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
        traceId:
          type:
          - string
          - 'null'
      additionalProperties: false
      example:
        errors:
        - name: The name field is required
        - data: The input was invalid
        title: One or more validation errors occurred.
        status: 400
        traceId: d61f7ce-cccb-4e5b-8727-3b68a61a0559
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key