> For the complete documentation index, see [llms.txt](https://docs.fylr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylr.io/for-developers/api/endpoints/eas.md).

# /api/v1/eas

Fetch the [file](https://docs.fylr.io/for-developers/system-data-types/file) renderings for several files at once. The file `ids` are passed as a JSON array in the query; the response is a map keyed by file `ID`. A file is shown if the user holds `RIGHT_ASSET_SHOW` or `RIGHT_ASSET_DOWNLOAD` on the original or on at least one of its versions. There is no blanket login gate: an unauthenticated request is served via the `deep_link` system user if deep linking is enabled. Use `GET /eas/{fileId}` to address a single file.

Differs from easydb 5: easydb 5 requires an authenticated user on `GET /eas` ("The user must be authenticated."); **fylr** has no login gate here — a missing token is served as the anonymous `deep_link` user, and a denied request is `403` (`InsufficientRights`), never `401`.

### `GET /eas/{fileId}` — Get information about a file. The file is shown if the caller holds `RIGHT_ASSET_SHOW` or `RIGHT_ASSET_DOWNLOAD` on the original or any version.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/eas/{fileId}" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `POST /eas/{fileId}` — Change information about a file. The caller must be allowed to produce the file (its uploader, or a user with write access to a linked object).

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/eas/{fileId}" method="post" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `GET /eas` — Get information about a file.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/eas" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}
