atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
10 stars 4 forks source link

477 HTTP API for inspect #505

Closed adp-atea closed 5 months ago

adp-atea commented 10 months ago

…dded inspect api

adp-atea commented 6 months ago

There are multiple issues with the notes.

Main reason it did not work, was that in order to create response, spinta checks for backend. Since in the notes spinta was not ran with any config file, it did not have backend.

Another issue is that, currently spinta inspect, works by converting given resource to the manifest of it's type and then merging all of the manifests together. Tabular manifest types, unlike others, requires manifest to be given directly, so inspect with resource of type csv currently will not work with raw data, since it expects the given data to be manifest structure.