Memesio · Capability

Memesio API Contracts — marketing-ops

Memesio API Contracts — marketing-ops. 2 operations. Lead operation: Generate or Retrieve Weekly Trend-Driven Template Campaigns. Self-contained Naftiko capability covering one Memesio business surface.

Run with Naftiko Memesiomarketing-ops

What You Can Do

GET
Get — Generate or Retrieve Weekly Trend-Driven Template Campaigns
/v1/api/growth/trend-campaigns
POST
Post — Publish Weekly Trend-Driven Template Campaigns for Marketing Ops
/v1/api/growth/trend-campaigns

MCP Tools

generate-retrieve-weekly-trend-driven

Generate or Retrieve Weekly Trend-Driven Template Campaigns

read-only idempotent
publish-weekly-trend-driven-template

Publish Weekly Trend-Driven Template Campaigns for Marketing Ops

Capability Spec

memesio-marketing-ops.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Memesio API Contracts — marketing-ops
  description: 'Memesio API Contracts — marketing-ops. 2 operations. Lead operation: Generate or Retrieve Weekly Trend-Driven
    Template Campaigns. Self-contained Naftiko capability covering one Memesio business surface.'
  tags:
  - Memesio
  - marketing-ops
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEMESIO_API_KEY: MEMESIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: memesio-marketing-ops
    baseUri: ''
    description: Memesio API Contracts — marketing-ops business capability. Self-contained, no shared references.
    resources:
    - name: api-growth-trend-campaigns
      path: /api/growth/trend-campaigns
      operations:
      - name: get
        method: GET
        description: Generate or Retrieve Weekly Trend-Driven Template Campaigns
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: weekStart
          in: query
          type: string
        - name: limit
          in: query
          type: integer
        - name: publishedOnly
          in: query
          type: boolean
      - name: post
        method: POST
        description: Publish Weekly Trend-Driven Template Campaigns for Marketing Ops
        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: x-developer-api-key
      value: '{{env.MEMESIO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: memesio-marketing-ops-rest
    port: 8080
    description: REST adapter for Memesio API Contracts — marketing-ops. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/growth/trend-campaigns
      name: api-growth-trend-campaigns
      description: REST surface for api-growth-trend-campaigns.
      operations:
      - method: GET
        name: get
        description: Generate or Retrieve Weekly Trend-Driven Template Campaigns
        call: memesio-marketing-ops.get
        with:
          weekStart: rest.weekStart
          limit: rest.limit
          publishedOnly: rest.publishedOnly
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Publish Weekly Trend-Driven Template Campaigns for Marketing Ops
        call: memesio-marketing-ops.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: memesio-marketing-ops-mcp
    port: 9090
    transport: http
    description: MCP adapter for Memesio API Contracts — marketing-ops. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: generate-retrieve-weekly-trend-driven
      description: Generate or Retrieve Weekly Trend-Driven Template Campaigns
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: memesio-marketing-ops.get
      with:
        weekStart: tools.weekStart
        limit: tools.limit
        publishedOnly: tools.publishedOnly
      outputParameters:
      - type: object
        mapping: $.
    - name: publish-weekly-trend-driven-template
      description: Publish Weekly Trend-Driven Template Campaigns for Marketing Ops
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: memesio-marketing-ops.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.