Adds the address's hash to the dev.knotless.emails record of the account logged in to this appview's web pages, as `knotless email add` does, so commits authored with it show as the account's on repositories it owns or pushes to. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.
Input
application/jsonOutput
application/jsonErrors
InvalidRequest
No email address. AuthenticationRequired
No account is logged in to the pages, or its session has ended. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Adds the address's hash to the dev.knotless.emails record of the account logged in to this appview's web pages, as `knotless email add` does, so commits authored with it show as the account's on repositories it owns or pushes to. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.",
"errors": [
{
"description": "No email address.",
"name": "InvalidRequest"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"ref": "#email",
"type": "ref"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#emailState",
"type": "ref"
}
},
"type": "procedure"
}