Skip to content

[Enhancement]: The rest endpoint is in the background odata. But it doesn't present an OData MetadataEndpoint #1566

@paule96

Description

@paule96

What happened?

The /rest/... of the genereated API contains at the end technically an ODATA endpoint. But the problem is for many API tools is, that the generated part doesn't make the $metadata endpoint accessible. This endpoint is for example used in PowerBi to be connected to an OData API and get the schema and all valid endpoints from it.

So my expactation would be that I could call:

rest/$metadata and get the XML schema of the OData feed back.

Currently I get:

{"error":{"code":"EntityNotFound","message":"Invalid Entity path: $metadata.","status":404}}

Version

Azure Static Web Apps CLI (1.1.3)

What database are you using?

Azure SQL

What hosting model are you using?

Static Web Apps (SWA)

Which API approach are you accessing DAB through?

REST

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageissues to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions