Skip to main content

GET /api/v1/internal/public-apps/:appUuid

Returns a public apps resource.

This endpoint documentation is generated from the current Fastify route implementation and should be treated as the implementation-level contract for this version of the API.

Source route file: src/api/routes/internal/public/publicApps/get.ts

Request Method

GET

Base URL

https://api.userdocks.local:5000

Endpoint

/api/v1/internal/public-apps/:appUuid

Path Variables

VariableTypeRequiredDescription
appUuidstringtruePath variable from route pattern.

Query Parameters

VariableTypeRequiredDescription
languagestringtrueQuery parameter parsed by route handler.

HTTP Headers

No HTTP headers.

Successful Response

Success status code(s): 200.

{
"kind": "publicApps",
"totalItems": 1,
"itemsLength": 1,
"items": [
{
"uuid": "9cc9e8a1-4444-4a2d-9f1a-444444444444",
"name": "Checkout App",
"isDisabled": false,
"isProduction": false,
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"translations": [
{
"uuid": "tr_11111111-1111-1111-1111-111111111111",
"text": "Welcome to Checkout App",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"language": {
"uuid": "lang_11111111-1111-1111-1111-111111111111",
"short": "en",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"type": {
"uuid": "trtype_11111111-1111-1111-1111-111111111111",
"name": "title",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}
],
"urls": [
{
"uuid": "url_11111111-1111-1111-1111-111111111111",
"url": "https://example.com/privacy",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"type": {
"uuid": "urltype_11111111-1111-1111-1111-111111111111",
"name": "dataPrivacyPolicy",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}
],
"registerData": [
{
"uuid": "reg_11111111-1111-1111-1111-111111111111",
"required": true,
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"type": {
"uuid": "regtype_11111111-1111-1111-1111-111111111111",
"name": "email",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}
]
}
]
}

Error Responses

HTTP StatusExample Error
400{"errors":[{"validation":"error","code":"[E4000]","message":"Bad Request / validation error"}]}
500{"errors":[{"validation":"error","code":"[E0000]","message":"Internal Server Error"}]}

Example

const query = new URLSearchParams({
language: 'en',
});
const url = `https://api.userdocks.local:5000/api/v1/internal/public-apps/appUuid-value?${query.toString()}`;

const response = await fetch(url, {
method: 'GET',
headers: {},
});
const data = await response.json();
console.log(response.status, data);