[GeoNetwork-devel] Setting privileges and categories via XML-API

Hi,

I am writing an external viewer for GeoNetwork, utilizing the CSW API
to search and insert metadata.
I wonder if there is a documentation available about the native
GeoNetwork API because after inserting new metadata entries, I like to
assign those to categories and set the privileges so that they are
available to everyone.
Would the native GeoNetwork API allow me to do this? Where can I find
some documentation about the API?

Cheers,
Rainer