naftiko: 1.0.0-alpha2 info: label: Contentstack Personalize Management API — Experiences description: 'Contentstack Personalize Management API — Experiences. 7 operations. Lead operation: Get all experiences. Self-contained Naftiko capability covering one Contentstack business surface.' tags: - Contentstack - Experiences created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY capability: consumes: - type: http namespace: personalize-management-experiences baseUri: https://personalize-api.contentstack.com description: Contentstack Personalize Management API — Experiences business capability. Self-contained, no shared references. resources: - name: experiences path: /experiences operations: - name: getallexperiences method: GET description: Get all experiences outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createexperience method: POST description: Create an experience outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: experiences-priority path: /experiences/priority operations: - name: getexperiencepriority method: GET description: Get experience priority order outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateexperiencepriority method: PUT description: Update experience priority order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: experiences-id path: /experiences/{id} operations: - name: getexperience method: GET description: Get an experience outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateexperience method: PUT description: Update an experience outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteexperience method: DELETE description: Delete an experience outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CONTENTSTACK_API_KEY}}' exposes: - type: rest namespace: personalize-management-experiences-rest port: 8080 description: REST adapter for Contentstack Personalize Management API — Experiences. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/experiences name: experiences description: REST surface for experiences. operations: - method: GET name: getallexperiences description: Get all experiences call: personalize-management-experiences.getallexperiences outputParameters: - type: object mapping: $. - method: POST name: createexperience description: Create an experience call: personalize-management-experiences.createexperience with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/experiences/priority name: experiences-priority description: REST surface for experiences-priority. operations: - method: GET name: getexperiencepriority description: Get experience priority order call: personalize-management-experiences.getexperiencepriority outputParameters: - type: object mapping: $. - method: PUT name: updateexperiencepriority description: Update experience priority order call: personalize-management-experiences.updateexperiencepriority with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/experiences/{id} name: experiences-id description: REST surface for experiences-id. operations: - method: GET name: getexperience description: Get an experience call: personalize-management-experiences.getexperience outputParameters: - type: object mapping: $. - method: PUT name: updateexperience description: Update an experience call: personalize-management-experiences.updateexperience with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteexperience description: Delete an experience call: personalize-management-experiences.deleteexperience outputParameters: - type: object mapping: $. - type: mcp namespace: personalize-management-experiences-mcp port: 9090 transport: http description: MCP adapter for Contentstack Personalize Management API — Experiences. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-experiences description: Get all experiences hints: readOnly: true destructive: false idempotent: true call: personalize-management-experiences.getallexperiences outputParameters: - type: object mapping: $. - name: create-experience description: Create an experience hints: readOnly: false destructive: false idempotent: false call: personalize-management-experiences.createexperience with: body: tools.body outputParameters: - type: object mapping: $. - name: get-experience-priority-order description: Get experience priority order hints: readOnly: true destructive: false idempotent: true call: personalize-management-experiences.getexperiencepriority outputParameters: - type: object mapping: $. - name: update-experience-priority-order description: Update experience priority order hints: readOnly: false destructive: false idempotent: true call: personalize-management-experiences.updateexperiencepriority with: body: tools.body outputParameters: - type: object mapping: $. - name: get-experience description: Get an experience hints: readOnly: true destructive: false idempotent: true call: personalize-management-experiences.getexperience outputParameters: - type: object mapping: $. - name: update-experience description: Update an experience hints: readOnly: false destructive: false idempotent: true call: personalize-management-experiences.updateexperience with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-experience description: Delete an experience hints: readOnly: false destructive: true idempotent: true call: personalize-management-experiences.deleteexperience outputParameters: - type: object mapping: $.