naftiko: 1.0.0-alpha2 info: label: Contentstack Content Management API — Entries description: 'Contentstack Content Management API — Entries. 7 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-management-entries baseUri: https://api.contentstack.io/v3 description: Contentstack Content Management 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: $. - name: createentry method: POST description: Create an entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: content_types-content_type_uid-entries-entry_uid path: /content_types/{content_type_uid}/entries/{entry_uid} operations: - name: getentry method: GET description: Get an entry outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateentry method: PUT description: Update an entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteentry method: DELETE description: Delete an entry outputRawFormat: json outputParameters: - name: result type: object value: $. - name: content_types-content_type_uid-entries-entry_uid-publish path: /content_types/{content_type_uid}/entries/{entry_uid}/publish operations: - name: publishentry method: POST description: Publish an entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: content_types-content_type_uid-entries-entry_uid-unpublish path: /content_types/{content_type_uid}/entries/{entry_uid}/unpublish operations: - name: unpublishentry method: POST description: Unpublish an entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: authtoken value: '{{env.CONTENTSTACK_API_KEY}}' placement: header exposes: - type: rest namespace: content-management-entries-rest port: 8080 description: REST adapter for Contentstack Content Management 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-management-entries.getallentries outputParameters: - type: object mapping: $. - method: POST name: createentry description: Create an entry call: content-management-entries.createentry with: body: rest.body 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: getentry description: Get an entry call: content-management-entries.getentry outputParameters: - type: object mapping: $. - method: PUT name: updateentry description: Update an entry call: content-management-entries.updateentry with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteentry description: Delete an entry call: content-management-entries.deleteentry outputParameters: - type: object mapping: $. - path: /v1/content-types/{content-type-uid}/entries/{entry-uid}/publish name: content-types-content-type-uid-entries-entry-uid-publish description: REST surface for content_types-content_type_uid-entries-entry_uid-publish. operations: - method: POST name: publishentry description: Publish an entry call: content-management-entries.publishentry with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/content-types/{content-type-uid}/entries/{entry-uid}/unpublish name: content-types-content-type-uid-entries-entry-uid-unpublish description: REST surface for content_types-content_type_uid-entries-entry_uid-unpublish. operations: - method: POST name: unpublishentry description: Unpublish an entry call: content-management-entries.unpublishentry with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: content-management-entries-mcp port: 9090 transport: http description: MCP adapter for Contentstack Content Management 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-management-entries.getallentries outputParameters: - type: object mapping: $. - name: create-entry description: Create an entry hints: readOnly: false destructive: false idempotent: false call: content-management-entries.createentry with: body: tools.body outputParameters: - type: object mapping: $. - name: get-entry description: Get an entry hints: readOnly: true destructive: false idempotent: true call: content-management-entries.getentry outputParameters: - type: object mapping: $. - name: update-entry description: Update an entry hints: readOnly: false destructive: false idempotent: true call: content-management-entries.updateentry with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-entry description: Delete an entry hints: readOnly: false destructive: true idempotent: true call: content-management-entries.deleteentry outputParameters: - type: object mapping: $. - name: publish-entry description: Publish an entry hints: readOnly: false destructive: false idempotent: false call: content-management-entries.publishentry with: body: tools.body outputParameters: - type: object mapping: $. - name: unpublish-entry description: Unpublish an entry hints: readOnly: false destructive: false idempotent: false call: content-management-entries.unpublishentry with: body: tools.body outputParameters: - type: object mapping: $.