naftiko: 1.0.0-alpha2 info: label: Contentstack Content Delivery API — Entries description: 'Contentstack Content Delivery API — Entries. 2 operations. Lead operation: Get all entries. Self-contained Naftiko capability covering one Contentstack business surface.' tags: - Contentstack - Entries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY capability: consumes: - type: http namespace: content-delivery-entries baseUri: https://cdn.contentstack.io/v3 description: Contentstack Content Delivery API — Entries business capability. Self-contained, no shared references. resources: - name: content_types-content_type_uid-entries path: /content_types/{content_type_uid}/entries operations: - name: getallentries method: GET description: Get all entries outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query in: query type: string description: A JSON-encoded query object to filter entries. Supports MongoDB-style query operators for field matching and comparison. - name: include_count in: query type: boolean description: Set to true to include the total count of matching entries. - name: include_content_type in: query type: boolean description: Set to true to include the content type schema in the response. - name: include_reference in: query type: boolean description: Set to true to include referenced entries inline in the response. - name: only in: query type: string description: Comma-separated list of fields to include in the response. - name: except in: query type: string description: Comma-separated list of fields to exclude from the response. - name: asc in: query type: string description: Field name to sort results in ascending order. - name: desc in: query type: string description: Field name to sort results in descending order. - name: content_types-content_type_uid-entries-entry_uid path: /content_types/{content_type_uid}/entries/{entry_uid} operations: - name: getsingleentry method: GET description: Get a single entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: include_reference in: query type: boolean description: Set to true to include referenced entries inline in the response. - name: version in: query type: integer description: Retrieve a specific published version of the entry. authentication: type: apikey key: api_key value: '{{env.CONTENTSTACK_API_KEY}}' placement: header exposes: - type: rest namespace: content-delivery-entries-rest port: 8080 description: REST adapter for Contentstack Content Delivery API — Entries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/content-types/{content-type-uid}/entries name: content-types-content-type-uid-entries description: REST surface for content_types-content_type_uid-entries. operations: - method: GET name: getallentries description: Get all entries call: content-delivery-entries.getallentries with: query: rest.query include_count: rest.include_count include_content_type: rest.include_content_type include_reference: rest.include_reference only: rest.only except: rest.except asc: rest.asc desc: rest.desc outputParameters: - type: object mapping: $. - path: /v1/content-types/{content-type-uid}/entries/{entry-uid} name: content-types-content-type-uid-entries-entry-uid description: REST surface for content_types-content_type_uid-entries-entry_uid. operations: - method: GET name: getsingleentry description: Get a single entry call: content-delivery-entries.getsingleentry with: include_reference: rest.include_reference version: rest.version outputParameters: - type: object mapping: $. - type: mcp namespace: content-delivery-entries-mcp port: 9090 transport: http description: MCP adapter for Contentstack Content Delivery API — Entries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-entries description: Get all entries hints: readOnly: true destructive: false idempotent: true call: content-delivery-entries.getallentries with: query: tools.query include_count: tools.include_count include_content_type: tools.include_content_type include_reference: tools.include_reference only: tools.only except: tools.except asc: tools.asc desc: tools.desc outputParameters: - type: object mapping: $. - name: get-single-entry description: Get a single entry hints: readOnly: true destructive: false idempotent: true call: content-delivery-entries.getsingleentry with: include_reference: tools.include_reference version: tools.version outputParameters: - type: object mapping: $.