EpicDirectories Attribute Templates API

The attribute-templates API from EpicDirectories — 2 operation(s) for attribute-templates.

Operations 5

POST /v1/directories/{directoryId}/attribute-templates Create a new attribute template #
GET /v1/directories/{directoryId}/attribute-templates List attribute templates #
GET /v1/directories/{directoryId}/attribute-templates/{templateId} Get attribute template details #
PATCH /v1/directories/{directoryId}/attribute-templates/{templateId} Update an attribute template #
DELETE /v1/directories/{directoryId}/attribute-templates/{templateId} Delete an attribute template #

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/epicdirectories:epicdirectories-attribute-templates-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

epicdirectories-attribute-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EpicDirectories Attribute Templates API
  description: API-first directory data platform.
  version: '1.0'
  contact: {}
servers:
- url: https://api.epicdirectories.com
  description: Production
- url: http://localhost:3333
  description: Local development
tags:
- name: attribute-templates
paths:
  /v1/directories/{directoryId}/attribute-templates:
    post:
      operationId: AttributeTemplatesController_create
      summary: Create a new attribute template
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAttributeTemplateDto'
      responses:
        '201':
          description: Attribute template created successfully
        '404':
          description: Directory not found
        '409':
          description: Attribute key already exists
      tags:
      - attribute-templates
      security:
      - bearer: []
    get:
      operationId: AttributeTemplatesController_findAll
      summary: List attribute templates
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: listingType
        required: false
        in: query
        description: Filter by listing type
        schema:
          type: string
      responses:
        '200':
          description: List of attribute templates
      tags:
      - attribute-templates
      security:
      - bearer: []
  /v1/directories/{directoryId}/attribute-templates/{templateId}:
    get:
      operationId: AttributeTemplatesController_findOne
      summary: Get attribute template details
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Attribute template details
        '404':
          description: Attribute template not found
      tags:
      - attribute-templates
      security:
      - bearer: []
    patch:
      operationId: AttributeTemplatesController_update
      summary: Update an attribute template
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAttributeTemplateDto'
      responses:
        '200':
          description: Attribute template updated successfully
        '404':
          description: Attribute template not found
      tags:
      - attribute-templates
      security:
      - bearer: []
    delete:
      operationId: AttributeTemplatesController_remove
      summary: Delete an attribute template
      parameters:
      - name: directoryId
        required: true
        in: path
        schema:
          type: string
      - name: templateId
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: Attribute template deleted successfully
        '404':
          description: Attribute template not found
      tags:
      - attribute-templates
      security:
      - bearer: []
components:
  schemas:
    CreateAttributeTemplateDto:
      type: object
      properties:
        listingType:
          type: string
          description: Listing type this template applies to (null = all types)
        key:
          type: string
          description: Unique key for the attribute
        label:
          type: string
          description: Human-readable label
        type:
          type: string
          description: Attribute data type
          enum:
          - string
          - text
          - number
          - boolean
          - enum
          - multi
          - multi_enum
          - date
          - datetime
          - range
          - url
          - email
          - phone
          - richtext
          - json
        isFilterable:
          type: boolean
          description: Whether this attribute can be used in filters
          default: false
        isSortable:
          type: boolean
          description: Whether this attribute can be used for sorting
          default: false
        isSeoRelevant:
          type: boolean
          description: Whether this attribute is relevant for SEO
          default: false
        enumValues:
          description: Allowed values for enum/multi_enum types
          example:
          - option1
          - option2
          type: array
          items:
            type: string
        settings:
          type: object
          description: Additional settings (validation rules, display hints, etc.)
          example:
            min: 0
            max: 100
            unit: USD
      required:
      - key
      - label
      - type
    UpdateAttributeTemplateDto:
      type: object
      properties:
        label:
          type: string
          description: Human-readable label
        type:
          type: string
          description: Attribute data type
          enum:
          - string
          - text
          - number
          - boolean
          - enum
          - multi
          - multi_enum
          - date
          - datetime
          - range
          - url
          - email
          - phone
          - richtext
          - json
        isFilterable:
          type: boolean
          description: Whether this attribute can be used in filters
          default: false
        isSortable:
          type: boolean
          description: Whether this attribute can be used for sorting
          default: false
        isSeoRelevant:
          type: boolean
          description: Whether this attribute is relevant for SEO
          default: false
        enumValues:
          description: Allowed values for enum/multi_enum types
          example:
          - option1
          - option2
          type: array
          items:
            type: string
        settings:
          type: object
          description: Additional settings (validation rules, display hints, etc.)
          example:
            min: 0
            max: 100
            unit: USD
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    apiKey:
      type: apiKey
      in: header
      name: x-api-key