Scalar · Capability

Core — pubsub

Core — pubsub. 7 operations. Lead operation: Side effect processing after SDK generation completes. Self-contained Naftiko capability covering one business surface.

Core — pubsub is a Naftiko capability published by Scalar, one of 22 capabilities the APIs.io network indexes for this provider. It bundles 7 operations across the POST method rooted at /v1/pubsub.

The capability includes 7 state-changing operations. Lead operation: Side effect processing after SDK generation completes. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Scalar and pubsub.

Run with Naftiko Scalarpubsub

What You Can Do

POST
Postpubsubsdkbuildcomplete — Side effect processing after SDK generation completes
/v1/pubsub/sdk-build-complete
POST
Postpubsubsdkbuildfailed — Side effect processing after SDK generation fails
/v1/pubsub/sdk-build-failed
POST
Postpubsubapiversioncreatedcreatesdkversion — API version created SDK processing
/v1/pubsub/api-version-created/create-sdk-version
POST
Postpubsubsdkversioncreated — PubSub SDK version created
/v1/pubsub/sdk-version-created
POST
Postpubsubsdkrepositorylinked — Handle side effects for SDK repository linking
/v1/pubsub/sdk-repository-linked
POST
Postpubsubsdkgitcomplete — Side effect processing after SDK git sync succeeds
/v1/pubsub/sdk-git-complete
POST
Postpubsubsdkgitfailed — Side effect processing after SDK git sync fails
/v1/pubsub/sdk-git-failed

MCP Tools

scalar-postpubsubsdkbuildcomplete

Side effect processing after SDK generation completes

scalar-postpubsubsdkbuildfailed

Side effect processing after SDK generation fails

scalar-postpubsubapiversioncreatedcreatesdkversion

API version created SDK processing

scalar-postpubsubsdkversioncreated

PubSub SDK version created

scalar-postpubsubsdkrepositorylinked

Handle side effects for SDK repository linking

scalar-postpubsubsdkgitcomplete

Side effect processing after SDK git sync succeeds

scalar-postpubsubsdkgitfailed

Side effect processing after SDK git sync fails

Capability Spec

core-pubsub.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Core — pubsub
  description: 'Core — pubsub. 7 operations. Lead operation: Side effect processing after SDK generation completes. Self-contained Naftiko capability covering one business surface.'
  tags:
  - Scalar
  - pubsub
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    SCALAR_API_KEY: SCALAR_API_KEY
capability:
  consumes:
  - type: http
    namespace: core-pubsub
    baseUri: https://example.com
    description: Core — pubsub business capability. Self-contained, no shared references.
    resources:
    - name: pubsub-sdk-build-complete
      path: /pubsub/sdk-build-complete
      operations:
      - name: postpubsubsdkbuildcomplete
        method: POST
        description: Side effect processing after SDK generation completes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pubsub-sdk-build-failed
      path: /pubsub/sdk-build-failed
      operations:
      - name: postpubsubsdkbuildfailed
        method: POST
        description: Side effect processing after SDK generation fails
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pubsub-api-version-created-create-sdk-version
      path: /pubsub/api-version-created/create-sdk-version
      operations:
      - name: postpubsubapiversioncreatedcreatesdkversion
        method: POST
        description: API version created SDK processing
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pubsub-sdk-version-created
      path: /pubsub/sdk-version-created
      operations:
      - name: postpubsubsdkversioncreated
        method: POST
        description: PubSub SDK version created
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pubsub-sdk-repository-linked
      path: /pubsub/sdk-repository-linked
      operations:
      - name: postpubsubsdkrepositorylinked
        method: POST
        description: Handle side effects for SDK repository linking
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pubsub-sdk-git-complete
      path: /pubsub/sdk-git-complete
      operations:
      - name: postpubsubsdkgitcomplete
        method: POST
        description: Side effect processing after SDK git sync succeeds
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pubsub-sdk-git-failed
      path: /pubsub/sdk-git-failed
      operations:
      - name: postpubsubsdkgitfailed
        method: POST
        description: Side effect processing after SDK git sync fails
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: core-pubsub-rest
    port: 8080
    description: REST adapter for Core — pubsub. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/pubsub/sdk-build-complete
      name: pubsub-sdk-build-complete
      description: REST surface for pubsub-sdk-build-complete.
      operations:
      - method: POST
        name: postpubsubsdkbuildcomplete
        description: Side effect processing after SDK generation completes
        call: core-pubsub.postpubsubsdkbuildcomplete
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pubsub/sdk-build-failed
      name: pubsub-sdk-build-failed
      description: REST surface for pubsub-sdk-build-failed.
      operations:
      - method: POST
        name: postpubsubsdkbuildfailed
        description: Side effect processing after SDK generation fails
        call: core-pubsub.postpubsubsdkbuildfailed
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pubsub/api-version-created/create-sdk-version
      name: pubsub-api-version-created-create-sdk-version
      description: REST surface for pubsub-api-version-created-create-sdk-version.
      operations:
      - method: POST
        name: postpubsubapiversioncreatedcreatesdkversion
        description: API version created SDK processing
        call: core-pubsub.postpubsubapiversioncreatedcreatesdkversion
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pubsub/sdk-version-created
      name: pubsub-sdk-version-created
      description: REST surface for pubsub-sdk-version-created.
      operations:
      - method: POST
        name: postpubsubsdkversioncreated
        description: PubSub SDK version created
        call: core-pubsub.postpubsubsdkversioncreated
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pubsub/sdk-repository-linked
      name: pubsub-sdk-repository-linked
      description: REST surface for pubsub-sdk-repository-linked.
      operations:
      - method: POST
        name: postpubsubsdkrepositorylinked
        description: Handle side effects for SDK repository linking
        call: core-pubsub.postpubsubsdkrepositorylinked
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pubsub/sdk-git-complete
      name: pubsub-sdk-git-complete
      description: REST surface for pubsub-sdk-git-complete.
      operations:
      - method: POST
        name: postpubsubsdkgitcomplete
        description: Side effect processing after SDK git sync succeeds
        call: core-pubsub.postpubsubsdkgitcomplete
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pubsub/sdk-git-failed
      name: pubsub-sdk-git-failed
      description: REST surface for pubsub-sdk-git-failed.
      operations:
      - method: POST
        name: postpubsubsdkgitfailed
        description: Side effect processing after SDK git sync fails
        call: core-pubsub.postpubsubsdkgitfailed
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: core-pubsub-mcp
    port: 9090
    transport: http
    description: MCP adapter for Core — pubsub. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: scalar-postpubsubsdkbuildcomplete
      description: Side effect processing after SDK generation completes
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-pubsub.postpubsubsdkbuildcomplete
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postpubsubsdkbuildfailed
      description: Side effect processing after SDK generation fails
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-pubsub.postpubsubsdkbuildfailed
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postpubsubapiversioncreatedcreatesdkversion
      description: API version created SDK processing
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-pubsub.postpubsubapiversioncreatedcreatesdkversion
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postpubsubsdkversioncreated
      description: PubSub SDK version created
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-pubsub.postpubsubsdkversioncreated
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postpubsubsdkrepositorylinked
      description: Handle side effects for SDK repository linking
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-pubsub.postpubsubsdkrepositorylinked
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postpubsubsdkgitcomplete
      description: Side effect processing after SDK git sync succeeds
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-pubsub.postpubsubsdkgitcomplete
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: scalar-postpubsubsdkgitfailed
      description: Side effect processing after SDK git sync fails
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: core-pubsub.postpubsubsdkgitfailed
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.