OpenProject · Capability

OpenProject API V3 (Stable) — Activities

OpenProject API V3 (Stable) — Activities. 7 operations. Lead operation: Get an activity. Self-contained Naftiko capability covering one Openproject business surface.

Run with Naftiko OpenprojectActivities

What You Can Do

GET
Getactivity — Get an activity
/v1/api/v3/activities/{id}
PATCH
Updateactivity — Update activity
/v1/api/v3/activities/{id}
GET
Listactivityattachments — List attachments by activity
/v1/api/v3/activities/{id}/attachments
POST
Createactivityattachment — Add attachment to activity
/v1/api/v3/activities/{id}/attachments
GET
Listactivityemojireactions — List emoji reactions by activity
/v1/api/v3/activities/{id}/emoji-reactions
PATCH
Toggleactivityemojireaction — Toggle emoji reaction for an activity
/v1/api/v3/activities/{id}/emoji-reactions
GET
Listworkpackageactivitiesemojireactions — List emoji reactions by work package activities
/v1/api/v3/work-packages/{id}/activities-emoji-reactions

MCP Tools

get-activity

Get an activity

read-only idempotent
update-activity

Update activity

idempotent
list-attachments-activity

List attachments by activity

read-only idempotent
add-attachment-activity

Add attachment to activity

list-emoji-reactions-activity

List emoji reactions by activity

read-only idempotent
toggle-emoji-reaction-activity

Toggle emoji reaction for an activity

idempotent
list-emoji-reactions-work-package

List emoji reactions by work package activities

read-only idempotent

Capability Spec

openproject-activities.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: OpenProject API V3 (Stable) — Activities
  description: 'OpenProject API V3 (Stable) — Activities. 7 operations. Lead operation: Get an activity. Self-contained Naftiko
    capability covering one Openproject business surface.'
  tags:
  - Openproject
  - Activities
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OPENPROJECT_API_KEY: OPENPROJECT_API_KEY
capability:
  consumes:
  - type: http
    namespace: openproject-activities
    baseUri: https://qa.openproject-edge.com
    description: OpenProject API V3 (Stable) — Activities business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-activities-id
      path: /api/v3/activities/{id}
      operations:
      - name: getactivity
        method: GET
        description: Get an activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Activity id
          required: true
      - name: updateactivity
        method: PATCH
        description: Update activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Activity id
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v3-activities-id-attachments
      path: /api/v3/activities/{id}/attachments
      operations:
      - name: listactivityattachments
        method: GET
        description: List attachments by activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the activity whose attachments will be listed
          required: true
      - name: createactivityattachment
        method: POST
        description: Add attachment to activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the activity to receive the attachment
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v3-activities-id-emoji_reactions
      path: /api/v3/activities/{id}/emoji_reactions
      operations:
      - name: listactivityemojireactions
        method: GET
        description: List emoji reactions by activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the activity whose emoji reactions will be listed
          required: true
      - name: toggleactivityemojireaction
        method: PATCH
        description: Toggle emoji reaction for an activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the activity to toggle emoji reaction for
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v3-work_packages-id-activities_emoji_reactions
      path: /api/v3/work_packages/{id}/activities_emoji_reactions
      operations:
      - name: listworkpackageactivitiesemojireactions
        method: GET
        description: List emoji reactions by work package activities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: ID of the work package whose activities' emoji reactions will be listed
          required: true
    authentication:
      type: basic
      username: '{{env.OPENPROJECT_USER}}'
      password: '{{env.OPENPROJECT_PASS}}'
  exposes:
  - type: rest
    namespace: openproject-activities-rest
    port: 8080
    description: REST adapter for OpenProject API V3 (Stable) — Activities. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v3/activities/{id}
      name: api-v3-activities-id
      description: REST surface for api-v3-activities-id.
      operations:
      - method: GET
        name: getactivity
        description: Get an activity
        call: openproject-activities.getactivity
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateactivity
        description: Update activity
        call: openproject-activities.updateactivity
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/activities/{id}/attachments
      name: api-v3-activities-id-attachments
      description: REST surface for api-v3-activities-id-attachments.
      operations:
      - method: GET
        name: listactivityattachments
        description: List attachments by activity
        call: openproject-activities.listactivityattachments
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createactivityattachment
        description: Add attachment to activity
        call: openproject-activities.createactivityattachment
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/activities/{id}/emoji-reactions
      name: api-v3-activities-id-emoji-reactions
      description: REST surface for api-v3-activities-id-emoji_reactions.
      operations:
      - method: GET
        name: listactivityemojireactions
        description: List emoji reactions by activity
        call: openproject-activities.listactivityemojireactions
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: toggleactivityemojireaction
        description: Toggle emoji reaction for an activity
        call: openproject-activities.toggleactivityemojireaction
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/work-packages/{id}/activities-emoji-reactions
      name: api-v3-work-packages-id-activities-emoji-reactions
      description: REST surface for api-v3-work_packages-id-activities_emoji_reactions.
      operations:
      - method: GET
        name: listworkpackageactivitiesemojireactions
        description: List emoji reactions by work package activities
        call: openproject-activities.listworkpackageactivitiesemojireactions
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openproject-activities-mcp
    port: 9090
    transport: http
    description: MCP adapter for OpenProject API V3 (Stable) — Activities. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-activity
      description: Get an activity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openproject-activities.getactivity
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-activity
      description: Update activity
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: openproject-activities.updateactivity
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-attachments-activity
      description: List attachments by activity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openproject-activities.listactivityattachments
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: add-attachment-activity
      description: Add attachment to activity
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openproject-activities.createactivityattachment
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-emoji-reactions-activity
      description: List emoji reactions by activity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openproject-activities.listactivityemojireactions
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: toggle-emoji-reaction-activity
      description: Toggle emoji reaction for an activity
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: openproject-activities.toggleactivityemojireaction
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-emoji-reactions-work-package
      description: List emoji reactions by work package activities
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openproject-activities.listworkpackageactivitiesemojireactions
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.