Sunbird registry allows discovery apis to access public attributes of the facts stored in the registry. As registry api user, one case search based on fields (attributes) that are marked as public.
Please refer to the api documents (https://docs.sunbirdrc.dev/technical-specification-draft)