1. Splunk Enterprise Documentation
REST API Reference Manual
"REST API access" section.
This section details the structure of Splunk REST API URIs. It explicitly states: "The /servicesNS endpoint prefix lets you declare a namespace in the URI. The namespace is a user and app context." It provides the syntax https://:/servicesNS///...
directly supporting that the user and app context are specified in the URI.
2. Splunk Enterprise Documentation
REST API Tutorials
"Start using the Splunk REST API" section
"Namespaces" subsection.
This tutorial explains: "In the Splunk platform
a namespace is defined by a user and an app. To access a resource using a namespace
use the /servicesNS endpoint... The general syntax for the /servicesNS endpoint is: https://:/servicesNS///". This confirms the URI structure is the method for specifying the context.