532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"id": "app.bsky.contact.startPhoneVerification",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"input": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"phone"
|
|
],
|
|
"properties": {
|
|
"phone": {
|
|
"type": "string",
|
|
"description": "The phone number to receive the code via SMS."
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"errors": [
|
|
{
|
|
"name": "RateLimitExceeded"
|
|
},
|
|
{
|
|
"name": "InvalidDid"
|
|
},
|
|
{
|
|
"name": "InvalidPhone"
|
|
},
|
|
{
|
|
"name": "InternalError"
|
|
}
|
|
],
|
|
"output": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"description": "Starts a phone verification flow. The phone passed will receive a code via SMS that should be passed to `app.bsky.contact.verifyPhone`. Requires authentication."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|