The snap_interfaces_requests_control
interface enables the prompting API and its access to prompting-related notice types. This is used internally by snapd to request and manage system resource access.
Interface documentation:
See Interface management and Supported interfaces for further details on how interfaces are used.
Developer details
Auto-connect: no
Endpoint access permissions
- /v2/system-info
- /v2/icons/{name}/icon
- /v2/notices
- /v2/notices/{id}
- /v2/snaps/{name}
- /v2/interfaces/requests/prompts
- /v2/interfaces/requests/prompts/{id}
- /v2/interfaces/requests/rules
- /v2/interfaces/requests/rules/{id}
Code examples
The test code can be found in the snapd repository:
snapd/interfaces/builtin/snap_interfaces_requests_control_test.go at master · canonical/snapd · GitHub
The source code for the interface is in the snapd repository:
snapd/interfaces/builtin/snap_interfaces_requests_control.go at master · canonical/snapd · GitHub