Getting information about the form of representation of class objects as a collection: getCollectionViewModel

The request is made along the path <server URL>/rest/<service name>/getCollectionViewModel/<class name>, where the class name is indicated with a namespace.

You can specify in the request: doc: additional parameters <meta_query_parameters>:

  • collection
  • node
  • namespace
  • version

Query example:

https://localhost:8888/rest/meta/getCollectionViewModel/class_text@develop-and-test

an object will be requested to represent objects of the class_text class in the form of a collection in the develop-and-test namespace.

The example in dnt: test/modules/rest/metadatasrv.spec.js

/checking metadata service/# access meta class collection view model: getCollectionViewModel