# /relay/v1/subscriptions: post: # post_waku_v2_relay_v1_subscriptions summary: Subscribe a node to an array of topics description: Subscribe a node to an array of PubSub topics. operationId: postSubscriptions tags: - relay requestBody: content: application/json: schema: type array: items: $ref: './schemas/apitypes.yaml#/PubsubTopic' responses: '200': description: OK content: text/plain: schema: type: string '4XX': description: Bad request. '5XX': description: Unexpected error. delete: # delete_waku_v2_relay_v1_subscriptions summary: Unsubscribe a node from an array of topics description: Unsubscribe a node from an array of PubSub topics. operationId: deleteSubscriptions tags: - relay requestBody: content: application/json: schema: type array: items: $ref: './schemas/apitypes.yaml#/PubsubTopic' responses: '200': description: OK content: text/plain: schema: type: string '4XX': description: Bad request. '5XX': description: Unexpected error.