Comment to 'UNA 13.1'
Comment to UNA 13.1
  • Where we can find new api endpoints?

    • For the new API in UNA 13.1 we'll add more documentation later, but for short, all endpoints looks like this:

      https://example.com/api.php?r={service_name}&params[]={service_params}
      

      Where:

      • {service_name} - is any allowed service name in the form - module/function/optinal_class, for example: system/get_page/TemplServicePages
      • {service_params} - is optional params, for example, for the above get_page method, it could be about string, so full API endpoint to get About page looks like this: https://example.com/api.php?r=system/get_page/TemplServicePages&params[]=about

      Depending on the settings, you need to pass Authorization header, for example: Authorization: Bearer {secure_string}

      Where {secure_string} is a key generated in Studio > API > Keys

      Great list of most service calls can be found in UNA autogenerated documentation in Service Calls section