API operation · export group
GET
/profile/files/{id}
First published 14 Oct 2026
0.2.0Unchanged since publicationGet a registered file's details and owning package
Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsreadallAnswers200 OK
The response contains the registration in file and indicates whether the file is present on disk. For a file that is present, it includes the current mode, owner, group, size, time of the last change, and the owning package if one is found. If the file is absent, package is null. The API returns 404 if id does not identify a registration.
Parameters
idpath ·integerRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X GET "$API/profile/files/1" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"file": {
"changed_at": "text",
"created_at": "2026-09-09T10:15:00Z",
"group": "text",
"id": 1,
"mode": "text",
"note": "added by hand",
"owner": "text",
"package": {
"name": "alice",
"version": "0.0.1"
},
"path": "public_html/index.php",
"present": true,
"size": 1
}
}Errors
2 errors, each a status and a sentence401Authentication required404Not registeredNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/api/get-profile-files-id/