Skip to main content
GET
/
api
/
file
/
{ownerType}
/
{ownerId}
Lists all files attached to a specific owner, filtered by the current user's view permissions.
curl --request GET \
  --url https://{tenant}.ekso.app/api/file/{ownerType}/{ownerId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "entity": "<string>",
    "owner": 123,
    "ownerId": "<string>",
    "uid": "<string>",
    "filename": "<string>",
    "mimeType": "<string>",
    "length": 123,
    "tenantId": "<string>",
    "id": "<string>",
    "created": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "updated": "2023-11-07T05:31:56Z",
    "updatedBy": "<string>",
    "deleted": true
  }
]

Authorizations

Authorization
string
header
required

JWT Bearer token. Obtain via the OAuth 2.0 token endpoint.

Path Parameters

ownerType
integer
required

The type of entity that owns the files (e.g. Item, Annotation).

ownerId
string
required

The unique identifier of the owning entity.

Response

List of files for the owner.

entity
null | string
owner
integer
ownerId
string
uid
string
filename
string
mimeType
string
length
tenantId
string
id
string
created
string<date-time>
createdBy
string
updated
string<date-time>
updatedBy
string
deleted
boolean