/v2/user/list/files/{fileId}/downloadKundendatei herunterladen
Lädt die Datei mit fileId als direktem Dateidownload; die öffentliche files-ID muss zum ausgewählten Konto gehören. Gelöschte Dateien und Custom-Exportdateien sind ausgeschlossen. Ein nicht vorhandener Eintrag oder fehlende Dateibytes führt zu file_not_found.
Operation-ID get_v2_user_list_files_fileId_download
Vertrag & Verhalten
- Dokumentationsstand
- reviewed
- Ändert Zustand
- Nein
- Als readOnly markiert
- Ja
- Für Automation markiert
- Ja
read
Authentifizierung
Eine der folgenden Alternativen muss erfüllt sein (ODER). Innerhalb jeder Alternative werden alle angegebenen Schemas gemeinsam benötigt (UND).
Alternative 1
bearerAuthhttp · bearerExisting edoobox v2 access token. Never substitute API key/secret headers.
Format: JWT
Security-Schema als JSON
{
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT",
"description": "Existing edoobox v2 access token. Never substitute API key/secret headers."
}accountContextapiKeySelected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.
header: edid
Security-Schema als JSON
{
"type": "apiKey",
"in": "header",
"name": "edid",
"description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
}Alternative 2
sessionCookieapiKeyExisting browser login session, with the same permission checks as Bearer authentication.
cookie: _edlogin
Security-Schema als JSON
{
"type": "apiKey",
"in": "cookie",
"name": "_edlogin",
"description": "Existing browser login session, with the same permission checks as Bearer authentication."
}accountContextapiKeySelected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.
header: edid
Security-Schema als JSON
{
"type": "apiKey",
"in": "header",
"name": "edid",
"description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
}Parameter
Pfadparameter
fileIderforderlichOpaque route segment accepted by this action; see source.
Öffentliche v2-ID aus dem ausgewählten Konto.
- pattern
"^files_[a-f0-9]{12}_-?[0-9]+$"
Schema-Beispiel
"files_012345abcdef_123456"Vollständiges Schema als JSON
{
"type": "string",
"pattern": "^files_[a-f0-9]{12}_-?[0-9]+$",
"examples": [
"files_012345abcdef_123456"
],
"description": "Öffentliche v2-ID aus dem ausgewählten Konto."
}Query-Parameter
filteroptionalJSON-encoded filter value consumed by RequestAPIData / API_DATA; specific actions may ignore it.
application/json
Schema-Beispiel
[
{
"property": "id",
"expression": "=",
"value": "user_012345abcdef_123456"
}
]Array-Elemente
property string expression string value Typ nicht eingeschränkt Zusätzliche, hier nicht aufgeführte Felder sind erlaubt.
Vollständiges Schema als JSON
{
"type": "array",
"items": {
"type": "object",
"properties": {
"property": {
"type": "string"
},
"expression": {
"type": "string"
},
"value": {}
},
"additionalProperties": true
},
"examples": [
[
{
"property": "id",
"expression": "=",
"value": "user_012345abcdef_123456"
}
]
]
}Beispiel
[
{
"property": "id",
"expression": "=",
"value": "user_012345abcdef_123456"
}
]Header
languageoptionalAccount language code, where the resource supports setLanguage().
Schema-Beispiel
"de"Vollständiges Schema als JSON
{
"type": "string",
"examples": [
"de"
]
}Request Body
Kein Request Body in der Spezifikation beschrieben.
Antworten
1HTTP-Status und Antwortinhalt gemeinsam auswerten. In dieser API können auch Antworten mit HTTP 200 einen Fehler enthalten.
200application/octet-stream
Dateidownload mit Dateinamen in Content-Disposition; der Dateityp hängt von der hochgeladenen Datei ab. Fehlende oder ausgeschlossene Dateien liefern eine JSON-Fehlerantwort.
application/octet-stream
- format
"binary"
Vollständiges Schema als JSON
{
"type": "string",
"format": "binary"
}Quelle & Metadaten
application/models/v2/User.php:1getUser()Diese Angaben stammen unverändert aus der gelieferten OpenAPI-Datei. Zusätzliche Freigaben, Vorbedingungen, sensible Felder und Hinweise stehen in den Erweiterungen.
x-edoobox-mutates-state
falsex-edoobox-mutationReview
{
"source": {
"file": "application/models/v2/Files.php",
"line": 245
},
"reason": "Existing resource file query/readfile; the legacy File URL audit-log route is separate."
}x-edoobox-runtimeMutationGuard
falsex-edoobox-get-effect
"read"x-edoobox-documentationReview
{
"file": "docs/openapi/operation-contracts/02-booking-users.json",
"notes": []
}x-edoobox-source
{
"file": "application/models/v2/User.php",
"method": "getUser",
"line": 1
}x-edoobox-documentationStatus
"reviewed"x-edoobox-readOnly
truex-edoobox-safeForAutomation
truex-edoobox-permission
{
"resource": "user",
"short": "user",
"checkedByDispatcher": true,
"levels": [
1,
3,
4
],
"description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
}Vollständige Operation als JSON
{
"operationId": "get_v2_user_list_files_fileId_download",
"summary": "Kundendatei herunterladen",
"description": "Lädt die Datei mit fileId als direktem Dateidownload; die öffentliche files-ID muss zum ausgewählten Konto gehören. Gelöschte Dateien und Custom-Exportdateien sind ausgeschlossen. Ein nicht vorhandener Eintrag oder fehlende Dateibytes führt zu file_not_found.",
"tags": [
"user"
],
"security": [
{
"bearerAuth": [],
"accountContext": []
},
{
"sessionCookie": [],
"accountContext": []
}
],
"parameters": [
{
"name": "fileId",
"in": "path",
"required": true,
"description": "Opaque route segment accepted by this action; see source.",
"schema": {
"type": "string",
"pattern": "^files_[a-f0-9]{12}_-?[0-9]+$",
"examples": [
"files_012345abcdef_123456"
],
"description": "Öffentliche v2-ID aus dem ausgewählten Konto."
}
},
{
"name": "filter",
"in": "query",
"required": false,
"description": "JSON-encoded filter value consumed by RequestAPIData / API_DATA; specific actions may ignore it.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"property": {
"type": "string"
},
"expression": {
"type": "string"
},
"value": {}
},
"additionalProperties": true
},
"examples": [
[
{
"property": "id",
"expression": "=",
"value": "user_012345abcdef_123456"
}
]
]
},
"example": [
{
"property": "id",
"expression": "=",
"value": "user_012345abcdef_123456"
}
]
}
}
},
{
"name": "language",
"in": "header",
"required": false,
"description": "Account language code, where the resource supports setLanguage().",
"schema": {
"type": "string",
"examples": [
"de"
]
}
}
],
"responses": {
"200": {
"description": "Dateidownload mit Dateinamen in Content-Disposition; der Dateityp hängt von der hochgeladenen Datei ab. Fehlende oder ausgeschlossene Dateien liefern eine JSON-Fehlerantwort.",
"content": {
"application/octet-stream": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
},
"x-edoobox-mutates-state": false,
"x-edoobox-mutationReview": {
"source": {
"file": "application/models/v2/Files.php",
"line": 245
},
"reason": "Existing resource file query/readfile; the legacy File URL audit-log route is separate."
},
"x-edoobox-runtimeMutationGuard": false,
"x-edoobox-get-effect": "read",
"x-edoobox-documentationReview": {
"file": "docs/openapi/operation-contracts/02-booking-users.json",
"notes": []
},
"x-edoobox-source": {
"file": "application/models/v2/User.php",
"method": "getUser",
"line": 1
},
"x-edoobox-documentationStatus": "reviewed",
"x-edoobox-readOnly": true,
"x-edoobox-safeForAutomation": true,
"x-edoobox-permission": {
"resource": "user",
"short": "user",
"checkedByDispatcher": true,
"levels": [
1,
3,
4
],
"description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
}
}