Inspect Redis socket metadata

GET /api/v2/shared-hosting/{accountId}/diagnostics/redis

Inspect the fixed account Redis socket file and PHP Selector configuration through cPanel Fileman.

No PING, command execution or Redis connection is performed.

Socket presence is not service availability; connectionTested is false and ping is null.

Use cPanel > HostUp Features > Redis Socket to check actual service state.

This read cannot start/stop Redis or read cache values.

Web Hosting Hosting Accounts

Authentication

Required API scopes: read:hostingconsole:services

Authenticate with an API key in the Authorization: Bearer <token> header.

Context

Path Parameters

accountId string required Example: acct_01hxa3b4c5d6e7f8g9h0j1k2m3

Public shared-hosting account ID. Get it from GET /api/v2/shared-hosting data[].id. Do not invent this value; use the exact ID returned by the referenced API response.

Query Parameters

domain string

Exact hosted domain. Defaults to the account main domain.

Headers

Authorization Bearer <token>
Accept application/json

Responses

200 Bounded read-only diagnostic snapshot.
domain string required
socketPath string required
transport string · enum required
unix
tcpPort null required
status string · enum required
socket_present_unverified
socket_missing
access_denied
unknown
ping null required

Not tested.

phpSelectorVersion string · nullable required

phpSelectorRedisExtensionEnabled boolean · nullable required

phpEvidence string required
connectionTested boolean · enum required
400 Invalid query or path.

No response body

401 Authentication required.

No response body

403 Scope, domain or protected-path refusal.

No response body

404 Account or website path not found.

No response body

422 File exceeds source read limit.

No response body

429 Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
500 Internal error. Retry later or contact support if the issue persists.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
502 Diagnostic service unavailable or failed. State remains unknown.

No response body

GET https://cloud.hostup.se/api/v2/shared-hosting/{accountId}/diagnostics/redis
For AI assistants
View as Markdown
cURL
curl -X GET "https://cloud.hostup.se/api/v2/shared-hosting/acct_01hxa3b4c5d6e7f8g9h0j1k2m3/diagnostics/redis" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
Response
{
  "domain": "shop.example.com",
  "socketPath": "/home/abcde/.redis/redis.sock",
  "transport": "unix",
  "tcpPort": null,
  "status": "socket_missing",
  "ping": null,
  "phpSelectorVersion": "7.4",
  "phpSelectorRedisExtensionEnabled": false,
  "phpEvidence": "Account PHP Selector configuration only; not a web-runtime execution test.",
  "connectionTested": false
}