Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

List files attached to an object

GET/objects/{id}/files
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:read
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Responses
200
Array of ObjectFileResponseDto
categoryobject | nullrequired
Show properties
idstringrequired
namestringrequired
createdAtstringrequired
descriptionobject | nullrequired
fileobjectrequired
idstringrequired
ObjectFile join row id (use for DELETE)
uploadedBystringrequired
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X GET "https://leadtime.app/api/public/objects/string/files" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
[
  {
    "category": {
      "id": "string",
      "name": "string"
    },
    "createdAt": "string",
    "description": {},
    "file": {},
    "id": "string",
    "uploadedBy": "string"
  }
]