{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-webpubsub-web-pub-sub/add-connections-to-groups":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_add_connections_to_groups","summary":"Add filtered connections to multiple groups.","description":"POST /api/hubs/{hub}/:addToGroups","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","body"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/close-all-connections":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_close_all_connections","summary":"Close the connections in the hub.","description":"POST /api/hubs/{hub}/:closeConnections","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"excluded":{"type":"array","description":"Exclude these connectionIds when closing the connections in the hub."},"reason":{"type":"string","description":"The reason closing the client connection."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/generate-client-token":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_generate_client_token","summary":"Generate token for the client to connect Azure Web PubSub service.","description":"POST /api/hubs/{hub}/:generateToken","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"userId":{"type":"string","description":"User Id."},"role":{"type":"array","description":"Roles that the connection with the generated token will have."},"minutesToExpire":{"type":"integer","default":60,"description":"The expire time of the generated token."},"group":{"type":"array","description":"Groups that the connection will join when it connects."},"clientType":{"type":"string","enum":["Default","MQTT"],"default":"Default","description":"The type of client. Case-insensitive. If not set, it's \"Default\". For Web PubSub for Socket.IO, only the default value is supported. For…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/remove-connections-from-groups":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_remove_connections_from_groups","summary":"Remove filtered connections from multiple groups.","description":"POST /api/hubs/{hub}/:removeFromGroups","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","body"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/send-to-all":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_send_to_all","summary":"Broadcast content inside request body to all the connected client connections.","description":"POST /api/hubs/{hub}/:send","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","body"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"excluded":{"type":"array","description":"Excluded connection Ids."},"filter":{"type":"string","description":"Following OData filter syntax to filter out the subscribers receiving the messages."},"messageTtlSeconds":{"type":"integer","description":"The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires.…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/close-connection":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_close_connection","summary":"Close the client connection.","description":"DELETE /api/hubs/{hub}/connections/{connectionId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","connectionId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"connectionId":{"type":"string","description":"Target connection Id."},"reason":{"type":"string","description":"The reason closing the client connection."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/send-to-connection":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_send_to_connection","summary":"Send content inside request body to the specific connection.","description":"POST /api/hubs/{hub}/connections/{connectionId}/:send","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","connectionId","body"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"connectionId":{"type":"string","description":"The connection Id."},"messageTtlSeconds":{"type":"integer","description":"The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires.…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/remove-connection-from-all-groups":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_remove_connection_from_all_groups","summary":"Remove a connection from all groups.","description":"DELETE /api/hubs/{hub}/connections/{connectionId}/groups","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","connectionId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"connectionId":{"type":"string","description":"Target connection Id."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/close-group-connections":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_close_group_connections","summary":"Close connections in the specific group.","description":"POST /api/hubs/{hub}/groups/{group}/:closeConnections","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","group"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"group":{"type":"string","description":"Target group name, which length should be greater than 0 and less than 1025."},"excluded":{"type":"array","description":"Exclude these connectionIds when closing the connections in the group."},"reason":{"type":"string","description":"The reason closing the client connection."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/send-to-group":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_send_to_group","summary":"Send content inside request body to a group of connections.","description":"POST /api/hubs/{hub}/groups/{group}/:send","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","group","body"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"group":{"type":"string","description":"Target group name, which length should be greater than 0 and less than 1025."},"excluded":{"type":"array","description":"Excluded connection Ids"},"filter":{"type":"string","description":"Following OData filter syntax to filter out the subscribers receiving the messages."},"messageTtlSeconds":{"type":"integer","description":"The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires.…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/list-connections-in-group":{"get":{"operationId":"cloud_azure_webpubsub_web_pub_sub_list_connections_in_group","summary":"List connections in a group.","description":"GET /api/hubs/{hub}/groups/{group}/connections","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"HTTP or HTTPS endpoint for the Web PubSub service instance","schema":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."}},{"name":"hub","in":"query","required":true,"description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.","schema":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."}},{"name":"group","in":"query","required":true,"description":"Target group name, whose length should be greater than 0 and less than 1025.","schema":{"type":"string","description":"Target group name, whose length should be greater than 0 and less than 1025."}},{"name":"maxpagesize","in":"query","required":false,"description":"The maximum number of connections to include in a single response. It should be between 1 and 200.","schema":{"type":"integer","description":"The maximum number of connections to include in a single response. It should be between 1 and 200."}},{"name":"top","in":"query","required":false,"description":"The maximum number of connections to return. If the value is not set, then all the connections in a group are returned.","schema":{"type":"integer","description":"The maximum number of connections to return. If the value is not set, then all the connections in a group are returned."}},{"name":"continuationToken","in":"query","required":false,"description":"A token that allows the client to retrieve the next page of results. This parameter is provided by the service in the response of a…","schema":{"type":"string","description":"A token that allows the client to retrieve the next page of results. This parameter is provided by the service in the response of a…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/add-connection-to-group":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_add_connection_to_group","summary":"Add a connection to the target group.","description":"PUT /api/hubs/{hub}/groups/{group}/connections/{connectionId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","group","connectionId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"group":{"type":"string","description":"Target group name, which length should be greater than 0 and less than 1025."},"connectionId":{"type":"string","description":"Target connection Id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/remove-connection-from-group":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_remove_connection_from_group","summary":"Remove a connection from the target group.","description":"DELETE /api/hubs/{hub}/groups/{group}/connections/{connectionId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","group","connectionId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"group":{"type":"string","description":"Target group name, which length should be greater than 0 and less than 1025."},"connectionId":{"type":"string","description":"Target connection Id."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/grant-permission":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_grant_permission","summary":"Grant permission to the connection.","description":"PUT /api/hubs/{hub}/permissions/{permission}/connections/{connectionId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","permission","connectionId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"permission":{"type":"string","enum":["sendToGroup","joinLeaveGroup"],"description":"The permission: current supported actions are joinLeaveGroup and sendToGroup."},"connectionId":{"type":"string","description":"Target connection Id."},"targetName":{"type":"string","description":"The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/revoke-permission":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_revoke_permission","summary":"Revoke permission for the connection.","description":"DELETE /api/hubs/{hub}/permissions/{permission}/connections/{connectionId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","permission","connectionId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"permission":{"type":"string","enum":["sendToGroup","joinLeaveGroup"],"description":"The permission: current supported actions are joinLeaveGroup and sendToGroup."},"connectionId":{"type":"string","description":"Target connection Id."},"targetName":{"type":"string","description":"The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/close-user-connections":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_close_user_connections","summary":"Close connections for the specific user.","description":"POST /api/hubs/{hub}/users/{userId}/:closeConnections","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","userId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"userId":{"type":"string","description":"The user Id."},"excluded":{"type":"array","description":"Exclude these connectionIds when closing the connections for the user."},"reason":{"type":"string","description":"The reason closing the client connection."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/send-to-user":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_send_to_user","summary":"Send content inside request body to the specific user.","description":"POST /api/hubs/{hub}/users/{userId}/:send","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","userId","body"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"userId":{"type":"string","description":"The user Id."},"filter":{"type":"string","description":"Following OData filter syntax to filter out the subscribers receiving the messages."},"messageTtlSeconds":{"type":"integer","description":"The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires.…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/remove-user-from-all-groups":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_remove_user_from_all_groups","summary":"Remove a user from all groups.","description":"DELETE /api/hubs/{hub}/users/{userId}/groups","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","userId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"userId":{"type":"string","description":"Target user Id."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/add-user-to-group":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_add_user_to_group","summary":"Add a user to the target group.","description":"PUT /api/hubs/{hub}/users/{userId}/groups/{group}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","group","userId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"group":{"type":"string","description":"Target group name, which length should be greater than 0 and less than 1025."},"userId":{"type":"string","description":"Target user Id."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-webpubsub-web-pub-sub/remove-user-from-group":{"post":{"operationId":"cloud_azure_webpubsub_web_pub_sub_remove_user_from_group","summary":"Remove a user from the target group.","description":"DELETE /api/hubs/{hub}/users/{userId}/groups/{group}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","hub","group","userId"],"properties":{"endpoint":{"type":"string","description":"HTTP or HTTPS endpoint for the Web PubSub service instance"},"api-version":{"type":"string","default":"2024-12-01","description":"The API version to use for this operation."},"hub":{"type":"string","description":"Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore."},"group":{"type":"string","description":"Target group name, which length should be greater than 0 and less than 1025."},"userId":{"type":"string","description":"Target user Id."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}