Pdf files as Assets are showing partial link only

I have just added a pdf file as an asset and when displaying it on the web page it displays only
the data prior to “/” the remining text after is missing. Is there a solution to this issue?

a0d08041-38c4-472a-9ba1-2e35ea3f687b/new-year-directv.pdf?sq=a23fe2be-3c46-f1db-0a32-a22202e8a4aa

Sorry, but I do not understand what you mean. I need more information.

I have a rest api and have uploaded a pdf doc to cms while I am able to read all other json field on my web page I only get the partial link to the uploaded pdf document… does that make sense?

Where do you get the partial link from?

in the console on the browser

.

also included is the asset link

Now I get it. You also want to get the slug. The slug is only needed for nice looking URLs.

You can try this approach: https://docs.squidex.io/02-documentation/developer-guides/api-overview/assets-api#use-headers-in-the-rest-endpoint

I am not sure if the screenshot is correct. Perhaps you will retrieve the assets including the file names (slugs), if this is not the case, please create a feature request.

You can also download the asset metadata programmatically or use GraphQL as a workaround.