Stream · Capability

Stream API — product:feeds

Stream API — product:feeds. 98 operations. Lead operation: Add a single activity. Self-contained Naftiko capability covering one Stream Io business surface.

Run with Naftiko Stream Ioproduct:feeds

What You Can Do

POST
Addactivity — Add a single activity
/v1/api/v2/feeds/activities
POST
Upsertactivities — Upsert multiple activities
/v1/api/v2/feeds/activities/batch
PATCH
Updateactivitiespartialbatch — Batch partial activity update
/v1/api/v2/feeds/activities/batch/partial
POST
Deleteactivities — Remove multiple activities
/v1/api/v2/feeds/activities/delete
POST
Trackactivitymetrics — Track activity metrics
/v1/api/v2/feeds/activities/metrics/track
POST
Queryactivities — Query activities
/v1/api/v2/feeds/activities/query
DELETE
Deletebookmark — Delete a bookmark
/v1/api/v2/feeds/activities/{activity-id}/bookmarks
PATCH
Updatebookmark — Update bookmark
/v1/api/v2/feeds/activities/{activity-id}/bookmarks
POST
Addbookmark — Add bookmark
/v1/api/v2/feeds/activities/{activity-id}/bookmarks
POST
Activityfeedback — Provide feedback on an activity
/v1/api/v2/feeds/activities/{activity-id}/feedback
POST
Castpollvote — Cast vote
/v1/api/v2/feeds/activities/{activity-id}/polls/{poll-id}/vote
DELETE
Deletepollvote — Delete vote
/v1/api/v2/feeds/activities/{activity-id}/polls/{poll-id}/vote/{vote-id}
POST
Addactivityreaction — Add reaction
/v1/api/v2/feeds/activities/{activity-id}/reactions
POST
Queryactivityreactions — Query activity reactions
/v1/api/v2/feeds/activities/{activity-id}/reactions/query
DELETE
Deleteactivityreaction — Remove reaction
/v1/api/v2/feeds/activities/{activity-id}/reactions/{type}
DELETE
Deleteactivity — Delete a single activity
/v1/api/v2/feeds/activities/{id}
GET
Getactivity — Get activity
/v1/api/v2/feeds/activities/{id}
PATCH
Updateactivitypartial — Partial activity update
/v1/api/v2/feeds/activities/{id}
PUT
Updateactivity — Full activity update
/v1/api/v2/feeds/activities/{id}
POST
Restoreactivity — Restore an activity
/v1/api/v2/feeds/activities/{id}/restore
POST
Querybookmarkfolders — Query bookmark folders
/v1/api/v2/feeds/bookmark-folders/query
DELETE
Deletebookmarkfolder — Delete a bookmark folder
/v1/api/v2/feeds/bookmark-folders/{folder-id}
PATCH
Updatebookmarkfolder — Update a bookmark folder
/v1/api/v2/feeds/bookmark-folders/{folder-id}
POST
Querybookmarks — Query bookmarks
/v1/api/v2/feeds/bookmarks/query
DELETE
Deletecollections — Delete multiple collections
/v1/api/v2/feeds/collections
GET
Readcollections — Read collections
/v1/api/v2/feeds/collections
PATCH
Updatecollections — Update multiple collections
/v1/api/v2/feeds/collections
POST
Createcollections — Create multiple collections
/v1/api/v2/feeds/collections
PUT
Upsertcollections — Upsert multiple collections
/v1/api/v2/feeds/collections
POST
Querycollections — Query collections
/v1/api/v2/feeds/collections/query
GET
Getcomments — Get comments for an object
/v1/api/v2/feeds/comments
POST
Addcomment — Add a comment or reply
/v1/api/v2/feeds/comments
POST
Addcommentsbatch — Add multiple comments in a batch
/v1/api/v2/feeds/comments/batch
POST
Querycomments — Query comments
/v1/api/v2/feeds/comments/query
DELETE
Deletecommentbookmark — Delete a comment bookmark
/v1/api/v2/feeds/comments/{comment-id}/bookmarks
PATCH
Updatecommentbookmark — Update comment bookmark
/v1/api/v2/feeds/comments/{comment-id}/bookmarks
POST
Addcommentbookmark — Add comment bookmark
/v1/api/v2/feeds/comments/{comment-id}/bookmarks
DELETE
Deletecomment — Delete a comment
/v1/api/v2/feeds/comments/{id}
GET
Getcomment — Get comment
/v1/api/v2/feeds/comments/{id}
PATCH
Updatecomment — Update a comment
/v1/api/v2/feeds/comments/{id}
POST
Updatecommentpartial — Partial comment update
/v1/api/v2/feeds/comments/{id}/partial
POST
Addcommentreaction — Add comment reaction
/v1/api/v2/feeds/comments/{id}/reactions
POST
Querycommentreactions — Query comment reactions
/v1/api/v2/feeds/comments/{id}/reactions/query
DELETE
Deletecommentreaction — Delete comment reaction
/v1/api/v2/feeds/comments/{id}/reactions/{type}
GET
Getcommentreplies — Get replies for a comment
/v1/api/v2/feeds/comments/{id}/replies
POST
Restorecomment — Restore a comment
/v1/api/v2/feeds/comments/{id}/restore
GET
Listfeedgroups — List all feed groups
/v1/api/v2/feeds/feed-groups
POST
Createfeedgroup — Create a new feed group
/v1/api/v2/feeds/feed-groups
DELETE
Deletefeed — Delete a single feed
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}
POST
Getorcreatefeed — Create a new feed
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}
PUT
Updatefeed — Update a feed
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}
POST
Markactivity — Mark activities as read/seen/watched
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/activities/mark/batch
DELETE
Unpinactivity — Unpin an activity from a feed
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/activities/{activity-id}/pin
POST
Pinactivity — Pin an activity to a feed
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/activities/{activity-id}/pin
POST
Changefeedvisibility — Change a feed's visibility
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/change-visibility
PATCH
Updatefeedmembers — Update feed members
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/members
POST
Acceptfeedmemberinvite — Accept a feed member request
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/members/accept
POST
Queryfeedmembers — Query feed members
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/members/query
POST
Rejectfeedmemberinvite — Reject an invite to become a feed member
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/members/reject
POST
Querypinnedactivities — Query pinned activities
/v1/api/v2/feeds/feed-groups/{feed-group-id}/feeds/{feed-id}/pinned-activities/query
GET
Getfollowsuggestions — Get follow suggestions
/v1/api/v2/feeds/feed-groups/{feed-group-id}/follow-suggestions
POST
Restorefeedgroup — Restore a feed group
/v1/api/v2/feeds/feed-groups/{feed-group-id}/restore
DELETE
Deletefeedgroup — Delete a feed group
/v1/api/v2/feeds/feed-groups/{id}
GET
Getfeedgroup — Get a feed group
/v1/api/v2/feeds/feed-groups/{id}
POST
Getorcreatefeedgroup — Get or create a feed group
/v1/api/v2/feeds/feed-groups/{id}
PUT
Updatefeedgroup — Update a feed group
/v1/api/v2/feeds/feed-groups/{id}
GET
Listfeedviews — List all feed views
/v1/api/v2/feeds/feed-views
POST
Createfeedview — Create a new feed view
/v1/api/v2/feeds/feed-views
DELETE
Deletefeedview — Delete a feed view
/v1/api/v2/feeds/feed-views/{id}
GET
Getfeedview — Get a feed view
/v1/api/v2/feeds/feed-views/{id}
POST
Getorcreatefeedview — Get or create a feed view
/v1/api/v2/feeds/feed-views/{id}
PUT
Updatefeedview — Update a feed view
/v1/api/v2/feeds/feed-views/{id}
GET
Listfeedvisibilities — List feed visibilities
/v1/api/v2/feeds/feed-visibilities
GET
Getfeedvisibility — Get feed visibility
/v1/api/v2/feeds/feed-visibilities/{name}
PUT
Updatefeedvisibility — Update Feed Visibility
/v1/api/v2/feeds/feed-visibilities/{name}
POST
Createfeedsbatch — Create multiple feeds at once
/v1/api/v2/feeds/feeds/batch
POST
Deletefeedsbatch — Delete multiple feeds
/v1/api/v2/feeds/feeds/delete
POST
Ownbatch — Get own fields for multiple feeds
/v1/api/v2/feeds/feeds/own/batch
POST
Queryfeeds — Query feeds
/v1/api/v2/feeds/feeds/query
GET
Getfeedsratelimits — Get Feeds Rate Limits
/v1/api/v2/feeds/feeds/rate-limits
PATCH
Updatefollow — Update a follow
/v1/api/v2/feeds/follows
POST
Follow — Create a follow
/v1/api/v2/feeds/follows
POST
Acceptfollow — Accept a follow request
/v1/api/v2/feeds/follows/accept
POST
Followbatch — Create multiple follows at once
/v1/api/v2/feeds/follows/batch
POST
Getorcreatefollows — Upsert multiple follows at once
/v1/api/v2/feeds/follows/batch/upsert
POST
Queryfollows — Query follows
/v1/api/v2/feeds/follows/query
POST
Rejectfollow — Reject a follow request
/v1/api/v2/feeds/follows/reject
DELETE
Unfollow — Unfollow a feed
/v1/api/v2/feeds/follows/{source}/{target}
POST
Createmembershiplevel — Create membership level
/v1/api/v2/feeds/membership-levels
POST
Querymembershiplevels — Query membership levels
/v1/api/v2/feeds/membership-levels/query
DELETE
Deletemembershiplevel — Delete membership level
/v1/api/v2/feeds/membership-levels/{id}
PATCH
Updatemembershiplevel — Update membership level
/v1/api/v2/feeds/membership-levels/{id}
POST
Queryrevisionhistory — Query revision history
/v1/api/v2/feeds/revisions/query
POST
Queryfeedsusagestats — Query Feed Usage Statistics
/v1/api/v2/feeds/stats/usage
POST
Unfollowbatch — Unfollow multiple feeds at once
/v1/api/v2/feeds/unfollow/batch
POST
Getorcreateunfollows — Unfollow multiple feeds (idempotent)
/v1/api/v2/feeds/unfollow/batch/upsert
POST
Deletefeeduserdata — Delete all feed data for a user
/v1/api/v2/feeds/users/{user-id}/delete
POST
Exportfeeduserdata — Export all feed data for a user
/v1/api/v2/feeds/users/{user-id}/export

MCP Tools

add-single-activity

Add a single activity

upsert-multiple-activities

Upsert multiple activities

batch-partial-activity-update

Batch partial activity update

idempotent
remove-multiple-activities

Remove multiple activities

track-activity-metrics

Track activity metrics

query-activities

Query activities

read-only
delete-bookmark

Delete a bookmark

idempotent
update-bookmark

Update bookmark

idempotent
add-bookmark

Add bookmark

provide-feedback-activity

Provide feedback on an activity

cast-vote

Cast vote

delete-vote

Delete vote

idempotent
add-reaction

Add reaction

query-activity-reactions

Query activity reactions

read-only
remove-reaction

Remove reaction

idempotent
delete-single-activity

Delete a single activity

idempotent
get-activity

Get activity

read-only idempotent
partial-activity-update

Partial activity update

idempotent
full-activity-update

Full activity update

idempotent
restore-activity

Restore an activity

query-bookmark-folders

Query bookmark folders

read-only
delete-bookmark-folder

Delete a bookmark folder

idempotent
update-bookmark-folder

Update a bookmark folder

idempotent
query-bookmarks

Query bookmarks

read-only
delete-multiple-collections

Delete multiple collections

idempotent
read-collections

Read collections

read-only idempotent
update-multiple-collections

Update multiple collections

idempotent
create-multiple-collections

Create multiple collections

upsert-multiple-collections

Upsert multiple collections

idempotent
query-collections

Query collections

read-only
get-comments-object

Get comments for an object

read-only idempotent
add-comment-reply

Add a comment or reply

add-multiple-comments-batch

Add multiple comments in a batch

query-comments

Query comments

read-only
delete-comment-bookmark

Delete a comment bookmark

idempotent
update-comment-bookmark

Update comment bookmark

idempotent
add-comment-bookmark

Add comment bookmark

delete-comment

Delete a comment

idempotent
get-comment

Get comment

read-only idempotent
update-comment

Update a comment

idempotent
partial-comment-update

Partial comment update

add-comment-reaction

Add comment reaction

query-comment-reactions

Query comment reactions

read-only
delete-comment-reaction

Delete comment reaction

idempotent
get-replies-comment

Get replies for a comment

read-only idempotent
restore-comment

Restore a comment

list-all-feed-groups

List all feed groups

read-only idempotent
create-new-feed-group

Create a new feed group

delete-single-feed

Delete a single feed

idempotent
create-new-feed

Create a new feed

update-feed

Update a feed

idempotent
mark-activities-read-seen-watched

Mark activities as read/seen/watched

unpin-activity-feed

Unpin an activity from a feed

idempotent
pin-activity-feed

Pin an activity to a feed

change-feed-s-visibility

Change a feed's visibility

update-feed-members

Update feed members

idempotent
accept-feed-member-request

Accept a feed member request

query-feed-members

Query feed members

read-only
reject-invite-become-feed-member

Reject an invite to become a feed member

query-pinned-activities

Query pinned activities

read-only
get-follow-suggestions

Get follow suggestions

read-only idempotent
restore-feed-group

Restore a feed group

delete-feed-group

Delete a feed group

idempotent
get-feed-group

Get a feed group

read-only idempotent
get-create-feed-group

Get or create a feed group

read-only
update-feed-group

Update a feed group

idempotent
list-all-feed-views

List all feed views

read-only idempotent
create-new-feed-view

Create a new feed view

delete-feed-view

Delete a feed view

idempotent
get-feed-view

Get a feed view

read-only idempotent
get-create-feed-view

Get or create a feed view

read-only
update-feed-view

Update a feed view

idempotent
list-feed-visibilities

List feed visibilities

read-only idempotent
get-feed-visibility

Get feed visibility

read-only idempotent
update-feed-visibility

Update Feed Visibility

idempotent
create-multiple-feeds-once

Create multiple feeds at once

delete-multiple-feeds

Delete multiple feeds

get-own-fields-multiple-feeds

Get own fields for multiple feeds

read-only
query-feeds

Query feeds

read-only
get-feeds-rate-limits

Get Feeds Rate Limits

read-only idempotent
update-follow

Update a follow

idempotent
create-follow

Create a follow

accept-follow-request

Accept a follow request

create-multiple-follows-once

Create multiple follows at once

upsert-multiple-follows-once

Upsert multiple follows at once

query-follows

Query follows

read-only
reject-follow-request

Reject a follow request

unfollow-feed

Unfollow a feed

idempotent
create-membership-level

Create membership level

query-membership-levels

Query membership levels

read-only
delete-membership-level

Delete membership level

idempotent
update-membership-level

Update membership level

idempotent
query-revision-history

Query revision history

read-only
query-feed-usage-statistics

Query Feed Usage Statistics

read-only
unfollow-multiple-feeds-once

Unfollow multiple feeds at once

unfollow-multiple-feeds-idempotent

Unfollow multiple feeds (idempotent)

delete-all-feed-data-user

Delete all feed data for a user

export-all-feed-data-user

Export all feed data for a user

Capability Spec

serverside-product-feeds.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stream API — product:feeds
  description: 'Stream API — product:feeds. 98 operations. Lead operation: Add a single activity. Self-contained Naftiko capability
    covering one Stream Io business surface.'
  tags:
  - Stream Io
  - product:feeds
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STREAM_IO_API_KEY: STREAM_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: serverside-product-feeds
    baseUri: https://chat.stream-io-api.com
    description: Stream API — product:feeds business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-feeds-activities
      path: /api/v2/feeds/activities
      operations:
      - name: addactivity
        method: POST
        description: Add a single activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-batch
      path: /api/v2/feeds/activities/batch
      operations:
      - name: upsertactivities
        method: POST
        description: Upsert multiple activities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-batch-partial
      path: /api/v2/feeds/activities/batch/partial
      operations:
      - name: updateactivitiespartialbatch
        method: PATCH
        description: Batch partial activity update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-delete
      path: /api/v2/feeds/activities/delete
      operations:
      - name: deleteactivities
        method: POST
        description: Remove multiple activities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-metrics-track
      path: /api/v2/feeds/activities/metrics/track
      operations:
      - name: trackactivitymetrics
        method: POST
        description: Track activity metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-query
      path: /api/v2/feeds/activities/query
      operations:
      - name: queryactivities
        method: POST
        description: Query activities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-activity_id-bookmarks
      path: /api/v2/feeds/activities/{activity_id}/bookmarks
      operations:
      - name: deletebookmark
        method: DELETE
        description: Delete a bookmark
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: folder_id
          in: query
          type: string
        - name: user_id
          in: query
          type: string
      - name: updatebookmark
        method: PATCH
        description: Update bookmark
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: addbookmark
        method: POST
        description: Add bookmark
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-activity_id-feedback
      path: /api/v2/feeds/activities/{activity_id}/feedback
      operations:
      - name: activityfeedback
        method: POST
        description: Provide feedback on an activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-activity_id-polls-poll_id-vote
      path: /api/v2/feeds/activities/{activity_id}/polls/{poll_id}/vote
      operations:
      - name: castpollvote
        method: POST
        description: Cast vote
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: poll_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-activity_id-polls-poll_id-vote-vote_id
      path: /api/v2/feeds/activities/{activity_id}/polls/{poll_id}/vote/{vote_id}
      operations:
      - name: deletepollvote
        method: DELETE
        description: Delete vote
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: poll_id
          in: path
          type: string
          required: true
        - name: vote_id
          in: path
          type: string
          required: true
        - name: user_id
          in: query
          type: string
    - name: api-v2-feeds-activities-activity_id-reactions
      path: /api/v2/feeds/activities/{activity_id}/reactions
      operations:
      - name: addactivityreaction
        method: POST
        description: Add reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-activity_id-reactions-query
      path: /api/v2/feeds/activities/{activity_id}/reactions/query
      operations:
      - name: queryactivityreactions
        method: POST
        description: Query activity reactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-activity_id-reactions-type
      path: /api/v2/feeds/activities/{activity_id}/reactions/{type}
      operations:
      - name: deleteactivityreaction
        method: DELETE
        description: Remove reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activity_id
          in: path
          type: string
          required: true
        - name: type
          in: path
          type: string
          required: true
        - name: delete_notification_activity
          in: query
          type: boolean
        - name: user_id
          in: query
          type: string
    - name: api-v2-feeds-activities-id
      path: /api/v2/feeds/activities/{id}
      operations:
      - name: deleteactivity
        method: DELETE
        description: Delete a single activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: hard_delete
          in: query
          type: boolean
        - name: delete_notification_activity
          in: query
          type: boolean
      - name: getactivity
        method: GET
        description: Get activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: comment_sort
          in: query
          type: string
        - name: comment_limit
          in: query
          type: integer
        - name: user_id
          in: query
          type: string
      - name: updateactivitypartial
        method: PATCH
        description: Partial activity update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updateactivity
        method: PUT
        description: Full activity update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-activities-id-restore
      path: /api/v2/feeds/activities/{id}/restore
      operations:
      - name: restoreactivity
        method: POST
        description: Restore an activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: enrich_own_fields
          in: query
          type: boolean
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-bookmark_folders-query
      path: /api/v2/feeds/bookmark_folders/query
      operations:
      - name: querybookmarkfolders
        method: POST
        description: Query bookmark folders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-bookmark_folders-folder_id
      path: /api/v2/feeds/bookmark_folders/{folder_id}
      operations:
      - name: deletebookmarkfolder
        method: DELETE
        description: Delete a bookmark folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          required: true
      - name: updatebookmarkfolder
        method: PATCH
        description: Update a bookmark folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-bookmarks-query
      path: /api/v2/feeds/bookmarks/query
      operations:
      - name: querybookmarks
        method: POST
        description: Query bookmarks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-collections
      path: /api/v2/feeds/collections
      operations:
      - name: deletecollections
        method: DELETE
        description: Delete multiple collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collection_refs
          in: query
          type: array
          required: true
      - name: readcollections
        method: GET
        description: Read collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collection_refs
          in: query
          type: array
        - name: user_id
          in: query
          type: string
      - name: updatecollections
        method: PATCH
        description: Update multiple collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: createcollections
        method: POST
        description: Create multiple collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: upsertcollections
        method: PUT
        description: Upsert multiple collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-collections-query
      path: /api/v2/feeds/collections/query
      operations:
      - name: querycollections
        method: POST
        description: Query collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments
      path: /api/v2/feeds/comments
      operations:
      - name: getcomments
        method: GET
        description: Get comments for an object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: object_id
          in: query
          type: string
          required: true
        - name: object_type
          in: query
          type: string
          required: true
        - name: depth
          in: query
          type: integer
        - name: sort
          in: query
          type: string
        - name: replies_limit
          in: query
          type: integer
        - name: id_around
          in: query
          type: string
        - name: user_id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
        - name: prev
          in: query
          type: string
        - name: next
          in: query
          type: string
      - name: addcomment
        method: POST
        description: Add a comment or reply
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-batch
      path: /api/v2/feeds/comments/batch
      operations:
      - name: addcommentsbatch
        method: POST
        description: Add multiple comments in a batch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-query
      path: /api/v2/feeds/comments/query
      operations:
      - name: querycomments
        method: POST
        description: Query comments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-comment_id-bookmarks
      path: /api/v2/feeds/comments/{comment_id}/bookmarks
      operations:
      - name: deletecommentbookmark
        method: DELETE
        description: Delete a comment bookmark
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: comment_id
          in: path
          type: string
          required: true
        - name: folder_id
          in: query
          type: string
        - name: user_id
          in: query
          type: string
      - name: updatecommentbookmark
        method: PATCH
        description: Update comment bookmark
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: comment_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: addcommentbookmark
        method: POST
        description: Add comment bookmark
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: comment_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-id
      path: /api/v2/feeds/comments/{id}
      operations:
      - name: deletecomment
        method: DELETE
        description: Delete a comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: hard_delete
          in: query
          type: boolean
        - name: delete_notification_activity
          in: query
          type: boolean
      - name: getcomment
        method: GET
        description: Get comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: user_id
          in: query
          type: string
      - name: updatecomment
        method: PATCH
        description: Update a comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-id-partial
      path: /api/v2/feeds/comments/{id}/partial
      operations:
      - name: updatecommentpartial
        method: POST
        description: Partial comment update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-id-reactions
      path: /api/v2/feeds/comments/{id}/reactions
      operations:
      - name: addcommentreaction
        method: POST
        description: Add comment reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-id-reactions-query
      path: /api/v2/feeds/comments/{id}/reactions/query
      operations:
      - name: querycommentreactions
        method: POST
        description: Query comment reactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-comments-id-reactions-type
      path: /api/v2/feeds/comments/{id}/reactions/{type}
      operations:
      - name: deletecommentreaction
        method: DELETE
        description: Delete comment reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: type
          in: path
          type: string
          required: true
        - name: delete_notification_activity
          in: query
          type: boolean
        - name: user_id
          in: query
          type: string
    - name: api-v2-feeds-comments-id-replies
      path: /api/v2/feeds/comments/{id}/replies
      operations:
      - name: getcommentreplies
        method: GET
        description: Get replies for a comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: depth
          in: query
          type: integer
        - name: sort
          in: query
          type: string
        - name: replies_limit
          in: query
          type: integer
        - name: id_around
          in: query
          type: string
        - name: user_id
          in: query
          type: string
        - name: limit
          in: query
          type: integer
        - name: prev
          in: query
          type: string
        - name: next
          in: query
          type: string
    - name: api-v2-feeds-comments-id-restore
      path: /api/v2/feeds/comments/{id}/restore
      operations:
      - name: restorecomment
        method: POST
        description: Restore a comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups
      path: /api/v2/feeds/feed_groups
      operations:
      - name: listfeedgroups
        method: GET
        description: List all feed groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: include_soft_deleted
          in: query
          type: boolean
      - name: createfeedgroup
        method: POST
        description: Create a new feed group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups-feed_group_id-feeds-feed_id
      path: /api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}
      operations:
      - name: deletefeed
        method: DELETE
        description: Delete a single feed
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: hard_delete
          in: query
          type: boolean
      - name: getorcreatefeed
        method: POST
        description: Create a new feed
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatefeed
        method: PUT
        description: Update a feed
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups-feed_group_id-feeds-feed_id-activities-mark-batch
      path: /api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/activities/mark/batch
      operations:
      - name: markactivity
        method: POST
        description: Mark activities as read/seen/watched
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups-feed_group_id-feeds-feed_id-activities-activity_id-pin
      path: /api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/activities/{activity_id}/pin
      operations:
      - name: unpinactivity
        method: DELETE
        description: Unpin an activity from a feed
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: activity_id
          in: path
          type: string
          required: true
        - name: enrich_own_fields
          in: query
          type: boolean
        - name: user_id
          in: query
          type: string
      - name: pinactivity
        method: POST
        description: Pin an activity to a feed
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: activity_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups-feed_group_id-feeds-feed_id-change_visibility
      path: /api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/change_visibility
      operations:
      - name: changefeedvisibility
        method: POST
        description: Change a feed's visibility
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups-feed_group_id-feeds-feed_id-members
      path: /api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members
      operations:
      - name: updatefeedmembers
        method: PATCH
        description: Update feed members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: feed_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups-feed_group_id-feeds-feed_id-members-accept
      path: /api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members/accept
      operations:
      - name: acceptfeedmemberinvite
        method: POST
        description: Accept a feed member request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: feed_id
          in: path
          type: string
          required: true
        - name: feed_group_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-feeds-feed_groups-feed_group_id-feeds-feed_id-members-query
      path: /api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members/query
      operations:
      - name

# --- truncated at 32 KB (128 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/stream-io/refs/heads/main/capabilities/serverside-product-feeds.yaml