Daemons
internal
Email install command to current user
Changed onRequires a verified email: the endpoint mails on demand, so an unproven address would let anyone send Scanopy mail to an inbox they don't own.
Session-only, and IsUser says so at the extractor rather than in the body. "The current user" has no answer for an automation identity: a user API key carries user_id but no address, so this endpoint could never serve one. An API key that wants the command reads it directly from GET /api/v1/daemons/{id}/install-command.
post/api/v1/daemons/email-install-command
Request
- Base URLhttps://app.scanopy.net
- URLhttps://app.scanopy.net/api/v1/daemons/email-install-command
- AuthAPI key in cookie session_id
Request body
Response
Email sent
Example response
{
"meta": {
"api_version": 1,
"server_version": "0.19.4"
}
}Changes
- info
api tag
internaladded
- info
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- info
added the non-success response with the status
- breaking