Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — chats.chatMessage

Microsoft Graph OData Service for namespace microsoft.graph — chats.chatMessage. 40 operations. Lead operation: Microsoft Graph List messages in a chat. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphchats.chatMessage

What You Can Do

GET
Chatslistmessages — Microsoft Graph List messages in a chat
/v1/chats/{chat-id}/messages
POST
Chatscreatemessages — Microsoft Graph Send message in a chat
/v1/chats/{chat-id}/messages
GET
Chatsmessagesgetcount3dde — Microsoft Graph Get the number of the resource
/v1/chats/{chat-id}/messages/count
GET
Chatschatmessagesdelta — Microsoft Graph Invoke function delta
/v1/chats/{chat-id}/messages/delta
GET
Chatsgetmessages — Microsoft Graph Get chatMessage in a channel or chat
/v1/chats/{chat-id}/messages/{chatmessage-id}
PATCH
Chatsupdatemessages — Microsoft Graph Update the navigation property messages in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}
DELETE
Chatsdeletemessages — Microsoft Graph Delete navigation property messages for chats
/v1/chats/{chat-id}/messages/{chatmessage-id}
GET
Chatsmessageslisthostedcontents — Microsoft Graph List hostedContents
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents
POST
Chatsmessagescreatehostedcontents — Microsoft Graph Create new navigation property to hostedContents for chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents
GET
Chatsmessageshostedcontentsgetcounta167 — Microsoft Graph Get the number of the resource
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/count
GET
Chatsmessagesgethostedcontents — Microsoft Graph Get chatMessageHostedContent
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}
PATCH
Chatsmessagesupdatehostedcontents — Microsoft Graph Update the navigation property hostedContents in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}
DELETE
Chatsmessagesdeletehostedcontents — Microsoft Graph Delete navigation property hostedContents for chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}
GET
Chatsmessagesgethostedcontentscontent — Microsoft Graph List hostedContents
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}/value
PUT
Chatsmessagesupdatehostedcontentscontent — Microsoft Graph Update media content for the navigation property hostedContents in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}/value
DELETE
Chatsmessagesdeletehostedcontentscontent — Microsoft Graph Delete media content for the navigation property hostedContents in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}/value
GET
Chatsmessageslistreplies — Microsoft Graph Get replies from chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies
POST
Chatsmessagescreatereplies — Microsoft Graph Create new navigation property to replies for chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies
GET
Chatsmessagesrepliesgetcount10ad — Microsoft Graph Get the number of the resource
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/count
GET
Chatschatmessageschatmessagerepliesdelta — Microsoft Graph Invoke function delta
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/delta
GET
Chatsmessagesgetreplies — Microsoft Graph Get replies from chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}
PATCH
Chatsmessagesupdatereplies — Microsoft Graph Update the navigation property replies in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}
DELETE
Chatsmessagesdeletereplies — Microsoft Graph Delete navigation property replies for chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}
GET
Chatsmessagesreplieslisthostedcontents — Microsoft Graph Get hostedContents from chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents
POST
Chatsmessagesrepliescreatehostedcontents — Microsoft Graph Create new navigation property to hostedContents for chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents
GET
Chatsmessagesreplieshostedcontentsgetcountccd3 — Microsoft Graph Get the number of the resource
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/count
GET
Chatsmessagesrepliesgethostedcontents — Microsoft Graph Get hostedContents from chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id}
PATCH
Chatsmessagesrepliesupdatehostedcontents — Microsoft Graph Update the navigation property hostedContents in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id}
DELETE
Chatsmessagesrepliesdeletehostedcontents — Microsoft Graph Delete navigation property hostedContents for chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id}
GET
Chatsmessagesrepliesgethostedcontentscontent — Microsoft Graph Get media content for the navigation property hostedContents from chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id}/value
PUT
Chatsmessagesrepliesupdatehostedcontentscontent — Microsoft Graph Update media content for the navigation property hostedContents in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id}/value
DELETE
Chatsmessagesrepliesdeletehostedcontentscontent — Microsoft Graph Delete media content for the navigation property hostedContents in chats
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/hostedcontents/{chatmessagehostedcontent-id}/value
POST
Chatschatmessageschatmessagereplieschatmessagesetreaction — Microsoft Graph Invoke action setReaction
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/setreaction
POST
Chatschatmessageschatmessagereplieschatmessagesoftdelete — Microsoft Graph Invoke action softDelete
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/softdelete
POST
Chatschatmessageschatmessagereplieschatmessageundosoftdelete — Microsoft Graph Invoke action undoSoftDelete
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/undosoftdelete
POST
Chatschatmessageschatmessagereplieschatmessageunsetreaction — Microsoft Graph Invoke action unsetReaction
/v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}/unsetreaction
POST
Chatschatmessageschatmessagesetreaction — Microsoft Graph Invoke action setReaction
/v1/chats/{chat-id}/messages/{chatmessage-id}/setreaction
POST
Chatschatmessageschatmessagesoftdelete — Microsoft Graph Invoke action softDelete
/v1/chats/{chat-id}/messages/{chatmessage-id}/softdelete
POST
Chatschatmessageschatmessageundosoftdelete — Microsoft Graph Invoke action undoSoftDelete
/v1/chats/{chat-id}/messages/{chatmessage-id}/undosoftdelete
POST
Chatschatmessageschatmessageunsetreaction — Microsoft Graph Invoke action unsetReaction
/v1/chats/{chat-id}/messages/{chatmessage-id}/unsetreaction

MCP Tools

microsoft-graph-list-messages-chat

Microsoft Graph List messages in a chat

read-only idempotent
microsoft-graph-send-message-chat

Microsoft Graph Send message in a chat

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-invoke-function-delta

Microsoft Graph Invoke function delta

read-only idempotent
microsoft-graph-get-chatmessage-channel

Microsoft Graph Get chatMessage in a channel or chat

read-only idempotent
microsoft-graph-update-navigation-property

Microsoft Graph Update the navigation property messages in chats

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property messages for chats

idempotent
microsoft-graph-list-hostedcontents

Microsoft Graph List hostedContents

read-only idempotent
microsoft-graph-create-new-navigation

Microsoft Graph Create new navigation property to hostedContents for chats

microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-chatmessagehostedcontent

Microsoft Graph Get chatMessageHostedContent

read-only idempotent
microsoft-graph-update-navigation-property-2

Microsoft Graph Update the navigation property hostedContents in chats

idempotent
microsoft-graph-delete-navigation-property-2

Microsoft Graph Delete navigation property hostedContents for chats

idempotent
microsoft-graph-list-hostedcontents-2

Microsoft Graph List hostedContents

read-only idempotent
microsoft-graph-update-media-content

Microsoft Graph Update media content for the navigation property hostedContents in chats

idempotent
microsoft-graph-delete-media-content

Microsoft Graph Delete media content for the navigation property hostedContents in chats

idempotent
microsoft-graph-get-replies-chats

Microsoft Graph Get replies from chats

read-only idempotent
microsoft-graph-create-new-navigation-2

Microsoft Graph Create new navigation property to replies for chats

microsoft-graph-get-number-resource-3

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-invoke-function-delta-2

Microsoft Graph Invoke function delta

read-only idempotent
microsoft-graph-get-replies-chats-2

Microsoft Graph Get replies from chats

read-only idempotent
microsoft-graph-update-navigation-property-3

Microsoft Graph Update the navigation property replies in chats

idempotent
microsoft-graph-delete-navigation-property-3

Microsoft Graph Delete navigation property replies for chats

idempotent
microsoft-graph-get-hostedcontents-chats

Microsoft Graph Get hostedContents from chats

read-only idempotent
microsoft-graph-create-new-navigation-3

Microsoft Graph Create new navigation property to hostedContents for chats

microsoft-graph-get-number-resource-4

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-hostedcontents-chats-2

Microsoft Graph Get hostedContents from chats

read-only idempotent
microsoft-graph-update-navigation-property-4

Microsoft Graph Update the navigation property hostedContents in chats

idempotent
microsoft-graph-delete-navigation-property-4

Microsoft Graph Delete navigation property hostedContents for chats

idempotent
microsoft-graph-get-media-content

Microsoft Graph Get media content for the navigation property hostedContents from chats

read-only idempotent
microsoft-graph-update-media-content-2

Microsoft Graph Update media content for the navigation property hostedContents in chats

idempotent
microsoft-graph-delete-media-content-2

Microsoft Graph Delete media content for the navigation property hostedContents in chats

idempotent
microsoft-graph-invoke-action-setreaction

Microsoft Graph Invoke action setReaction

microsoft-graph-invoke-action-softdelete

Microsoft Graph Invoke action softDelete

microsoft-graph-invoke-action-undosoftdelete

Microsoft Graph Invoke action undoSoftDelete

microsoft-graph-invoke-action-unsetreaction

Microsoft Graph Invoke action unsetReaction

microsoft-graph-invoke-action-setreaction-2

Microsoft Graph Invoke action setReaction

microsoft-graph-invoke-action-softdelete-2

Microsoft Graph Invoke action softDelete

microsoft-graph-invoke-action-undosoftdelete-2

Microsoft Graph Invoke action undoSoftDelete

microsoft-graph-invoke-action-unsetreaction-2

Microsoft Graph Invoke action unsetReaction

Capability Spec

microsoft-graph-chats-chatmessage.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — chats.chatMessage
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — chats.chatMessage. 40 operations. Lead operation:
    Microsoft Graph List messages in a chat. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - chats.chatMessage
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-graph-chats-chatmessage
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — chats.chatMessage business capability. Self-contained,
      no shared references.
    resources:
    - name: chats-chat-id-messages
      path: /chats/{chat-id}/messages
      operations:
      - name: chatslistmessages
        method: GET
        description: Microsoft Graph List messages in a chat
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatscreatemessages
        method: POST
        description: Microsoft Graph Send message in a chat
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-chat-id-messages-$count
      path: /chats/{chat-id}/messages/$count
      operations:
      - name: chatsmessagesgetcount3dde
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-delta()
      path: /chats/{chat-id}/messages/delta()
      operations:
      - name: chatschatmessagesdelta
        method: GET
        description: Microsoft Graph Invoke function delta
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: chats-chat-id-messages-chatMessage-id
      path: /chats/{chat-id}/messages/{chatMessage-id}
      operations:
      - name: chatsgetmessages
        method: GET
        description: Microsoft Graph Get chatMessage in a channel or chat
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsupdatemessages
        method: PATCH
        description: Microsoft Graph Update the navigation property messages in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: chatsdeletemessages
        method: DELETE
        description: Microsoft Graph Delete navigation property messages for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: chats-chat-id-messages-chatMessage-id-hostedContents
      path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents
      operations:
      - name: chatsmessageslisthostedcontents
        method: GET
        description: Microsoft Graph List hostedContents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsmessagescreatehostedcontents
        method: POST
        description: Microsoft Graph Create new navigation property to hostedContents for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-chat-id-messages-chatMessage-id-hostedContents-$count
      path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count
      operations:
      - name: chatsmessageshostedcontentsgetcounta167
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id
      path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}
      operations:
      - name: chatsmessagesgethostedcontents
        method: GET
        description: Microsoft Graph Get chatMessageHostedContent
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsmessagesupdatehostedcontents
        method: PATCH
        description: Microsoft Graph Update the navigation property hostedContents in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: chatsmessagesdeletehostedcontents
        method: DELETE
        description: Microsoft Graph Delete navigation property hostedContents for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id
      path: /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value
      operations:
      - name: chatsmessagesgethostedcontentscontent
        method: GET
        description: Microsoft Graph List hostedContents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: chatsmessagesupdatehostedcontentscontent
        method: PUT
        description: Microsoft Graph Update media content for the navigation property hostedContents in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: chatsmessagesdeletehostedcontentscontent
        method: DELETE
        description: Microsoft Graph Delete media content for the navigation property hostedContents in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: chats-chat-id-messages-chatMessage-id-replies
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies
      operations:
      - name: chatsmessageslistreplies
        method: GET
        description: Microsoft Graph Get replies from chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsmessagescreatereplies
        method: POST
        description: Microsoft Graph Create new navigation property to replies for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-chat-id-messages-chatMessage-id-replies-$count
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/$count
      operations:
      - name: chatsmessagesrepliesgetcount10ad
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-chatMessage-id-replies-delta()
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/delta()
      operations:
      - name: chatschatmessageschatmessagerepliesdelta
        method: GET
        description: Microsoft Graph Invoke function delta
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}
      operations:
      - name: chatsmessagesgetreplies
        method: GET
        description: Microsoft Graph Get replies from chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsmessagesupdatereplies
        method: PATCH
        description: Microsoft Graph Update the navigation property replies in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: chatsmessagesdeletereplies
        method: DELETE
        description: Microsoft Graph Delete navigation property replies for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents
      operations:
      - name: chatsmessagesreplieslisthostedcontents
        method: GET
        description: Microsoft Graph Get hostedContents from chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsmessagesrepliescreatehostedcontents
        method: POST
        description: Microsoft Graph Create new navigation property to hostedContents for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-$co
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/$count
      operations:
      - name: chatsmessagesreplieshostedcontentsgetcountccd3
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-cha
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}
      operations:
      - name: chatsmessagesrepliesgethostedcontents
        method: GET
        description: Microsoft Graph Get hostedContents from chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: chatsmessagesrepliesupdatehostedcontents
        method: PATCH
        description: Microsoft Graph Update the navigation property hostedContents in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: chatsmessagesrepliesdeletehostedcontents
        method: DELETE
        description: Microsoft Graph Delete navigation property hostedContents for chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-hostedContents-cha
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/hostedContents/{chatMessageHostedContent-id}/$value
      operations:
      - name: chatsmessagesrepliesgethostedcontentscontent
        method: GET
        description: Microsoft Graph Get media content for the navigation property hostedContents from chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: chatsmessagesrepliesupdatehostedcontentscontent
        method: PUT
        description: Microsoft Graph Update media content for the navigation property hostedContents in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: chatsmessagesrepliesdeletehostedcontentscontent
        method: DELETE
        description: Microsoft Graph Delete media content for the navigation property hostedContents in chats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-setReaction
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/setReaction
      operations:
      - name: chatschatmessageschatmessagereplieschatmessagesetreaction
        method: POST
        description: Microsoft Graph Invoke action setReaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-softDelete
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/softDelete
      operations:
      - name: chatschatmessageschatmessagereplieschatmessagesoftdelete
        method: POST
        description: Microsoft Graph Invoke action softDelete
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-undoSoftDelete
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/undoSoftDelete
      operations:
      - name: chatschatmessageschatmessagereplieschatmessageundosoftdelete
        method: POST
        description: Microsoft Graph Invoke action undoSoftDelete
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1-unsetReaction
      path: /chats/{chat-id}/messages/{chatMessage-id}/replies/{chatMessage-id1}/unsetReaction
      operations:
      - name: chatschatmessageschatmessagereplieschatmessageunsetreaction
        method: POST
        description: Microsoft Graph Invoke action unsetReaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-chat-id-messages-chatMessage-id-setReaction
      path: /chats/{chat-id}/messages/{chatMessage-id}/setReaction
      operations:
      - name: chatschatmessageschatmessagesetreaction
        method: POST
        description: Microsoft Graph Invoke action setReaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: chats-chat-id-messages-chatMessage-id-softDelete
      path: /chats/{chat-id}/messages/{chatMessage-id}/softDelete
      operations:
      - name: chatschatmessageschatmessagesoftdelete
        method: POST
        description: Microsoft Graph Invoke action softDelete
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-chatMessage-id-undoSoftDelete
      path: /chats/{chat-id}/messages/{chatMessage-id}/undoSoftDelete
      operations:
      - name: chatschatmessageschatmessageundosoftdelete
        method: POST
        description: Microsoft Graph Invoke action undoSoftDelete
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: chats-chat-id-messages-chatMessage-id-unsetReaction
      path: /chats/{chat-id}/messages/{chatMessage-id}/unsetReaction
      operations:
      - name: chatschatmessageschatmessageunsetreaction
        method: POST
        description: Microsoft Graph Invoke action unsetReaction
        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: microsoft-graph-chats-chatmessage-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — chats.chatMessage. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/chats/{chat-id}/messages
      name: chats-chat-id-messages
      description: REST surface for chats-chat-id-messages.
      operations:
      - method: GET
        name: chatslistmessages
        description: Microsoft Graph List messages in a chat
        call: microsoft-graph-chats-chatmessage.chatslistmessages
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: chatscreatemessages
        description: Microsoft Graph Send message in a chat
        call: microsoft-graph-chats-chatmessage.chatscreatemessages
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/count
      name: chats-chat-id-messages-count
      description: REST surface for chats-chat-id-messages-$count.
      operations:
      - method: GET
        name: chatsmessagesgetcount3dde
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-chats-chatmessage.chatsmessagesgetcount3dde
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/delta
      name: chats-chat-id-messages-delta
      description: REST surface for chats-chat-id-messages-delta().
      operations:
      - method: GET
        name: chatschatmessagesdelta
        description: Microsoft Graph Invoke function delta
        call: microsoft-graph-chats-chatmessage.chatschatmessagesdelta
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}
      name: chats-chat-id-messages-chatmessage-id
      description: REST surface for chats-chat-id-messages-chatMessage-id.
      operations:
      - method: GET
        name: chatsgetmessages
        description: Microsoft Graph Get chatMessage in a channel or chat
        call: microsoft-graph-chats-chatmessage.chatsgetmessages
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: chatsupdatemessages
        description: Microsoft Graph Update the navigation property messages in chats
        call: microsoft-graph-chats-chatmessage.chatsupdatemessages
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: chatsdeletemessages
        description: Microsoft Graph Delete navigation property messages for chats
        call: microsoft-graph-chats-chatmessage.chatsdeletemessages
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents
      name: chats-chat-id-messages-chatmessage-id-hostedcontents
      description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents.
      operations:
      - method: GET
        name: chatsmessageslisthostedcontents
        description: Microsoft Graph List hostedContents
        call: microsoft-graph-chats-chatmessage.chatsmessageslisthostedcontents
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: chatsmessagescreatehostedcontents
        description: Microsoft Graph Create new navigation property to hostedContents for chats
        call: microsoft-graph-chats-chatmessage.chatsmessagescreatehostedcontents
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/count
      name: chats-chat-id-messages-chatmessage-id-hostedcontents-count
      description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents-$count.
      operations:
      - method: GET
        name: chatsmessageshostedcontentsgetcounta167
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-chats-chatmessage.chatsmessageshostedcontentsgetcounta167
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}
      name: chats-chat-id-messages-chatmessage-id-hostedcontents-chatmessagehostedcontent-id
      description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id.
      operations:
      - method: GET
        name: chatsmessagesgethostedcontents
        description: Microsoft Graph Get chatMessageHostedContent
        call: microsoft-graph-chats-chatmessage.chatsmessagesgethostedcontents
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: chatsmessagesupdatehostedcontents
        description: Microsoft Graph Update the navigation property hostedContents in chats
        call: microsoft-graph-chats-chatmessage.chatsmessagesupdatehostedcontents
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: chatsmessagesdeletehostedcontents
        description: Microsoft Graph Delete navigation property hostedContents for chats
        call: microsoft-graph-chats-chatmessage.chatsmessagesdeletehostedcontents
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/hostedcontents/{chatmessagehostedcontent-id}/value
      name: chats-chat-id-messages-chatmessage-id-hostedcontents-chatmessagehostedcontent-id
      description: REST surface for chats-chat-id-messages-chatMessage-id-hostedContents-chatMessageHostedContent-id.
      operations:
      - method: GET
        name: chatsmessagesgethostedcontentscontent
        description: Microsoft Graph List hostedContents
        call: microsoft-graph-chats-chatmessage.chatsmessagesgethostedcontentscontent
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: chatsmessagesupdatehostedcontentscontent
        description: Microsoft Graph Update media content for the navigation property hostedContents in chats
        call: microsoft-graph-chats-chatmessage.chatsmessagesupdatehostedcontentscontent
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: chatsmessagesdeletehostedcontentscontent
        description: Microsoft Graph Delete media content for the navigation property hostedContents in chats
        call: microsoft-graph-chats-chatmessage.chatsmessagesdeletehostedcontentscontent
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies
      name: chats-chat-id-messages-chatmessage-id-replies
      description: REST surface for chats-chat-id-messages-chatMessage-id-replies.
      operations:
      - method: GET
        name: chatsmessageslistreplies
        description: Microsoft Graph Get replies from chats
        call: microsoft-graph-chats-chatmessage.chatsmessageslistreplies
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: chatsmessagescreatereplies
        description: Microsoft Graph Create new navigation property to replies for chats
        call: microsoft-graph-chats-chatmessage.chatsmessagescreatereplies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/count
      name: chats-chat-id-messages-chatmessage-id-replies-count
      description: REST surface for chats-chat-id-messages-chatMessage-id-replies-$count.
      operations:
      - method: GET
        name: chatsmessagesrepliesgetcount10ad
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-chats-chatmessage.chatsmessagesrepliesgetcount10ad
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/delta
      name: chats-chat-id-messages-chatmessage-id-replies-delta
      description: REST surface for chats-chat-id-messages-chatMessage-id-replies-delta().
      operations:
      - method: GET
        name: chatschatmessageschatmessagerepliesdelta
        description: Microsoft Graph Invoke function delta
        call: microsoft-graph-chats-chatmessage.chatschatmessageschatmessagerepliesdelta
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/chats/{chat-id}/messages/{chatmessage-id}/replies/{chatmessage-id1}
      name: chats-chat-id-messages-chatmessage-id-replies-chatmessage-id1
      description: REST surface for chats-chat-id-messages-chatMessage-id-replies-chatMessage-id1.
      operations:
      - method: GET
        name: chatsmessagesgetreplies
        description: Microsoft Graph Get replies from chats
        call: microsoft-graph-chats-chatmessage.chatsmessagesgetreplies
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: chatsmessagesupdatereplies
        description: Microsoft Graph Update the navigation property replies in chats
        call: microsoft-graph-chats-chatmessage.chatsmessagesupdatereplies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
  

# --- truncated at 32 KB (57 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/capabilities/microsoft-graph-chats-chatmessage.yaml