1. Websocket, Socket.IO & more
Pet Store
  • Store API
    • Start your Apidog journey
    • Pet
      • List Pets
      • Create Pet
      • Get Pet
      • Update Pet
      • Delete Pet
      • Upload Pet Image
    • Chat
      • Pet Care AI Consultation
    • Store
      • Get Store Inventory
      • List all inventories
      • Create Order
      • Get Order
      • Cancel Order
      • Callback Example
    • Payments
      • Pay Order
    • User
      • Create User
      • Update User
      • Get User
      • Delete User Account
      • Create Authentication Token
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Websocket, Socket.IO & more
      • gRPC API
      • Other protocol API example
        DEMO
      • WebSocket example
      • Socket.IO example
      • Webhook example
      • GraphQL example
        POST
      • SSE example
        POST
      • SOAP example
        POST
    • Schemas
      • Pet
      • User
      • PetCollection
      • OrderPayment
      • Bank Card
      • Order
      • Bank Account
      • ApiResponse
      • Error
  • Admin API
    • Dashboard
      • Get Dashboard Stats
    • User Management
      • List Users
      • Get User Details
      • Update User Status
    • Order Management
      • List All Orders
      • Force Cancel Order
    • Audit Logs
      • Get Audit Log Details
    • Schemas
      • AuditLog
  1. Websocket, Socket.IO & more

Other protocol API example

DEMO
/demo/endpoint
You can use the "Other Protocol API" feature to add the API specification for any custom protocol in Markdown format.

Request Example#

{
    "id": 27,
    "username": "Kendra Barton DVM",
    "firstName": "Candida",
    "lastName": "Kohler",
    "email": "Keira91@gmail.com",
    "password": "CiLBrdNc4pEm1yy",
    "phone": "(554) 698-0182",
    "userStatus": 87955405
}

Response Example#

{
    "code": 200,
    "type": "normal",
    "message": "success"
}
Modified at 2026-05-13 03:15:52
Previous
gRPC API
Next
WebSocket example
Built with