Skip to content

_nmd_entry_page_url value is possibly wrong in Optimade API #134

@mehmetgiritli

Description

@mehmetgiritli

Hi,

In Optimade APi responses, there is a field called _nmd_entry_page_url, we use that for viewing the data using your frontend. I believe it is currently broken. Here is an example:

"_nmd_entry_page_url": "https://nomad-lab.eu/prod/v1/gui/entry/id/Z1wYoBkSTfKPfwNNj8XkqA/1tFodtaLDMJPuhl0VsMjmBpWt7Le"

The link opens a blank page. However, slightly tweaking it works (removed "/Z1wYoBkSTfKPfwNNj8XkqA/" bit):

BROKEN: https://nomad-lab.eu/prod/v1/gui/entry/id/Z1wYoBkSTfKPfwNNj8XkqA/1tFodtaLDMJPuhl0VsMjmBpWt7Le
WORKS: https://nomad-lab.eu/prod/v1/gui/entry/id/1tFodtaLDMJPuhl0VsMjmBpWt7Le

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions