Auth Test Controller
Get My Channels (Web3 Auth Required)
Path: /api/channels/me
Method: GET
Example Http Request
GET /api/channels/me HTTP/1.1
X-Wallet-Address: 0x1234567890123456789012345678901234567890
X-WAL: 0x1234567890123456789012345678901234567890
X-SIG: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12
X-MES: VGVzdCBtZXNzYWdlIGZvciBhdXRoZW50aWNhdGlvbg==
Host: localhost:8080
Example Http Response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization, Accept-Language, connection, Cache-Control, Access-Control-Request-Method, Access-Control-Request-Headers, X-SIG, X-WAL, X-MES
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD
Access-Control-Expose-Headers: Access-Control-Allow-Origin, Access-Control-Allow-Credentials
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 942
[ {
"id" : "chn_123",
"createdAt" : "2025-12-04T14:43:36.193Z",
"updatedAt" : "2025-12-04T14:43:36.193Z",
"version" : 0,
"createdBy" : null,
"updatedBy" : null,
"tenantId" : "t_JK33XMBK100CGX0BJ5CSM81T4P",
"ownerAdminId" : null,
"key" : "general-discussion",
"name" : "General Discussion",
"description" : "Main discussion channel",
"status" : "ACTIVE",
"websiteUrl" : null,
"channelGuid" : null,
"assignOnConnectRoles" : [ ],
"metadata" : { }
}, {
"id" : "chn_456",
"createdAt" : "2025-12-04T14:43:36.198Z",
"updatedAt" : "2025-12-04T14:43:36.198Z",
"version" : 0,
"createdBy" : null,
"updatedBy" : null,
"tenantId" : "t_JK33XMBK100CGX0BJ5CSM81T4P",
"ownerAdminId" : null,
"key" : "development",
"name" : "Development",
"description" : "Development discussions",
"status" : "ACTIVE",
"websiteUrl" : null,
"channelGuid" : null,
"assignOnConnectRoles" : [ ],
"metadata" : { }
} ]
Example Curl Request
$ curl 'http://localhost:8080/api/channels/me' -i -X GET \
-H 'X-Wallet-Address: 0x1234567890123456789012345678901234567890' \
-H 'X-WAL: 0x1234567890123456789012345678901234567890' \
-H 'X-SIG: 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12' \
-H 'X-MES: VGVzdCBtZXNzYWdlIGZvciBhdXRoZW50aWNhdGlvbg=='
Auth Test Controller