Get model "schema" in v2

In V1 you could get the collection overview “schema” via
example.com/db/api/collections/collection/addresses

How can i achieve this in v2?

Thanks in advance!

Hi Sephen, you can do a custom addon.
Create api endpoint like ‘/schema-provider/schema/{model}’ to get schema of collection.

class SchemaProvider extends \Lime\Helper {
    public function getSchemas(){
        return $this->module('content')->models(false);
    }

    public function getSchema($model){
        return $this->module('content')->model($model);
    }
}

tell me if you need more.