Like or pass on a card. Stored privately in the AppView. If the subject has already liked the caller, a match and a conversation are created atomically. The response never reveals a one-sided like from the other party.
Input
application/jsonaction
string
Required
No description available.
subject
stringdid
Required
A decentralized identifier (DID).
Output
application/jsonconvoId
string
Optional
No description available.
matched
boolean
Required
No description available.
Errors
RateLimited
Daily like budget exhausted. Blocked
A block exists in either direction. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Like or pass on a card. Stored privately in the AppView. If the subject has already liked the caller, a match and a conversation are created atomically. The response never reveals a one-sided like from the other party.",
"errors": [
{
"description": "Daily like budget exhausted.",
"name": "RateLimited"
},
{
"description": "A block exists in either direction.",
"name": "Blocked"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"action": {
"enum": [
"like",
"pass"
],
"type": "string"
},
"subject": {
"format": "did",
"type": "string"
}
},
"required": [
"subject",
"action"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"convoId": {
"type": "string"
},
"matched": {
"type": "boolean"
}
},
"required": [
"matched"
],
"type": "object"
}
},
"type": "procedure"
}