Resources public API

Use org.integratedmodelling.klab.api.services.ResourcesService from the caller's service catalog. Most asset operations take a UserScope. It identifies the projects, resources and providers visible to that user.

Operation Input Result and use
resolve URN, knowledge class, user scope A ResourceSet locating the asset and dependencies, with service locations and notifications. Use it when the client needs enough knowledge to work with a declaration.
retrieve URN, requested Java asset class, user scope The concrete definition of that asset, for example a project or resource. A missing or invisible asset can yield no object.
list Java asset class and user scope Visible assets of that class. For catalog discovery, request the specific class you need.
info and query Asset identity or query parameters, knowledge class, projection class and scope A descriptor or matching projections. Select a projection supported by this provider.
submit Typed asset, submission mode and scope Change sets for affected workspaces. Check their notifications before announcing publication.

Use retrieveProjectManifest when you only need a project's manifest and listWorldviewHeaders when you only need worldview routing metadata. A full project transfer is unnecessary in both cases. Read the notifications on an empty ResourceSet before deciding that a search found nothing. Web API ยท Resources overview

Full ResourcesService interface