The adhoc check scheduling api currently returns an error.
Error: error resolving the resource type described in the request body: api not found is indicating that the standard apid request Resource unmarshaling logic used by the /execute handler expected to find AdhocRequest registered as a Resource (with sensu-api-tools), but it was not. This is because AdhocRequest doesn't implement the core/v2.Resource interface (yet it implements core/v3.Resource).
Either register AdhocRequest as a resource, or use one-off logic to unmarshal the request body for execute.
The adhoc check scheduling api currently returns an error.
Error: error resolving the resource type described in the request body: api not found
is indicating that the standard apid request Resource unmarshaling logic used by the /execute handler expected to find AdhocRequest registered as a Resource (with sensu-api-tools), but it was not. This is because AdhocRequest doesn't implement the core/v2.Resource interface (yet it implements core/v3.Resource).Either register AdhocRequest as a resource, or use one-off logic to unmarshal the request body for execute.